]> git.ipfire.org Git - thirdparty/dracut-ng.git/log
thirdparty/dracut-ng.git
18 months agotest: replace qemu nic model e1000 by virtio
Benjamin Drung [Fri, 15 Nov 2024 10:59:44 +0000 (11:59 +0100)] 
test: replace qemu nic model e1000 by virtio

TEST-72-NBD fails on s390x with:

```
qemu-system-s390x: warning: hub port hub0port0 has no peer
qemu-system-s390x: warning: hub 0 with no nics
qemu-system-s390x: warning: netdev hub0port0 has no peer
qemu-system-s390x: warning: requested NIC (#net046, model e1000) was not created (not supported by this machine?)
```

The test uses the e1000 model, but s390x does not have it:

```
$ qemu-system-s390x -nic model=help
Available NIC models:
virtio
```

So replace the e1000 model by virtio, which is supported by most
architectures.

Fixes #953

18 months agodocs: warn against the usage of -m, -o, -d
Jo Zzsi [Wed, 13 Nov 2024 15:25:36 +0000 (10:25 -0500)] 
docs: warn against the usage of -m, -o, -d

These are common footguns. We should do a better job
warning the users against these usually untested configurations.

18 months agofix(dracut-functions.sh): check_kernel_module go one dir further up
Nowa Ammerlaan [Thu, 14 Nov 2024 18:03:50 +0000 (19:03 +0100)] 
fix(dracut-functions.sh): check_kernel_module go one dir further up

Since $drivers_dir contains the $kernel as well we have to go up one level more.

18 months agotest(RAID): optionally encrypted LVM PV
Jo Zzsi [Thu, 14 Nov 2024 13:39:21 +0000 (08:39 -0500)] 
test(RAID): optionally encrypted LVM PV

Replace TEST-20 with TEST-24 and remove TEST-24.

18 months agotest(BASIC): enable testing in fips mode
Jo Zzsi [Thu, 14 Nov 2024 11:38:47 +0000 (06:38 -0500)] 
test(BASIC): enable testing in fips mode

This test will enable fips mode on Fedora CI.

18 months agoci(fedora): enable the container to test fips
Jo Zzsi [Wed, 13 Nov 2024 19:50:04 +0000 (14:50 -0500)] 
ci(fedora): enable the container to test fips

18 months agoci: increase GitHub Action timeout to 20 min
Jo Zzsi [Wed, 13 Nov 2024 15:30:48 +0000 (10:30 -0500)] 
ci: increase GitHub Action timeout to 20 min

Sadly, the timeout includes not only the time it takes to
run the test, but also the time it takes to allocate a machine on
GitHub to run the job, which is unpredicatable.

Increase the timeout to account for this new information.

18 months agotest: decrease default VM memory size to 1 GiB
Benjamin Drung [Wed, 13 Nov 2024 11:59:38 +0000 (12:59 +0100)] 
test: decrease default VM memory size to 1 GiB

