mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-29 12:29:35 +03:00
b7bc334d13
This commit changes the workflow of the github actions. We split the workflow into different parts: 1) build zfs modules for Ubuntu 20.04 and 22.04 (~25m) 2) 2x zloop test (~10m) + 2x sanity test (~25m) 3) functional testings in parts 1..5 (each ~1h) - these could be triggered, when sanity tests are ok - currently I just start them all in the same time 4) cleanup and create summary When everything is fine, the full run with all testings should be done in around 2 hours. The codeql.yml and checkstyle.yml are not part in this circle. The testings are also modified a bit: - report info about CPU and checksum benchmarks - reset the debugging logs for each test - when some error occurred, we call dmesg with -c to get only the log output for the last failed test - we empty also the dbgsys Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de> Closes #14078
25 lines
400 B
Bash
Executable File
25 lines
400 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu
|
|
|
|
TDIR="/usr/share/zfs/zfs-tests/tests/functional"
|
|
echo -n "TODO="
|
|
case "$1" in
|
|
part1)
|
|
# ~1h 20m
|
|
echo "cli_root"
|
|
;;
|
|
part2)
|
|
# ~1h
|
|
ls $TDIR|grep '^[a-m]'|grep -v "cli_root"|xargs|tr -s ' ' ','
|
|
;;
|
|
part3)
|
|
# ~1h
|
|
ls $TDIR|grep '^[n-qs-z]'|xargs|tr -s ' ' ','
|
|
;;
|
|
part4)
|
|
# ~1h
|
|
ls $TDIR|grep '^r'|xargs|tr -s ' ' ','
|
|
;;
|
|
esac
|