mirror_zfs/.github/workflows/scripts
Tony Hutter 9cf069b366 CI: Add optional patch level, fix hostname on F42
In the past there have been times when we need to generate new RPMs
for an existing ZFS release.  Typically this happens when a new RHEL
version comes out and the kernel symbols no longer match.  To get
users to auto-update we just bump the patch number.  For example, we
had to create zfs-2.1.13-1 for EL8.8 and zfs-2.1.13-2 for EL8.9.

This commit adds an optional patch level text box to the github
package builder runner.

In addition, this commit also uses `hostnamectl` instead of `hostname`
for F42+ compatibility, if available.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #17638
2025-08-18 17:06:55 -07:00
..
generate-ci-type.py ZTS: Optimize KSM on Linux and remove it for FreeBSD 2025-05-28 16:00:28 -07:00
merge_summary.awk ZTS: Use QEMU for tests on Linux and FreeBSD 2024-09-17 12:03:27 -07:00
qemu-1-setup.sh ZTS: Optimize KSM on Linux and remove it for FreeBSD 2025-05-28 16:00:28 -07:00
qemu-2-start.sh FreeBSD 15.0 is now "PRERELEASE" 2025-08-12 17:24:22 -07:00
qemu-3-deps-vm.sh CI: Remove Debian backports 2025-08-12 17:22:45 -07:00
qemu-3-deps.sh runners: Add option to install custom kernel on Fedora 2025-05-28 16:00:28 -07:00
qemu-4-build-vm.sh CI: Add optional patch level, fix hostname on F42 2025-08-18 17:06:55 -07:00
qemu-4-build.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:35:51 -08:00
qemu-5-setup.sh ZTS: Optimize KSM on Linux and remove it for FreeBSD 2025-05-28 16:00:28 -07:00
qemu-6-tests.sh CI: match and trim out internal timestamp for test prefix 2025-08-12 17:23:28 -07:00
qemu-7-prepare.sh ZTS: Optimize KSM on Linux and remove it for FreeBSD 2025-05-28 16:00:28 -07:00
qemu-8-summary.sh ZTS: Optimize KSM on Linux and remove it for FreeBSD 2025-05-28 16:00:28 -07:00
qemu-9-summary-page.sh ZTS: Fix summary page creation again - second try 2024-10-09 13:44:18 -07:00
qemu-prepare-for-build.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:35:51 -08:00
qemu-test-repo-vm.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:35:51 -08:00
qemu-wait-for-vm.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:35:51 -08:00
README.md ZTS: Use QEMU for tests on Linux and FreeBSD 2024-09-17 12:03:27 -07:00
replace-dupes-with-symlinks.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:35:51 -08:00

Workflow for each operating system:

  • install qemu on the github runner
  • download current cloud image of operating system
  • start and init that image via cloud-init
  • install dependencies and poweroff system
  • start system and build openzfs and then poweroff again
  • clone build system and start 2 instances of it
  • run functional testings and complete in around 3h
  • when tests are done, do some logfile preparing
  • show detailed results for each system
  • in the end, generate the job summary

/TR 14.09.2024