From: Marius Bakke <marius@gnu.org>
To: 41828@debbugs.gnu.org
Subject: [bug#41828] [PATCH 1/2] ci: Add a 'staging' jobset.
Date: Fri, 12 Jun 2020 16:34:33 +0200 [thread overview]
Message-ID: <20200612143434.14476-1-marius@gnu.org> (raw)
In-Reply-To: <20200612143104.13986-1-marius@gnu.org>
* gnu/ci.scm (%staging-packages): New variable.
(hydra-jobs): Add case for 'staging and use it.
---
gnu/ci.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/gnu/ci.scm b/gnu/ci.scm
index fa67168e22..ee8faffd3b 100644
--- a/gnu/ci.scm
+++ b/gnu/ci.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2018, 2019 Clément Lassieur <clement@lassieur.org>
+;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -125,6 +126,14 @@ SYSTEM."
%guile-bootstrap-tarball
%bootstrap-tarballs))
+(define %staging-packages
+ ;; Selected packages intended to be used for the staging jobset in between
+ ;; freeze cycles to avoid building everything all the time, yet still
+ ;; exercise the package graphs enough to catch regressions.
+ (map specification->package
+ '("guix" "emacs" "diffoscope" "network-manager" "syncthing"
+ "alacritty" "git" "git-annex" "krita" "qemu" "grub-hybrid")))
+
(define (packages-to-cross-build target)
"Return the list of packages to cross-build for TARGET."
;; Don't cross-build the bootstrap tarballs for MinGW.
@@ -499,6 +508,12 @@ Return #f if no such checkout is found."
package system))
%core-packages)
(cross-jobs store system)))
+ ((staging)
+ ;; Build a small, but heavy sample only.
+ (append (map (lambda (package)
+ (package-job store (job-name package)
+ package system))
+ %staging-packages)))
((hello)
;; Build hello package only.
(if (string=? system (%current-system))
--
2.26.2
next prev parent reply other threads:[~2020-06-12 14:35 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-12 14:31 [bug#41828] [PATCH 0/2] Branching and rebuilding strategy changes Marius Bakke
2020-06-12 14:34 ` Marius Bakke [this message]
2020-06-12 14:34 ` [bug#41828] [PATCH 2/2] doc: Adjust branching and rebuilding strategy to match reality Marius Bakke
2020-06-13 16:56 ` [bug#41828] [PATCH 0/2] Branching and rebuilding strategy changes Ludovic Courtès
2020-06-22 1:17 ` bug#41828: " Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200612143434.14476-1-marius@gnu.org \
--to=marius@gnu.org \
--cc=41828@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).