chore(e2e): Get logs from the postgres container (#3792)

pull/3797/head
Michael Li 3 years ago committed by GitHub
parent 4a410ef4b7
commit a4023b846f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -254,6 +254,12 @@ jobs:
name: test-e2e-output
path: enos/test*.log
retention-days: 5
- name: Get logs from postgres container
# Retrieve logs from the postgres container on a failed
# run to help diagnose a deadlock issue
if: contains(matrix.filter, 'e2e_docker') && steps.run.outcome == 'failure'
run: |
docker logs database
- name: Upload e2e UI tests debug info
if: matrix.filter == 'e2e_ui builder:crt' && steps.run.outcome == 'failure'
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2

Loading…
Cancel
Save