Skip to content

Commit

Permalink
fix log dump
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Jul 3, 2024
1 parent 07f534a commit 2133f27
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/reusable-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,14 @@ jobs:
- name: Full Log Dump On Failure
if: failure()
run: |
make stop-localnet
cd contrib/localnet && docker compose --profile all logs --timestamps > /tmp/logs.txt
- name: Upload Logs On Failure
if: failure()
uses: actions/upload-artifact@v2
with:
name: ${{ inputs.make-target }}-docker-logs
path: /tmp/logs.txt

- name: Notify Slack on Failure
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/develop'
Expand Down

0 comments on commit 2133f27

Please sign in to comment.