Commit a0442b777820("test: increase VM memory size to pass test 40 on
more VMs") increased the VM memory from 1 to 2 GiB for TEST-72-NBD,
because the test ran out of memory on Arch and openSUSE.

Running the tests on armhf fails with:

```
qemu-system-armhf: at most 2047 MB RAM can be simulated
```

Decrease the default memory back to 1 GiB. Dracut should work on systems
and VMs with not much memory.

18 months agoci: combine Debian/Ubuntu into the same dockerfile
Jo Zzsi [Sun, 3 Nov 2024 12:29:40 +0000 (07:29 -0500)] 
ci: combine Debian/Ubuntu into the same dockerfile

This PR does not change the test covergae or the number of CI
containers. It simply combines the dockerfile to easy maitenance
and remove duplicated code.

18 months agochore: resolve remaining shellcheck for SC2155
Benjamin Drung [Wed, 13 Nov 2024 00:33:17 +0000 (01:33 +0100)] 
chore: resolve remaining shellcheck for SC2155

18 months agochore: remove unnecessary shellcheck disable for SC2031
Laszlo Gombos [Sat, 25 Feb 2023 00:55:08 +0000 (00:55 +0000)] 
chore: remove unnecessary shellcheck disable for SC2031

18 months agochore: remove unnecessary shellcheck disable for SC2030
Laszlo Gombos [Sat, 25 Feb 2023 00:53:43 +0000 (00:53 +0000)] 
chore: remove unnecessary shellcheck disable for SC2030

18 months agochore: remove unnecessary shellcheck disable for SC1004
Laszlo Gombos [Sat, 25 Feb 2023 00:40:21 +0000 (00:40 +0000)] 
chore: remove unnecessary shellcheck disable for SC1004

18 months agochore: resolve shellcheck for SC3037
Laszlo Gombos [Sat, 25 Feb 2023 00:36:28 +0000 (00:36 +0000)] 
chore: resolve shellcheck for SC3037

18 months agochore: resolve shellcheck for SC2155
Laszlo Gombos [Sat, 25 Feb 2023 00:28:44 +0000 (00:28 +0000)] 
chore: resolve shellcheck for SC2155

18 months agochore: resolve shellcheck for SC2153
Laszlo Gombos [Sat, 25 Feb 2023 00:24:20 +0000 (00:24 +0000)] 
chore: resolve shellcheck for SC2153

18 months agochore: resolve shellcheck for SC2219
Laszlo Gombos [Sat, 25 Feb 2023 00:02:18 +0000 (00:02 +0000)] 
chore: resolve shellcheck for SC2219

18 months agochore: resolve shellcheck for SC2116
Laszlo Gombos [Fri, 24 Feb 2023 22:24:23 +0000 (22:24 +0000)] 
chore: resolve shellcheck for SC2116

18 months agotest(RAID): add support for mdadm in addition to btrfs/zfs
Jo Zzsi [Tue, 12 Nov 2024 22:28:16 +0000 (17:28 -0500)] 
test(RAID): add support for mdadm in addition to btrfs/zfs

18 months agochore(deps): bump softprops/action-gh-release from 2.0.9 to 2.1.0
dependabot[bot] [Tue, 12 Nov 2024 20:46:56 +0000 (20:46 +0000)] 
chore(deps): bump softprops/action-gh-release from 2.0.9 to 2.1.0

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.9 to 2.1.0.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.0.9...v2.1.0)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
18 months agofeat(dmsquash-live): add support for rd.live.overlay.nouserconfirmprompt
George Mileka [Thu, 25 Jan 2024 23:06:13 +0000 (15:06 -0800)] 
feat(dmsquash-live): add support for rd.live.overlay.nouserconfirmprompt

Dracut allows the creation of a LiveOS using a read-only squashfs and
a read-write overlay on top.

If the read-write overlay is backed by a ramdisk, Dracut halts and prompts
the user to confirm whether to continue or not.

This interaction during the boot process is not desired in all cases.

This change introduces a new flag (rd.live.overlay.nouserconfirmprompt)
that when defined, it suppresses the prompt and allows the boot process
to continue to completion without user interation.

There is no impact to existing configurations and their associated behavior.
The new behavior only takes effect only when the new switch is explicitly
defined by the image build as a kernel parameter.

18 months agotest(FULL-SYSTEMD): skip test on debian:stable for now
Jo Zzsi [Tue, 12 Nov 2024 17:40:33 +0000 (12:40 -0500)] 
test(FULL-SYSTEMD): skip test on debian:stable for now

This should make the Daily Integration test to finally fully green.

18 months agotest(RAID): add support for zfs RAID in addition to btrfs RAID
Jo Zzsi [Tue, 12 Nov 2024 13:27:26 +0000 (08:27 -0500)] 
test(RAID): add support for zfs RAID in addition to btrfs RAID

Switch to RAID 0 to speed up test and simplify it.

18 months agoci: switch from musl:openrc to glibc:openrc
Jo Zzsi [Tue, 12 Nov 2024 12:08:12 +0000 (07:08 -0500)] 
ci: switch from musl:openrc to glibc:openrc

The goal is to test some common non-systemd configuration.
glibc:openrc is probably a better option for this goal, and
GitHub Action (node) fails to run tests on the Gentoo based musl container.

18 months agoci: use the corect new gentoo container label
Jo Zzsi [Tue, 12 Nov 2024 03:25:43 +0000 (22:25 -0500)] 
ci: use the corect new gentoo container label

18 months agochore: use command instead of type consistently
Jo Zzsi [Mon, 11 Nov 2024 13:32:25 +0000 (08:32 -0500)] 
chore: use command instead of type consistently

