Skip to content

Commit

Permalink
Use native-deb* targets for zloop workflow
Browse files Browse the repository at this point in the history
The zloop workflow always requests an Ubuntu worker.  Since we
now have native Debian style packaging use these targets for
the zloop workflow.  This follows up on the work done in openzfs#14265.

Additionally, rollback to using the ubuntu-20.04 builder until
the ax_python_dev.m4 LegacyVersion build issue with 22.04 has
been resolved.

Signed-off-by: Brian Behlendorf <[email protected]>
  • Loading branch information
behlendorf committed Dec 20, 2022
1 parent bd9dc5a commit 5bbf7ad
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/zloop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
env:
TEST_DIR: /var/tmp/zloop
steps:
Expand All @@ -27,15 +27,18 @@ jobs:
./configure --enable-debug --enable-debuginfo --enable-asan --enable-ubsan
- name: Make
run: |
make -j$(nproc) --no-print-directory --silent pkg-utils pkg-kmod
make --no-print-directory --silent native-deb-utils native-deb-kmod
mv ../*.deb .
rm ./openzfs-zfs-dkms*.deb ./openzfs-zfs-dracut*.deb
- name: Install
run: |
sudo dpkg -i *.deb
# Update order of directories to search for modules, otherwise
# Ubuntu will load kernel-shipped ones.
sudo sed -i.bak 's/updates/extra updates/' /etc/depmod.d/ubuntu.conf
sudo depmod
sudo modprobe zfs
sudo dpkg -i *.deb
# Native Debian packages enable and start the services
# Stop zfs-zed daemon, as it may interfere with some ZTS test cases
sudo systemctl stop zfs-zed
- name: Tests
run: |
sudo mkdir -p $TEST_DIR
Expand Down

0 comments on commit 5bbf7ad

Please sign in to comment.