Skip to content

Commit

Permalink
CI: debug
Browse files Browse the repository at this point in the history
Signed-off-by: Akihiro Suda <[email protected]>
  • Loading branch information
AkihiroSuda committed Aug 14, 2024
1 parent 17c02d4 commit b4615b3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,20 @@ jobs:
- run: ./hack/create-cluster-lxd.sh
- run: kubectl taint nodes --all node-role.kubernetes.io/control-plane- || true
- run: ./hack/test-smoke.sh
- if: failure()
name: "kubectl get nodes"
run: |
set -x
kubectl get nodes -o wide
kubectl get nodes -o yaml
ssh -F ${HOME}/.u7s-ci-hosts/ssh_config host0 -- df -h
ssh -F ${HOME}/.u7s-ci-hosts/ssh_config host1 -- df -h
- if: failure()
name: "kubectl get pods"
run: |
set -x
kubectl get pods -A -o yaml
ssh -F ${HOME}/.u7s-ci-hosts/ssh_config host0 -- journalctl --user --no-pager --since "10 min ago"
- name: "Test data persistency after restarting the node"
run: |
lxc restart host0 host1
Expand Down

0 comments on commit b4615b3

Please sign in to comment.