diff --git a/scripts/deploy/02_wait_for_helmrealeases.sh b/scripts/deploy/02_wait_for_helmrealeases.sh index aac2d925de7f7962e0deddc4534d92e55b47951a..8226d21e3769009b314f3ec5963512dc8fb3f0c8 100755 --- a/scripts/deploy/02_wait_for_helmrealeases.sh +++ b/scripts/deploy/02_wait_for_helmrealeases.sh @@ -31,7 +31,8 @@ function array_contains() { ## $1: package name function wait_on() { echo "Waiting on package $1" - kubectl wait --for=condition=Ready --timeout 600s helmrelease -n bigbang $1; + kubectl get hr,kustomizations,gitrepositories -A + kubectl wait --for=condition=Ready --timeout 100s helmrelease -n bigbang $1; kubectl get all -A } @@ -43,6 +44,8 @@ do fi done +kubectl get hr,kustomizations,gitrepositories -A + for package in $DEPLOYED_HELMRELEASES; do if array_contains ORDERED_HELMRELEASES "$package";