Skip to content

Commit c2b7c7f

Browse files
workflows: add a step to capture logging on failure
Add a new step to the test-kubernetes job to do a best-effort capture of the state of the operator and samba pods. Signed-off-by: John Mulligan <[email protected]>
1 parent b7e109d commit c2b7c7f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ jobs:
131131
run: make set-image
132132
- name: run tests
133133
run: ./tests/test.sh
134+
- name: dump logging on failure
135+
if: ${{ failure() }}
136+
run: ./tests/post-test-info.sh
134137
# push the container to quay.io - only for pushes, not PRs
135138
push:
136139
needs: [build, check]

0 commit comments

Comments
 (0)