diff --git a/build__all.sh b/build__all.sh index dd98497..71b5990 100755 --- a/build__all.sh +++ b/build__all.sh @@ -12,6 +12,7 @@ main() { export action="${action:-deploy}" export deployment="${deployment:-prod}" + export wait_seconds="${wait_seconds:-20}" ./build__pilot-xo9b.sh ./build__pilot-setem.sh ./build__pilot-lafede.sh diff --git a/build__common.sh b/build__common.sh index 9d5af7e..0dfc404 100644 --- a/build__common.sh +++ b/build__common.sh @@ -72,7 +72,7 @@ common_end() { if [ "${action:-}" = "deploy" ]; then docker compose -p ${target} -f ${dc_file} up ${detach:-} - wait_seconds="${wait_seconds:-20}" + wait_seconds="${wait_seconds:0}" echo "Give ${wait_seconds} seconds to this new deployment to be setted up" sleep "${wait_seconds}" fi