Skip to content

Commit

Permalink
Add debug step to action
Browse files Browse the repository at this point in the history
  • Loading branch information
bmhughes committed Jun 16, 2021
1 parent 7996c14 commit 7851cef
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,20 @@ jobs:
- name: Check out code
uses: actions/checkout@master
- name: Install Chef
uses: actionshub/chef-install@master
uses: actionshub/chef-install@main
- name: Dokken
uses: actionshub/kitchen-dokken@master
uses: actionshub/kitchen-dokken@main
env:
CHEF_LICENSE: accept-no-persist
KITCHEN_LOCAL_YAML: kitchen.dokken.yml
with:
suite: ${{ matrix.suite }}
os: ${{ matrix.os }}
- name: Print debug output on failure
if: failure()
run: |
set -x
sudo journalctl -l --since today
sudo docker version
sudo docker info
KITCHEN_LOCAL_YAML=kitchen.dokken.yml /usr/bin/kitchen exec ${{ matrix.suite }}-${{ matrix.os }} -c "journalctl -l"

0 comments on commit 7851cef

Please sign in to comment.