Skip to content

Commit 28c9ae4

Browse files
committed
node-installer: add debug log collection for K3s failures
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
1 parent f41e229 commit 28c9ae4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/action-node-installer.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@ jobs:
8686
if: matrix.distribution == 'k3s'
8787
run: make test-k3s
8888
working-directory: node-installer
89+
90+
- name: Collect debug logs
91+
if: matrix.distribution == 'k3s' && failure()
92+
run: |
93+
sudo k3s kubectl describe pods -n kwasm
94+
sudo k3s kubectl describe pods
8995
9096
publish:
9197
needs: build-and-test

0 commit comments

Comments
 (0)