Add operator logs to nightly tests (#1150)

This commit is contained in:
Tessa Walsh 2023-09-07 12:15:47 -04:00 committed by GitHub
parent 68bc053ba0
commit 89e44e5cd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,10 @@ jobs:
- name: Run Tests
run: pytest -vv ./backend/test_nightly/*.py
- name: Print Backend Logs
- name: Print Backend Logs (API)
if: ${{ failure() }}
run: kubectl logs svc/browsertrix-cloud-backend
run: kubectl logs svc/browsertrix-cloud-backend -c api
- name: Print Backend Logs (Operator)
if: ${{ failure() }}
run: kubectl logs svc/browsertrix-cloud-backend -c op