diff --git a/devel/setup-e2e-deps.sh b/devel/setup-e2e-deps.sh index 42d254da1..5508235f7 100755 --- a/devel/setup-e2e-deps.sh +++ b/devel/setup-e2e-deps.sh @@ -37,34 +37,21 @@ echo "Installing cert-manager into the cluster..." check_bazel bazel build --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64 //devel/addon/... -EXIT=0 - echo "Installing sample-webhook into the cluster..." -"${SCRIPT_ROOT}/addon/samplewebhook/install.sh" & +"${SCRIPT_ROOT}/addon/samplewebhook/install.sh" echo "Installing bind into the cluster..." -"${SCRIPT_ROOT}/addon/bind/install.sh" & +"${SCRIPT_ROOT}/addon/bind/install.sh" echo "Installing pebble into the cluster..." -"${SCRIPT_ROOT}/addon/pebble/install.sh" & +"${SCRIPT_ROOT}/addon/pebble/install.sh" echo "Installing ingress-nginx into the cluster..." -"${SCRIPT_ROOT}/addon/ingressnginx/install.sh" & +"${SCRIPT_ROOT}/addon/ingressnginx/install.sh" echo "Loading vault into the cluster..." -"${SCRIPT_ROOT}/addon/vault/install.sh" & +"${SCRIPT_ROOT}/addon/vault/install.sh" echo "Installing sample-external-issuer into the cluster..." -"${SCRIPT_ROOT}/addon/sample-external-issuer/install.sh" & +"${SCRIPT_ROOT}/addon/sample-external-issuer/install.sh" -# Wait for all background jobs to finish and exit with non-zero if any of them fail -# See https://stackoverflow.com/a/515170/919436 -for job in $(jobs -p); do - wait $job || let "EXIT+=1" -done - -if [[ "$EXIT" > 0 ]]; then - echo "ERROR: ${EXIT} setup jobs failed. Check logs above for details." -fi - -exit $EXIT