18 months agoci: bring back musl/openrc option for Gentoo
Jo Zzsi [Sun, 10 Nov 2024 18:53:01 +0000 (13:53 -0500)] 
ci: bring back musl/openrc option for Gentoo

18 months agotest(BTRFSRAID): make the test more reliable
Jo Zzsi [Sun, 10 Nov 2024 13:54:10 +0000 (08:54 -0500)] 
test(BTRFSRAID): make the test more reliable

Currently the test sometimes fails with the following error message:

Dependency failed for systemd-fsck…m Check on /dev/disk/by-label/root.

18 months agofix: check if xx-lib.sh is needed before executing
Jo Zzsi [Sun, 10 Nov 2024 13:31:03 +0000 (08:31 -0500)] 
fix: check if xx-lib.sh is needed before executing

18 months agofix(dracut): rework timeout for devices added via --mount and --add-device
Antonio Alvarez Feijoo [Mon, 4 Nov 2024 12:31:13 +0000 (13:31 +0100)] 
fix(dracut): rework timeout for devices added via --mount and --add-device

Currently, dracut adds a systemd dropin that sets an infinite timeout _only_ for
the underlying persistent devices of each host device that must be active in the
initrd. E.g.:

```
localhost:~ # dracut -f --stdlog 3 --install "/mnt" --mount "/dev/sda1 /mnt btrfs rw,relatime"
localhost:~ # lsinitrd | grep timeout.conf
-rw-r--r--   2 root     root            0 Oct 28 14:21 etc/systemd/system/dev-disk-by\x2duuid-0d1b24c2\x2df112\x2d48ef\x2d8442\x2d1001cffc92f0.device.d/timeout.conf
localhost:~ # ls -l /dev/disk/by-uuid/0d1b24c2-f112-48ef-8442-1001cffc92f0
lrwxrwxrwx 1 root root 10 Oct 28 11:43 /dev/disk/by-uuid/0d1b24c2-f112-48ef-8442-1001cffc92f0 -> ../../sda1
```

It can be verified in the emergency shell:

```
sh-5.2# systemctl show --property JobRunningTimeoutUSec /dev/disk/by-uuid/0d1b24c2-f112-48ef-8442-1001cffc92f0
JobRunningTimeoutUSec=infinity
sh-5.2# systemctl show --property JobRunningTimeoutUSec /dev/sda1
JobRunningTimeoutUSec=1min 30s
```

