We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c565dc commit bcd0729Copy full SHA for bcd0729
1 file changed
scripts/ci/manage-devsandbox-dashboard.sh
@@ -177,10 +177,10 @@ if [[ ${DEPLOY_UI} == "true" ]]; then
177
HOST_NS=$(oc get projects -l app=host-operator --output=name -o jsonpath='{range .items[*]}{.metadata.name}{"\n"}{end}' | sort | tail -n 1)
178
179
# Wait for registration-service deployment to be created
180
- TIMEOUT=150 # 5 minutes in 2-second intervals
+ MAX_ITERATIONS=150 # 5 minutes in 2-second intervals
181
COUNTER=0
182
while ! oc get deployment/registration-service -n ${HOST_NS} &>/dev/null; do
183
- if [[ $COUNTER -ge $TIMEOUT ]]; then
+ if [[ $COUNTER -ge $MAX_ITERATIONS ]]; then
184
echo "ERROR: registration-service was not created after 5m"
185
echo "Available deployments in ${HOST_NS}:"
186
oc get deployments -n ${HOST_NS}
0 commit comments