Skip to content

Commit

Permalink
Timeout increased to 5h for docker run
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Mar 12, 2019
1 parent 964737e commit 4f08438
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export PACKER_IMAGES_OUTPUT_DIR=${PACKER_IMAGES_OUTPUT_DIR:-/var/tmp/packer-temp
export LOGDIR=${LOGDIR:-$PACKER_IMAGES_OUTPUT_DIR}
# Enable packer debug log if set to 1 (default 0)
export PACKER_LOG=${PACKER_LOG:-0}
# Max amount of time which packer can run (default 4 hours) - this prevent packer form running forever when something goes bad during provisioning/build process
export PACKER_RUN_TIMEOUT=${PACKER_RUN_TIMEOUT:-14400}
# Max amount of time which packer can run (default 5 hours) - this prevent packer form running forever when something goes bad during provisioning/build process
export PACKER_RUN_TIMEOUT=${PACKER_RUN_TIMEOUT:-18000}
# User docker / podman executable
if `which podman &> /dev/null`; then
DOCKER_COMMAND=${DOCKER_COMMAND:-podman}
Expand Down

0 comments on commit 4f08438

Please sign in to comment.