Skip to content

Commit

Permalink
Adjust $ATTEMPTS count
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenchristian1telus committed Jan 2, 2024
1 parent f11bfbb commit 8ce9586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openshift/scripts/deploy-template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ WAIT_TIME=5
MIGRATE_STATUS_CMD="oc get job | findstr /i 'migrate-build-files 1/1'"
until $MIGRATE_STATUS_CMD || [ $ATTEMPTS -eq 120 ]; do
$MIGRATE_STATUS_CMD
ATTEMPTS=$(( ATTEMPTS++ ))
ATTEMPTS=$(( $ATTEMPTS + 1 ))
echo "Waited: $(($ATTEMPTS * $WAIT_TIME)) seconds..."
sleep $WAIT_TIME
done
Expand Down

0 comments on commit 8ce9586

Please sign in to comment.