From d787378650706410eab86bc912da716177b62c8d Mon Sep 17 00:00:00 2001 From: Milan Lenco Date: Wed, 30 Aug 2023 08:44:35 +0200 Subject: [PATCH] Add tmate Signed-off-by: Milan Lenco --- .github/workflows/eden.yml | 13 ++++++++----- pkg/watchdog/init.sh | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.github/workflows/eden.yml b/.github/workflows/eden.yml index db83d6893d..83d45483cc 100644 --- a/.github/workflows/eden.yml +++ b/.github/workflows/eden.yml @@ -8,10 +8,11 @@ on: # yamllint disable-line rule:truthy - "[0-9]+.[0-9]+-stable" paths-ignore: - 'docs/**' - pull_request_review: - types: [submitted] - paths-ignore: - - 'docs/**' + pull_request: + branches: + - "master" + - "[0-9]+.[0-9]+" + - "[0-9]+.[0-9]+-stable" jobs: integration: @@ -22,7 +23,6 @@ jobs: matrix: tpm: ["true", "false"] fs: ["zfs", "ext4"] - if: ${{ github.event.review.state == 'approved' || github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags') }} steps: - name: Check run: | @@ -111,6 +111,9 @@ jobs: ./eden setup -v debug --grub-options='set_global dom0_extra_args "$dom0_extra_args eve_install_zfs_with_raid_level "' - name: run run: EDEN_TEST_STOP=n ./eden test ${{ github.workspace }}/eve/tests/eden/workflow -v debug + - name: Setup tmate session + if: ${{ failure() }} + uses: mxschmitt/action-tmate@v3 - name: Collect logs if: ${{ always() }} run: | diff --git a/pkg/watchdog/init.sh b/pkg/watchdog/init.sh index 1f8b443488..8d55113431 100755 --- a/pkg/watchdog/init.sh +++ b/pkg/watchdog/init.sh @@ -85,4 +85,4 @@ fi # Create configuration end-points mkdir -p /run/watchdog/pid /run/watchdog/file 2> /dev/null || : -run_watchdog +#run_watchdog