From: Grant Slater Date: Fri, 10 May 2024 23:58:19 +0000 (+0100) Subject: Capture additional github action diagnostics on failure X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/887806b9cd50e0f504556d664a8cfa53386b3f02 Capture additional github action diagnostics on failure --- diff --git a/.github/workflows/test-kitchen.yml b/.github/workflows/test-kitchen.yml index dcd9e3223..bbcae2b54 100644 --- a/.github/workflows/test-kitchen.yml +++ b/.github/workflows/test-kitchen.yml @@ -146,5 +146,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() }}