Skip to content

Commit

Permalink
ci: add failure logging on k3s setup
Browse files Browse the repository at this point in the history
  • Loading branch information
consideRatio committed Jan 9, 2024
1 parent d334440 commit 26e97da
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,18 @@ jobs:
--egress-selector-mode=disabled
--container-runtime-endpoint=/run/cri-dockerd.sock
- run:
name: k3s failure logs
when: on_fail
command: |
systemctl status k3s.service
echo ""
echo "---"
echo ""
journalctl -xeu k3s.service
- run:
name: Prepare a kubeconfig in ~/.kube/config
command: |
Expand Down

0 comments on commit 26e97da

Please sign in to comment.