This can cause a problem if a user application expects to mount /dev/sda1 in the
initrd (that's why it was explicitly added `--mount "/dev/sda1 ..."`), but for
some reason the link is not created within 1min 30s.

18 months agotest: fix typo
Jo Zzsi [Sun, 10 Nov 2024 13:15:49 +0000 (08:15 -0500)] 
test: fix typo

18 months agotest(IMSM): remove unused file
Jo Zzsi [Sun, 10 Nov 2024 12:06:18 +0000 (07:06 -0500)] 
test(IMSM): remove unused file

18 months agotest(BTRFSRAID): remove unused code
Jo Zzsi [Sun, 10 Nov 2024 12:18:33 +0000 (07:18 -0500)] 
test(BTRFSRAID): remove unused code

18 months agoci: add gentoo:slim to Daily Integration Tests
Jo Zzsi [Sun, 10 Nov 2024 12:10:56 +0000 (07:10 -0500)] 
ci: add gentoo:slim to Daily Integration Tests

18 months agofix: check if dracut-lib.sh is needed before executing
Jo Zzsi [Sun, 10 Nov 2024 11:44:39 +0000 (06:44 -0500)] 
fix: check if dracut-lib.sh is needed before executing

18 months agotest: improve precondition checking
Jo Zzsi [Sun, 10 Nov 2024 11:34:24 +0000 (06:34 -0500)] 
test: improve precondition checking

These changes allow gentoo:slim CI container to not fail.

18 months agoci: add gentoo:slim
Jo Zzsi [Sun, 10 Nov 2024 01:52:17 +0000 (20:52 -0500)] 
ci: add gentoo:slim

18 months agotest(FULL-SYSTEMD): fail if mkinitcpio installs more services that dracut
Jo Zzsi [Sun, 10 Nov 2024 00:14:51 +0000 (19:14 -0500)] 
test(FULL-SYSTEMD): fail if mkinitcpio installs more services that dracut

18 months agofix: add bash dependency when bash scripts are used in the module
Jo Zzsi [Sat, 9 Nov 2024 23:21:24 +0000 (18:21 -0500)] 
fix: add bash dependency when bash scripts are used in the module

The following dracut modules are impacted:
 - systemd-networkd
 - plymouth
 - zipl

18 months agofix(dracut-systemd): check systemd-cryptsetup before including
Jo Zzsi [Sat, 9 Nov 2024 19:06:57 +0000 (14:06 -0500)] 
fix(dracut-systemd): check systemd-cryptsetup before including

18 months agodocs: remove obsolete sysrot paragraph
Jo Zzsi [Sat, 9 Nov 2024 01:08:53 +0000 (20:08 -0500)] 
docs: remove obsolete sysrot paragraph

18 months agoci(Gentoo): enable testing systemd-bsod dracut module
Jo Zzsi [Sat, 9 Nov 2024 20:13:01 +0000 (15:13 -0500)] 
ci(Gentoo): enable testing systemd-bsod dracut module

18 months agofeat: systemd-battery-check dracut module
Jo Zzsi [Sat, 9 Nov 2024 20:30:05 +0000 (15:30 -0500)] 
feat: systemd-battery-check dracut module

18 months agoci(gentoo): optimize container
Jo Zzsi [Sat, 9 Nov 2024 11:07:16 +0000 (06:07 -0500)] 
ci(gentoo): optimize container

Combine some container layers.
Allows to opt-out of optional packages.
Splitting the package installation into two bigger layers allows
the container runtime to download them in parallel.

18 months agotest: make the install dracut the default to run tests
Jo Zzsi [Sat, 9 Nov 2024 20:19:04 +0000 (15:19 -0500)] 
test: make the install dracut the default to run tests

After the --local flag is removed, using the local copy of dracut.sh
for running tests is no longer possible, so change the default.

18 months agotest(FULL-SYSTEMD): add test coverage for mkinitcpio
Jo Zzsi [Sat, 9 Nov 2024 14:20:54 +0000 (09:20 -0500)] 
test(FULL-SYSTEMD): add test coverage for mkinitcpio

Print systemd units included in initrd from mkinitcpio but not from dracut.

18 months agofeat(configure): allow dracut-cpio to be disabled
Mike Gilbert [Sat, 9 Nov 2024 16:13:03 +0000 (11:13 -0500)] 
feat(configure): allow dracut-cpio to be disabled

Just because cargo is installed, doesn't mean we want to use it.

18 months agoci: attempt to re-enable test 60, stop running systemd tests on openSUSE
Jo Zzsi [Sat, 9 Nov 2024 10:08:11 +0000 (05:08 -0500)] 
ci: attempt to re-enable test 60, stop running systemd tests on openSUSE

18 months agofix: initqueue -> /sbin/initqueue
Jo Zzsi [Sat, 9 Nov 2024 10:24:13 +0000 (05:24 -0500)] 
fix: initqueue -> /sbin/initqueue

Use full path for initqueue.

18 months agofix(plymouth): silence warnings
Jo Zzsi [Sat, 9 Nov 2024 12:00:43 +0000 (07:00 -0500)] 
fix(plymouth): silence warnings

As seen on Arch.

18 months agotest(SYSTEMD-INITRD): demonstrate how to not re-compress kernel modules
Jo Zzsi [Sat, 9 Nov 2024 12:14:51 +0000 (07:14 -0500)] 
test(SYSTEMD-INITRD): demonstrate how to not re-compress kernel modules

18 months agoci: fix doc workflow
Jo Zzsi [Sat, 9 Nov 2024 03:12:37 +0000 (22:12 -0500)] 
ci: fix doc workflow

18 months agoperf(hwdb): only include when another module requires it in hostonly
Jo Zzsi [Fri, 25 Oct 2024 13:10:05 +0000 (09:10 -0400)] 
perf(hwdb): only include when another module requires it in hostonly

18 months agotest: make test.sh more convinent to use by adding wildcard support
Jo Zzsi [Fri, 8 Nov 2024 23:41:31 +0000 (18:41 -0500)] 
test: make test.sh more convinent to use by adding wildcard support

18 months agoci: add test 82 to integration-extra
Jo Zzsi [Sat, 9 Nov 2024 00:23:29 +0000 (19:23 -0500)] 
ci: add test 82 to integration-extra

18 months agoci(alpine): remove duplicated packages installed by the dracut package
Jo Zzsi [Thu, 7 Nov 2024 02:30:43 +0000 (21:30 -0500)] 
ci(alpine): remove duplicated packages installed by the dracut package

18 months agofix(dracut-functions.sh): check for modules in --kmoddir, not in --sysroot
Nowa Ammerlaan [Fri, 8 Nov 2024 19:01:54 +0000 (20:01 +0100)] 
fix(dracut-functions.sh): check for modules in --kmoddir, not in --sysroot

Modules are installed from the directory specified by --kmoddir, but currently
the check_kernel_module() function is checking for the module in
--sysroot/lib/modules. This is notably not the same when kernels packages are
being built inside some docker container. We should check for the modules
existence in the directory we are actually going to install it from.

18 months agofix(Makefile): remove irrelevant testcases
Jo Zzsi [Fri, 8 Nov 2024 20:01:58 +0000 (15:01 -0500)] 
fix(Makefile): remove irrelevant testcases

18 months agofix(dracut.sh): do not add cmdline for force_drivers if --kernel-only
Jo Zzsi [Sat, 2 Nov 2024 15:37:29 +0000 (11:37 -0400)] 
fix(dracut.sh): do not add cmdline for force_drivers if --kernel-only

From https://github.com/openSUSE/dracut/pull/384/commits/4e681447f64236422606af7f4ca2877e727c0294

18 months agotest(RAID): remove some negative failme tests that do not add value
Jo Zzsi [Fri, 8 Nov 2024 17:37:09 +0000 (12:37 -0500)] 
test(RAID): remove some negative failme tests that do not add value

18 months agofeat(Makefile): roll cleaninstall target into the install target
Jo Zzsi [Fri, 8 Nov 2024 17:14:35 +0000 (12:14 -0500)] 
feat(Makefile): roll cleaninstall target into the install target

Now that cleaninstall is well tested by the CI, lets roll it into
the regulal install step to help with packaging.

18 months agotest: vi is not required to run test automation
Jo Zzsi [Fri, 8 Nov 2024 16:51:28 +0000 (11:51 -0500)] 
test: vi is not required to run test automation

18 months agoci: move debian extended tests to extra to do less work on each PR
Jo Zzsi [Fri, 8 Nov 2024 16:48:33 +0000 (11:48 -0500)] 
ci: move debian extended tests to extra to do less work on each PR

Prefer testing on Ubuntu on each PR over Debian and delegate
testing on Debian to Integration Tests (Extra) - that runs
scheduled instead of each PR.

18 months agotest: local mode is no longer needed used by the testsuite
Jo Zzsi [Thu, 7 Nov 2024 23:12:11 +0000 (18:12 -0500)] 
test: local mode is no longer needed used by the testsuite

18 months agofix(lsinitrd): improve KERNEL_VERSION detection
Jo Zzsi [Mon, 21 Oct 2024 12:18:44 +0000 (08:18 -0400)] 
fix(lsinitrd): improve KERNEL_VERSION detection

18 months agoci: run make install for networking tests as well
Jo Zzsi [Fri, 8 Nov 2024 14:01:09 +0000 (09:01 -0500)] 
ci: run make install for networking tests as well

18 months agoci: factor out doc into its own workflow
Jo Zzsi [Fri, 8 Nov 2024 12:36:12 +0000 (07:36 -0500)] 
ci: factor out doc into its own workflow

This allows to only run it if files under man directory changed.

18 months agoci: on fedora container test 60 fails
Jo Zzsi [Fri, 8 Nov 2024 11:59:02 +0000 (06:59 -0500)] 
ci: on fedora container test 60 fails

18 months agoci(fedora): remove nss-softokn workaround and install kdump-utils
Jo Zzsi [Thu, 7 Nov 2024 22:53:30 +0000 (17:53 -0500)] 
ci(fedora): remove nss-softokn workaround and install kdump-utils

This setup is closer what users actually use and will allow to
test more dracut modules.

18 months agoci: workaround centos failures for a green CI
Jo Zzsi [Thu, 7 Nov 2024 20:49:39 +0000 (15:49 -0500)] 
ci: workaround centos failures for a green CI

18 months agotest: make the size of all test drives 512 MB
Jo Zzsi [Thu, 7 Nov 2024 12:39:58 +0000 (07:39 -0500)] 
test: make the size of all test drives 512 MB

The goal is to remove these magical size numbers and reduce
cognitive load.

18 months agoci: trigger integration-extra Action when integration-extra.yml changed
Jo Zzsi [Thu, 7 Nov 2024 12:58:02 +0000 (07:58 -0500)] 
ci: trigger integration-extra Action when integration-extra.yml changed

This allows triggering a run on a PR on demand.

18 months agotest: improve precondition checking for test to pass
Jo Zzsi [Thu, 7 Nov 2024 02:06:20 +0000 (21:06 -0500)] 
test: improve precondition checking for test to pass

Tested using a minimal alpine container.

18 months agoci: fix alpine container and install musl-dev package
Jo Zzsi [Wed, 6 Nov 2024 20:50:46 +0000 (15:50 -0500)] 
ci: fix alpine container and install musl-dev package

18 months agoci: install gcc into alpine container
Jo Zzsi [Wed, 6 Nov 2024 19:56:53 +0000 (14:56 -0500)] 
ci: install gcc into alpine container

follow-up fix to 6162c37

18 months agochore(base): remove some unused functions
Jo Zzsi [Wed, 6 Nov 2024 12:09:03 +0000 (07:09 -0500)] 
chore(base): remove some unused functions

18 months agoci: test clang with void instead of alpine
Jo Zzsi [Wed, 6 Nov 2024 17:46:58 +0000 (12:46 -0500)] 
ci: test clang with void instead of alpine

Now that alpine is less tested, let's use void instead for clang.

18 months agoci(alpine): only run BASIC test on each PR
Jo Zzsi [Wed, 6 Nov 2024 13:20:07 +0000 (08:20 -0500)] 
ci(alpine): only run BASIC test on each PR

Also installed dracut-test alpine package to pull in dependencies
from downstream packaging.

Separate packages based on what is needed to pass BASIC test vs
other tests to make it easier to reason abotu why packages are
listed here.

18 months agoci: make sure downstream dracut package is installed in ci containers
Jo Zzsi [Wed, 6 Nov 2024 02:05:08 +0000 (21:05 -0500)] 
ci: make sure downstream dracut package is installed in ci containers

The CI test suite now able to handle and pick up dowstream
dracut configuration.

All other CI containers have dracut installed - except Arch and Gentoo.

18 months agoci: separate out systemd-only tests to speed up CI runs
Jo Zzsi [Tue, 5 Nov 2024 23:15:11 +0000 (18:15 -0500)] 
ci: separate out systemd-only tests to speed up CI runs

The speed benefit is from the fact that we do not attempt to
run these tests on distributions that do not support systemd.

The other speed benefit is that we get results earlier for
the systemd-only tests.

18 months agochore(deps): bump softprops/action-gh-release from 2.0.8 to 2.0.9
dependabot[bot] [Tue, 5 Nov 2024 20:59:48 +0000 (20:59 +0000)] 
chore(deps): bump softprops/action-gh-release from 2.0.8 to 2.0.9

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/v2.0.8...v2.0.9)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
18 months agoci: run the extended tests the same way as basic tests
Jo Zzsi [Tue, 5 Nov 2024 18:47:48 +0000 (13:47 -0500)] 
ci: run the extended tests the same way as basic tests

