mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-15 05:54:11 +02:00
changes
This commit is contained in:
parent
9e038d1f93
commit
1bba542a55
1 changed files with 9 additions and 9 deletions
|
@ -41,7 +41,7 @@ jobs:
|
||||||
CF_PASSWORD: CF_${{ github.event.inputs.environment }}_PASSWORD
|
CF_PASSWORD: CF_${{ github.event.inputs.environment }}_PASSWORD
|
||||||
DESTINATION_ENVIRONMENT: ${{ github.event.inputs.environment}}
|
DESTINATION_ENVIRONMENT: ${{ github.event.inputs.environment}}
|
||||||
steps:
|
steps:
|
||||||
- name: Dekete and Recreate Database
|
- name: Delete and Recreate Database
|
||||||
env:
|
env:
|
||||||
cf_username: ${{ secrets[env.CF_USERNAME] }}
|
cf_username: ${{ secrets[env.CF_USERNAME] }}
|
||||||
cf_password: ${{ secrets[env.CF_PASSWORD] }}
|
cf_password: ${{ secrets[env.CF_PASSWORD] }}
|
||||||
|
@ -70,7 +70,7 @@ 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
|
||||||
|
|
||||||
until cf service getgov-$DESTINATION_ENVIRONMENT-database | grep -q 'The service instance status is succeeded'
|
timeout 30 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue