Skip to content

Commit

Permalink
Capture additional github action diagnostics on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed May 10, 2024
1 parent a27f875 commit e5c4c23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/test-kitchen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,8 @@ jobs:
- name: Run kitchen test ${{ matrix.suite }}-${{ matrix.os }}
run: bundle exec kitchen test ${{ matrix.suite }}-${{ matrix.os }}
- name: Gather journal output
run: bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c journalctl --since=yesterday
run: |
bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "journalctl --since=yesterday"
bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "networkctl status --all"
bundle exec kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "resolvectl status" || true
if: ${{ failure() }}

0 comments on commit e5c4c23

Please sign in to comment.