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 db402ca
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Check out code
uses: actions/checkout@master
- name: Run Chef Delivery
uses: actionshub/chef-delivery@main
uses: actionshub/chef-delivery@master
env:
CHEF_LICENSE: accept-no-persist

Expand Down Expand Up @@ -57,3 +57,11 @@ jobs:
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 db402ca

Please sign in to comment.