From c5cf45e9068e4c1f97f7357a3c051b2ad19f5e25 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Thu, 1 Oct 2020 15:57:27 +0200 Subject: ci: Add log and outputs keys. Add 'log and 'outputs properties to hydra objects. This way Cuirass won't have to go through every derivation to add those properties. * gnu/ci.scm (package->alist, image-jobs, system-test-jobs, tarball-jobs): Add 'log and 'outputs properties. * build-aux/hydra/guix-modular.scm (build-job): Ditto. --- build-aux/hydra/guix-modular.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'build-aux') diff --git a/build-aux/hydra/guix-modular.scm b/build-aux/hydra/guix-modular.scm index c70e9d8d55..060b84b8ef 100644 --- a/build-aux/hydra/guix-modular.scm +++ b/build-aux/hydra/guix-modular.scm @@ -48,6 +48,12 @@ for SYSTEM. Use VERSION as the version identifier." #:pull-version 1 #:guile-version "2.2")))) `((derivation . ,(derivation-file-name drv)) ;the latest 2.2.x + (log . ,(log-file store (derivation-file-name drv))) + (outputs . ,(filter-map (lambda (res) + (match res + ((name . path) + `(,name . ,path)))) + (derivation->output-paths drv))) (nix-name . ,(derivation-name drv)) (system . ,(derivation-system drv)) (description . "Modular Guix") -- cgit 1.4.1