scripts: Generate CI kernel matrices

Keep exact kernel versions only in ABT_KERNELS. Resolve the bounded GitHub
regression and RPM subsets from stable selectors, and reject missing or
ambiguous matches.
This commit is contained in:
Gleb Chesnokov
2026-08-25 12:10:06 +03:00
parent a493057d09
commit 84fdf96a0a
2 changed files with 276 additions and 0 deletions
+68
View File
@@ -0,0 +1,68 @@
# Kernel selectors for the GitHub Actions regression subset. Upstream kernels
# are selected by major.minor. Distribution kernels are selected by
# distribution and release; add major.minor only when that pair is ambiguous.
GITHUB_REGRESSION_KERNEL_SELECTORS="\
7.2 \
7.1 \
7.0 \
6.19 \
6.18 \
6.17 \
6.16 \
6.15 \
6.14 \
6.13 \
6.12 \
6.11 \
6.10 \
6.9 \
6.8 \
6.7 \
6.6 \
6.1 \
5.15 \
5.10 \
5.4 \
4.19 \
4.14 \
4.9 \
3.18 \
3.10 \
Rocky^10.2 \
Rocky^10.1 \
Rocky^9.8 \
Rocky^9.7 \
Rocky^8.10 \
AlmaLinux^10.0 \
AlmaLinux^9.6 \
AlmaLinux^9.5 \
AlmaLinux^9.4 \
AlmaLinux^9.3 \
AlmaLinux^9.2 \
AlmaLinux^9.1 \
AlmaLinux^9.0 \
AlmaLinux^8.9 \
AlmaLinux^8.8 \
AlmaLinux^8.7 \
AlmaLinux^8.6 \
AlmaLinux^8.5 \
AlmaLinux^8.4 \
AlmaLinux^8.3 \
CentOS^7.9.2009 \
CentOS^7.5.1804 \
UEK^10 \
UEK^9 \
UEK^8 \
UEK^7^4.14 \
UEK^7^4.1 \
"
# target|selector|display name|base image|kernel package|kernel repository
GITHUB_RPM_TARGETS="
rocky-10.2|Rocky^10.2|Rocky Linux 10.2|rockylinux/rockylinux:10.2|kernel|
rocky-9.8|Rocky^9.8|Rocky Linux 9.8|rockylinux/rockylinux:9.8|kernel|
rocky-8.10|Rocky^8.10|Rocky Linux 8.10|rockylinux/rockylinux:8.10|kernel|
uek-10|UEK^10|Oracle Linux 10 UEK|oraclelinux:10|kernel-uek|ol10_UEKR8
uek-9|UEK^9|Oracle Linux 9 UEK|oraclelinux:9|kernel-uek|ol9_UEKR7
uek-8|UEK^8|Oracle Linux 8 UEK|oraclelinux:8|kernel-uek|ol8_UEKR6
"