Message ID | f007e96b5ca0f20d8aa1edd2a486227bd6429391.1672194511.git.leo@famulari.name |
---|---|
State | New |
Headers | show |
Series | [bug#60373] hydra: cuirass: Add 'kernel-updates' jobset. | expand |
Hey Leo, Good initiative! > Can the build field actually contain this kind of list? No sadly it cannot right now. That would require to edit a bit the (gnu ci) module in Guix so that it allows a list of things to be built instead of individual subsets. Then a thing or two would need to be adjusted in Cuirass as well. > Should it contain system-tests? Normally they only run on x86_64, but > this would run them for all systems. What you could do instead is something like: --8<---------------cut here---------------start------------->8--- ((specification (name "kernel-updates") (build '(manifests "etc/kernels-manifest.scm")) (period 7200) (priority 2) (systems '#$systems)) (specification (name "kernel-updates-images") (build 'images) (period 7200) (priority 2) (systems '#$systems)) (specification (name "kernel-updates-tests") (build 'system-tests) (period 7200) (priority 2) (systems '("x86_64-linux")))) --8<---------------cut here---------------end--------------->8--- Then we could think about supporting multiple build subsets. WDYT? Thanks, Mathieu
diff --git a/hydra/modules/sysadmin/services.scm b/hydra/modules/sysadmin/services.scm index d0c5b24..8d143ad 100644 --- a/hydra/modules/sysadmin/services.scm +++ b/hydra/modules/sysadmin/services.scm @@ -2,6 +2,7 @@ ;;; ;;; Copyright © 2016-2022 Ludovic Courtès <ludo@gnu.org> ;;; Copyright © 2017, 2018, 2020, 2022 Ricardo Wurmus <rekado@elephly.net> +;;; Copyright © 2022 Leo Famulari <leo@famulari.name> ;;; ;;; This program is free software: you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by @@ -347,6 +348,14 @@ (branch "core-updates")))) (priority 4) (systems '#$systems))) + #~()) + #$@(if (member "kernel-updates" branches) + #~((specification + (name "kernel-updates") + (build '(images system-tests (manifests "etc/kernels-manifest.scm"))) + (period 7200) + (priority 2) + (systems '#$systems))) #~())))