build: be more sensitive on machine that runs this

This commit is contained in:
pedro 2024-01-25 15:57:20 +01:00
parent d98c21ef42
commit eb4afcb969
2 changed files with 6 additions and 1 deletions

View File

@ -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 "${@}"

View File

@ -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
}