From 2133f2701fc7a8c0d6752e9118b7bc14173b334a Mon Sep 17 00:00:00 2001 From: Alex Gartner Date: Wed, 3 Jul 2024 10:50:24 -0700 Subject: [PATCH] fix log dump --- .github/workflows/reusable-e2e.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-e2e.yml b/.github/workflows/reusable-e2e.yml index a66f72d10a..da49a57370 100644 --- a/.github/workflows/reusable-e2e.yml +++ b/.github/workflows/reusable-e2e.yml @@ -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'