To increase test coverage install the upstream version of dracut
as an overlay on top of the distribution CI containers.

Void dracut configuration always includes the drm dracut
module, so test case storage sizes needed an increase.

18 months agoci: only run networking tests after extended tests have passed
Jo Zzsi [Tue, 5 Nov 2024 13:34:03 +0000 (08:34 -0500)] 
ci: only run networking tests after extended tests have passed

Save some CI cycles and do not bother running networking tests if
non-networking tests fail.

18 months agoci: force openSUSE CI container non-hostonly
Jo Zzsi [Tue, 5 Nov 2024 14:17:54 +0000 (09:17 -0500)] 
ci: force openSUSE CI container non-hostonly

The hostonly config passed locally but fails on the CI.

18 months agofix(rngd): do not include the module if we can not start the service
Jo Zzsi [Tue, 5 Nov 2024 12:54:29 +0000 (07:54 -0500)] 
fix(rngd): do not include the module if we can not start the service

Some distributions do not have this service file present (e.g. openSUSE).

18 months agoci: remove workarounds from openSUSE CI container
Jo Zzsi [Tue, 5 Nov 2024 13:29:26 +0000 (08:29 -0500)] 
ci: remove workarounds from openSUSE CI container

This change will result in tests running for openSUSE in hostonly mode
(instead of non-hostonly).

