Skip to content

Commit

Permalink
Dump debug logs on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
javierdelapuente committed Feb 7, 2025
1 parent 09cddf2 commit d850967
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/integration_test_run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,14 @@ jobs:
with:
app: ${{ env.CHARM_NAME }}
model: testing
- name: Juju debug-log
if: failure()
run: |
juju models
for model in $(juju models --format json | jq -r '.models[].name');
do
echo DEBUG-LOG IN MODEL: $model;
juju debug-log --replay --no-tail -m $model;
- name: Install k6s
if: ${{ inputs.load-test-enabled }}
run: sudo snap install k6
Expand Down

0 comments on commit d850967

Please sign in to comment.