Skip to content

Commit

Permalink
Add tmate
Browse files Browse the repository at this point in the history
Signed-off-by: Milan Lenco <milan@zededa.com>
  • Loading branch information
milan-zededa committed Aug 30, 2023
1 parent 6022049 commit d787378
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/eden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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: |
Expand Down Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion pkg/watchdog/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ fi
# Create configuration end-points
mkdir -p /run/watchdog/pid /run/watchdog/file 2> /dev/null || :

run_watchdog
#run_watchdog

0 comments on commit d787378

Please sign in to comment.