18 months agoci: test cleaninstall target as part of BASIC tests
Jo Zzsi [Tue, 5 Nov 2024 12:06:34 +0000 (07:06 -0500)] 
ci: test cleaninstall target as part of BASIC tests

Fix issues in the configure and Makefile exposed by this new test
coverage.

18 months agodocs: remove unused file
Jo Zzsi [Tue, 5 Nov 2024 12:16:57 +0000 (07:16 -0500)] 
docs: remove unused file

18 months agotest(BASIC): add support for zfs TEST_FSTYPE
Jo Zzsi [Tue, 5 Nov 2024 01:42:02 +0000 (20:42 -0500)] 
test(BASIC): add support for zfs TEST_FSTYPE

Basic tests now installs the upstream version of
dracut modules on top of the dracut modules that comes with
the downstream distribution or other dowstream out of tree
dracut modules.

18 months agoci(void): set zfs as preferred fstype for testing
Jo Zzsi [Tue, 5 Nov 2024 02:56:54 +0000 (21:56 -0500)] 
ci(void): set zfs as preferred fstype for testing

Use this as an opportunity to also install ncurses-base package
to get rid of terminfo dracut module warnings.

18 months agoci: revert label C files and only lint C files
Jo Zzsi [Mon, 4 Nov 2024 02:56:46 +0000 (21:56 -0500)] 
ci: revert label C files and only lint C files

