Skip to content

Commit

Permalink
UPdated MIGRATE_STATUS_CMD
Browse files Browse the repository at this point in the history
  • Loading branch information
warrenchristian1telus committed Jan 2, 2024
1 parent 6a1a32e commit f462e41
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 @@ -66,7 +66,7 @@ oc process -f ./openshift/migrate-build-files-job.yml | oc create -f -
echo "Waiting for Moodle build migration job status to complete..."
ATTEMPTS=0
WAIT_TIME=5
MIGRATE_STATUS_CMD="oc get job/migrate-build-files | findstr /i 1/1"
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 + 1))
Expand Down

0 comments on commit f462e41

Please sign in to comment.