mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 01:36:00 +02:00
Test command
This commit is contained in:
parent
91cdd44d7f
commit
ff4773f8c7
1 changed files with 7 additions and 5 deletions
12
.github/workflows/daily-csv-upload.yaml
vendored
12
.github/workflows/daily-csv-upload.yaml
vendored
|
@ -43,10 +43,12 @@ jobs:
|
||||||
id: wait-for-deploy
|
id: wait-for-deploy
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
checkName: "deploy" # replace with the name of the deploy job
|
checkName: "deploy"
|
||||||
ref: ${{ github.event.pull_request.head.sha }} # the commit SHA of the head commit of the PR
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
timeoutSeconds: 600 # the maximum time to wait for the check to complete, in seconds
|
# the maximum time to wait for the check to complete, in seconds
|
||||||
intervalSeconds: 10 # the time to wait between checks, in seconds
|
timeoutSeconds: 600
|
||||||
|
# the time to wait between checks, in seconds
|
||||||
|
intervalSeconds: 10
|
||||||
|
|
||||||
upload_reports:
|
upload_reports:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -70,7 +72,7 @@ jobs:
|
||||||
CF_PASSWORD: CF_${{ needs.variables.outputs.environment }}_PASSWORD
|
CF_PASSWORD: CF_${{ needs.variables.outputs.environment }}_PASSWORD
|
||||||
|
|
||||||
- name: Generate current-federal.csv
|
- name: Generate current-federal.csv
|
||||||
run: cf run-task getgov-${{ env.ENVIRONMENT }} "/tmp/lifecycle/shell -c './manage.py generate_current_full_report.py'"
|
run: cf run-task getgov-${{ env.ENVIRONMENT }} --wait --command "python manage.py generate_current_full_report.py --name current_full"
|
||||||
env:
|
env:
|
||||||
ENVIRONMENT: ${{ needs.variables.outputs.environment }}
|
ENVIRONMENT: ${{ needs.variables.outputs.environment }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue