ci: Introduce new subsets.

Introduce 'images, 'system-tests and 'tarball subsets.

* gnu/ci.scm (cuirass-jobs): Break the 'all subset into smaller subsets.
This commit is contained in:
Mathieu Othacehe 2021-04-08 14:08:54 +02:00
parent 14ada96451
commit 2afc79b51d
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -483,11 +483,6 @@ (define source
(package->job store package system)))) (package->job store package system))))
(append (append
(filter-map job all) (filter-map job all)
(image-jobs store system)
(system-test-jobs store system
#:source source
#:commit commit)
(tarball-jobs store system)
(cross-jobs store system)))) (cross-jobs store system))))
('core ('core
;; Build core packages only. ;; Build core packages only.
@ -507,6 +502,17 @@ (define source
(let ((hello (specification->package "hello"))) (let ((hello (specification->package "hello")))
(list (package-job store (job-name hello) (list (package-job store (job-name hello)
hello system)))) hello system))))
('images
;; Build Guix System images only.
(image-jobs store system))
('system-tests
;; Build Guix System tests only.
(system-test-jobs store system
#:source source
#:commit commit))
('tarball
;; Build Guix tarball only.
(tarball-jobs store system))
(('channels . channels) (('channels . channels)
;; Build only the packages from CHANNELS. ;; Build only the packages from CHANNELS.
(let ((all (all-packages))) (let ((all (all-packages)))