18 months agoci: remove branch name that triggered a workflow_run
Jo Zzsi [Mon, 4 Nov 2024 02:30:58 +0000 (21:30 -0500)] 
ci: remove branch name that triggered a workflow_run

branch name is not populated for workflow_runs.

18 months agoci: fix labeler permission
Jo Zzsi [Mon, 4 Nov 2024 02:04:06 +0000 (21:04 -0500)] 
ci: fix labeler permission

18 months agoci: improve CI containers
Jo Zzsi [Mon, 4 Nov 2024 01:57:41 +0000 (20:57 -0500)] 
ci: improve CI containers

Add pciutils for those containers that have the rdma out of tree dracut module
installed (pulled in by tgt package).

Add zfs and zfs out of tree dracut module as a preparation for zfs testing.

18 months agodocs: link man pages in doc site
Ian Wienand [Wed, 16 Oct 2024 23:15:09 +0000 (10:15 +1100)] 
docs: link man pages in doc site

Currently the man pages in the generated doc site don't link to each other.  A
standard link: approach doesn't work that well when the target is both a groff
man page and the HTML site, as you don't want the links in the man page.

This is something other projects have faced, git in particular uses adoc for
man pages and the approach here is styled on its "gitlink:" macro.  The .js
version is for Antora which uses the asciidoctorjs internally and there is an
asciidoc plugin for the man page generation.  The ruby version is included just
in case we want to geneate man pages from asciidoctor directly one day.

For the HTML output it is a link to the page (or, can be marked for external
looukup for other tools).  For the man pages, it's just a usual "strong" text.

I've been through the existing references to convert them to the new macro.

18 months agoci: label C files and only lint C files
Jo Zzsi [Mon, 4 Nov 2024 00:40:15 +0000 (19:40 -0500)] 
ci: label C files and only lint C files

18 months agochore: maintain inst_fsck_help for compatibility as an empty function
Jo Zzsi [Mon, 4 Nov 2024 00:05:45 +0000 (19:05 -0500)] 
chore: maintain inst_fsck_help for compatibility as an empty function

18 months agotest: manual test runs now test make install cleaninstall as well
Jo Zzsi [Sun, 3 Nov 2024 23:17:50 +0000 (18:17 -0500)] 
test: manual test runs now test make install cleaninstall as well

18 months agoci: run publish after labeler
Jo Zzsi [Sun, 3 Nov 2024 22:39:36 +0000 (17:39 -0500)] 
ci: run publish after labeler

18 months agoci: test building documentation as a separate job
Jo Zzsi [Sun, 3 Nov 2024 13:26:12 +0000 (08:26 -0500)] 
ci: test building documentation as a separate job