build: be more sensitive on machine that runs this
This commit is contained in:
parent
d98c21ef42
commit
eb4afcb969
|
@ -13,8 +13,10 @@ main() {
|
||||||
./build__pilot-xo9b.sh
|
./build__pilot-xo9b.sh
|
||||||
./build__pilot-setem.sh
|
./build__pilot-setem.sh
|
||||||
./build__pilot-lafede.sh
|
./build__pilot-lafede.sh
|
||||||
./build__pilot-pangea.sh
|
|
||||||
./build__pilot-test.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 "${@}"
|
main "${@}"
|
||||||
|
|
|
@ -42,6 +42,9 @@ common_end() {
|
||||||
|
|
||||||
if [ "${action:-}" = "deploy" ]; then
|
if [ "${action:-}" = "deploy" ]; then
|
||||||
docker compose -p ${pilot} -f ${dc_file} up ${detach:-}
|
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
|
fi
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue