summaryrefslogtreecommitdiff
path: root/nongnu/ci.scm
blob: db9e68a194aba7f48b222f44fd581741a34b22a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
;;; SPDX-License-Identifier: GPL-3.0-or-later
;;; Copyright © 2021 Mathieu Othacehe <m.othacehe@gmail.com>

(define-module (nongnu ci)
  #:use-module (gnu ci)
  #:use-module (gnu system image)
  #:use-module (nongnu system install)
  #:use-module (srfi srfi-1)
  #:export (cuirass-jobs))

(define (cuirass-jobs store arguments)
  (define systems
    (arguments->systems arguments))

  (append-map
   (lambda (system)
     (list
      (image->job store
                  (image-with-os iso9660-image
                                 installation-os-nonfree)
                  #:name "nonfree-iso9660-image"
                  #:system system)))
   systems))