UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 00eaffbf authored by Ismail Ahmad's avatar Ismail Ahmad
Browse files

updates wait time to 500

parent 9962b160
No related branches found
No related tags found
2 merge requests!60BB-694 Test and Script Abstraction,!57BB-694 Tests and Script Abstraction
Pipeline #90846 passed
......@@ -31,17 +31,23 @@ function array_contains() {
## $1: package name
function wait_on() {
echo "Waiting on package $1"
kubectl wait --for=condition=Ready --timeout 5s helmrelease -n bigbang $1;
kubectl wait --for=condition=Ready --timeout 500s helmrelease -n bigbang $1;
}
for package in $ORDERED_HELMRELEASES;
do
array_contains DEPLOYED_HELMRELEASES "$package" && wait_on "$package" || echo "Expected package: $package, but not found in release. Update the array in this script if this package is no longer needed"
if array_contains DEPLOYED_HELMRELEASES "$package";
then wait_on "$package"
else echo "Expected package: $package, but not found in release. Update the array in this script if this package is no longer needed"
fi
done
for package in $DEPLOYED_HELMRELEASES;
do
array_contains ORDERED_HELMRELEASES "$package" && echo "" || wait_on "$package"
if array_contains ORDERED_HELMRELEASES "$package";
then echo ""
else wait_on "$package"
fi
done
echo "Waiting on Secrets Kustomization"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment