trying again

This commit is contained in:
asaki222 2025-02-06 12:46:27 -05:00
parent a2151f4b03
commit 75ae3d3114
No known key found for this signature in database
GPG key ID: C51913A3A09FDC03

View file

@ -70,11 +70,11 @@ jobs:
# this checks the creation cf service getgov-$DESTINATION_ENVIRONMENT-database
# the below command with check “status” line using cf service command mentioned above. if it says “create in progress” it will keep waiting otherwise the next steps fail
timeout 10 bash -c 'until cf service getgov-$DESTINATION_ENVIRONMENT-database | grep -q 'The service instance status is succeeded'
timeout 10 bash -c "until cf service getgov-$DESTINATION_ENVIRONMENT-database | grep -q 'The service instance status is succeeded'
do
echo "Database not up yet, waiting..."
echo 'Database not up yet, waiting...'
sleep 30
done'
done"
# rebind the service
cf bind-service getgov-$DESTINATION_ENVIRONMENT getgov-$DESTINATION_ENVIRONMENT-database