Skip to content

Commit

Permalink
gimme the logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Kruggel committed Jun 5, 2024
1 parent 413937a commit ce8acd7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,27 @@ jobs:
uses: defenseunicorns/uds-common/.github/actions/save-logs@11e591f2ec7d158923d973c85097ce28a5f55db4 # v0.4.5
with:
suffix: ${{ matrix.type }}-${{ matrix.flavor }}-${{ github.run_id }}-${{ github.run_attempt }}

- name: Print cluster info
if: failure()
shell: bash -e -o pipefail {0}
run: |
kubectl get nodes -o wide
- name: Print pod info
if: failure()
shell: bash -e -o pipefail {0}
run: |
kubectl get pods -A -o wide
- name: Print service info
if: failure()
shell: bash -e -o pipefail {0}
run: |
kubectl get svc -A -o wide
- name: Print events
if: failure()
shell: bash -e -o pipefail {0}
run: |
kubectl get events -A -o wide

0 comments on commit ce8acd7

Please sign in to comment.