Remove wait flag from CloudFoundry commands

This commit is contained in:
Seamus Johnston 2023-04-17 08:52:02 -05:00
parent 2df5ecb193
commit fb56bbef15
No known key found for this signature in database
GPG key ID: 2F21225985069105
3 changed files with 4 additions and 4 deletions

View file

@ -35,4 +35,4 @@ jobs:
cf_password: ${{ secrets[env.CF_PASSWORD] }} cf_password: ${{ secrets[env.CF_PASSWORD] }}
cf_org: cisa-getgov-prototyping cf_org: cisa-getgov-prototyping
cf_space: ${{ github.event.inputs.environment }} cf_space: ${{ github.event.inputs.environment }}
full_command: "cf run-task getgov-${{ github.event.inputs.environment }} --wait --command 'python manage.py migrate' --name migrate" full_command: "cf run-task getgov-${{ github.event.inputs.environment }} --command 'python manage.py migrate' --name migrate"

View file

@ -36,7 +36,7 @@ jobs:
cf_password: ${{ secrets[CF_PASSWORD] }} cf_password: ${{ secrets[CF_PASSWORD] }}
cf_org: cisa-getgov-prototyping cf_org: cisa-getgov-prototyping
cf_space: ${{ github.event.inputs.environment }} cf_space: ${{ github.event.inputs.environment }}
full_command: "cf run-task getgov-${{ github.event.inputs.environment }} --wait --command 'python manage.py flush --no-input' --name flush" full_command: "cf run-task getgov-${{ github.event.inputs.environment }} --command 'python manage.py flush --no-input' --name flush"
- name: Load fake data for ${{ github.event.inputs.environment }} - name: Load fake data for ${{ github.event.inputs.environment }}
uses: 18f/cg-deploy-action@main uses: 18f/cg-deploy-action@main
@ -45,4 +45,4 @@ jobs:
cf_password: ${{ secrets[env.CF_PASSWORD] }} cf_password: ${{ secrets[env.CF_PASSWORD] }}
cf_org: cisa-getgov-prototyping cf_org: cisa-getgov-prototyping
cf_space: ${{ github.event.inputs.environment }} cf_space: ${{ github.event.inputs.environment }}
full_command: "cf run-task getgov-${{ github.event.inputs.environment }} --wait --command 'python manage.py load' --name loaddata" full_command: "cf run-task getgov-${{ github.event.inputs.environment }} --command 'python manage.py load' --name loaddata"

View file

@ -24,7 +24,7 @@ cf run-task getgov-ENVIRONMENT --command 'python manage.py migrate' --name migra
Optionally, load data from fixtures as well Optionally, load data from fixtures as well
```shell ```shell
cf run-task getgov-ENVIRONMENT --wait --command 'python manage.py load' --name loaddata cf run-task getgov-ENVIRONMENT --command 'python manage.py load' --name loaddata
``` ```
For the `stable` environment, developers don't have credentials so we need to For the `stable` environment, developers don't have credentials so we need to