Skip to content
This repository has been archived by the owner on Jul 23, 2024. It is now read-only.

Commit

Permalink
CI: Add the pod list output when the action fails
Browse files Browse the repository at this point in the history
Signed-off-by: Eloy Coto <[email protected]>
  • Loading branch information
eloycoto committed Mar 24, 2023
1 parent 552f758 commit a852111
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,14 @@ jobs:
SERVER_IP="${SERVERIP}" SERVERPORT=80 ./workflow-examples/run_examples.sh complex
- name: Collect logs
if: always()
if: ${{ failure() }}
run: |
kubectl get pods --all-namespaces
kind export logs dist
- name: Archive logs
uses: actions/upload-artifact@v3
if: always()
if: ${{ failure() }}
with:
name: logs
path: |
Expand Down

0 comments on commit a852111

Please sign in to comment.