Skip to content

Commit

Permalink
Use ns in action
Browse files Browse the repository at this point in the history
  • Loading branch information
asmacdo committed Nov 8, 2024
1 parent a8f6ed3 commit 664853b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,19 +80,19 @@ jobs:
# TODO should timeout be longer?
- name: Wait for Disk Usage Report Job to complete
run: |
kubectl wait --for=condition=complete pod/disk-usage-report-job --timeout=300s
kubectl wait --for=condition=complete pod/disk-usage-report-job --timeout=30s -n jupyterhub
continue-on-error: true

- name: Retrieve generated report file
run: |
kubectl cp disk-usage-report-job:/output/du_report.json du_report.json
kubectl cp disk-usage-report-job:/output/du_report.json du_report.json -n jupyterhub
cat du_report.json
continue-on-error: true

# continue-on-error for previous steps so we delete the job
- name: Delete Disk Usage Report Job
run: |
kubectl delete pod disk-usage-report-job
kubectl delete pod disk-usage-report-job -n jupyterhub
# - name: Clone dandi-hub-usage-reports repository
# run: |
Expand Down

0 comments on commit 664853b

Please sign in to comment.