Skip to content

Commit

Permalink
ci: Improve debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
orfeas-k committed Nov 23, 2023
1 parent 963f611 commit 549d3f3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/full-bundle-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
if: always()

- name: Dump Aproxy logs on failure
if: failure()
if: failure() || cancelled()
run: sudo snap logs aproxy.aproxy -n=all

- name: Run connectivity check
Expand All @@ -180,8 +180,13 @@ jobs:
echo "Dumping k8s logs"
sudo microk8s kubectl get all --all-namespaces
- name: Dump juju debug-log on failure
if: failure() || cancelled()
run: |
sg microk8s -c "juju debug-log --replay --no-tail"
- name: Descript all pods
if: failure()
if: failure() || cancelled()
run: |
sudo microk8s kubectl describe pods --all-namespaces
Expand Down

0 comments on commit 549d3f3

Please sign in to comment.