From eb4afcb9694824ec61101735bebdb43a50c137af Mon Sep 17 00:00:00 2001 From: pedro Date: Thu, 25 Jan 2024 15:57:20 +0100 Subject: [PATCH] build: be more sensitive on machine that runs this --- build__all.sh | 4 +++- build__common.sh | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build__all.sh b/build__all.sh index 4ba0bca..03c779e 100755 --- a/build__all.sh +++ b/build__all.sh @@ -13,8 +13,10 @@ main() { ./build__pilot-xo9b.sh ./build__pilot-setem.sh ./build__pilot-lafede.sh - ./build__pilot-pangea.sh ./build__pilot-test.sh + # pangea pilot the last because is the heavier + # TODO enable it, temp disabled to optimize server resources + #./build__pilot-pangea.sh } main "${@}" diff --git a/build__common.sh b/build__common.sh index f68b4b5..805e33a 100644 --- a/build__common.sh +++ b/build__common.sh @@ -42,6 +42,9 @@ common_end() { if [ "${action:-}" = "deploy" ]; then docker compose -p ${pilot} -f ${dc_file} up ${detach:-} + wait_seconds="${wait_seconds:-20}" + echo "Give ${wait_seconds} seconds to this new deployment to be setted up" + sleep "${wait_seconds}" fi }