mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 09:07:02 +02:00
Remove wait flag from CloudFoundry commands
This commit is contained in:
parent
2df5ecb193
commit
fb56bbef15
3 changed files with 4 additions and 4 deletions
2
.github/workflows/migrate.yaml
vendored
2
.github/workflows/migrate.yaml
vendored
|
@ -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"
|
||||||
|
|
4
.github/workflows/reset-db.yaml
vendored
4
.github/workflows/reset-db.yaml
vendored
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue