mirror_zfs/.github/workflows/scripts
Alan Somers 872266a5f3 During CI, use nproc instead of sysctl -n hw.ncpu
The latter may give the wrong result if cpusets are in use.

Sponsored by:	ConnectWise
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <alexander.motin@TrueNAS.com>
Signed-off-by:	Alan Somers <asomers@gmail.com>
Closes #18012
2025-12-10 10:21:29 -08:00
..
generate-ci-type.py CI: Update FreeBSD versions and ci-type handling 2025-11-12 13:05:49 -08: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-04-29 15:27:47 -04:00
qemu-2-start.sh CI: Update FreeBSD versions and ci-type handling 2025-11-12 13:05:49 -08:00
qemu-3-deps-vm.sh CI: Add ZTS -O option, log Setup Testing Machines step 2025-09-29 16:50:46 -07:00
qemu-3-deps.sh runners: Add option to install custom kernel on Fedora 2025-05-13 14:43:35 -07:00
qemu-4-build-vm.sh During CI, use nproc instead of sysctl -n hw.ncpu 2025-12-10 10:21:29 -08:00
qemu-4-build.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:19:56 -08:00
qemu-5-setup.sh CI: Add ZTS -O option, log Setup Testing Machines step 2025-09-29 16:50:46 -07:00
qemu-6-tests.sh CI: Add ZTS -O option, log Setup Testing Machines step 2025-09-29 16:50:46 -07:00
qemu-7-prepare.sh ZTS: Optimize KSM on Linux and remove it for FreeBSD 2025-04-29 15:27:47 -04:00
qemu-8-summary.sh ZTS: Optimize KSM on Linux and remove it for FreeBSD 2025-04-29 15:27:47 -04:00
qemu-9-summary-page.sh ZTS: Fix summary page creation again - second try 2024-10-06 14:32:08 -07:00
qemu-prepare-for-build.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:19:56 -08:00
qemu-test-repo-vm.sh CI: zfs-test-packages: Add in new repos 2025-12-10 10:21:29 -08:00
qemu-wait-for-vm.sh Add 'zfs-qemu-packages' workflow for RPM building 2025-03-05 09:19:56 -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:19:56 -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