From 1c59a4dc6c645fd79fb02cfd8711a1a9c5242b75 Mon Sep 17 00:00:00 2001 From: still <lynn.still@polarisalpha.com> Date: Mon, 8 Feb 2021 16:40:17 -0700 Subject: [PATCH] testing --- scripts/deploy/02_wait_for_helmrealeases.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/deploy/02_wait_for_helmrealeases.sh b/scripts/deploy/02_wait_for_helmrealeases.sh index aac2d925de..8226d21e37 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"; -- GitLab