Skip to content

Commit feb90da

Browse files
vishnuchallaDocs
andauthored
Remove hard exits on workers-scale (#66491)
Signed-off-by: Docs <[email protected]> Co-authored-by: Docs <[email protected]>
1 parent 2e423c6 commit feb90da

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ci-operator/step-registry/openshift-qe/workers-scale/openshift-qe-workers-scale-commands.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ if [[ -f "${AWSCRED}" ]]; then
3737
export AWS_DEFAULT_REGION="${LEASED_RESOURCE}"
3838
else
3939
echo "Did not find compatible cloud provider cluster_profile"
40-
exit 1
4140
fi
4241

4342
if [[ -n "${ROSA_SSO_CLIENT_ID}" && -n "${ROSA_SSO_CLIENT_SECRET}" ]]; then
@@ -48,7 +47,6 @@ elif [[ -n "${ROSA_TOKEN}" ]]; then
4847
rosa login --env "${ROSA_LOGIN_ENV}" --token "${ROSA_TOKEN}"
4948
else
5049
echo "Cannot login! You need to securely supply SSO credentials or an ocm-token!"
51-
exit 1
5250
fi
5351

5452
EXTRA_FLAGS="${METRIC_PROFILES} --additional-worker-nodes ${ADDITIONAL_WORKER_NODES} --enable-autoscaler=${DEPLOY_AUTOSCALER}"

0 commit comments

Comments
 (0)