mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 12:38:36 +02:00
updates
This commit is contained in:
parent
1bba542a55
commit
a2151f4b03
1 changed files with 2 additions and 2 deletions
|
@ -70,11 +70,11 @@ jobs:
|
||||||
# this checks the creation cf service getgov-$DESTINATION_ENVIRONMENT-database
|
# 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
|
# 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 30 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
|
do
|
||||||
echo "Database not up yet, waiting..."
|
echo "Database not up yet, waiting..."
|
||||||
sleep 30
|
sleep 30
|
||||||
done
|
done'
|
||||||
|
|
||||||
# rebind the service
|
# rebind the service
|
||||||
cf bind-service getgov-$DESTINATION_ENVIRONMENT getgov-$DESTINATION_ENVIRONMENT-database
|
cf bind-service getgov-$DESTINATION_ENVIRONMENT getgov-$DESTINATION_ENVIRONMENT-database
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue