From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sMnKOFwBH19iZgAA0tVLHw (envelope-from ) for ; Mon, 27 Jul 2020 16:31:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 0LyJNFwBH184YgAAbx9fmQ (envelope-from ) for ; Mon, 27 Jul 2020 16:31:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6883E9403AE for ; Mon, 27 Jul 2020 16:31:24 +0000 (UTC) Received: from localhost ([::1]:56882 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k0627-00081O-0k for larch@yhetil.org; Mon, 27 Jul 2020 12:31:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k061y-00081A-5b for help-guix@gnu.org; Mon, 27 Jul 2020 12:31:14 -0400 Received: from relay12.mail.gandi.net ([217.70.178.232]:40691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k061v-0004It-DJ for help-guix@gnu.org; Mon, 27 Jul 2020 12:31:13 -0400 Received: from gnou.home (lfbn-lyo-1-1004-144.w86-194.abo.wanadoo.fr [86.194.80.144]) (Authenticated sender: d@divoplade.fr) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 0A4D9200005; Mon, 27 Jul 2020 16:31:05 +0000 (UTC) Message-ID: Subject: Re: Gitlab CI From: divoplade To: Ludovic =?ISO-8859-1?Q?Court=E8s?= Date: Mon, 27 Jul 2020 18:31:05 +0200 In-Reply-To: <87blk11jui.fsf@inria.fr> References: <6aa363c1fac60b165e222ecb0b18bf9b1f019231.camel@korwin-zmijowski.fr> <87pn8l6l4g.fsf@gnu.org> <017f3a1f7a42e28b6784c1945b5765704ed5a07e.camel@divoplade.fr> <87blk11jui.fsf@inria.fr> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.30.5-1.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.178.232; envelope-from=d@divoplade.fr; helo=relay12.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/27 12:31:07 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Help Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: 0mjoEKfIf3Hs Le lundi 27 juillet 2020 à 09:46 +0200, Ludovic Courtès a écrit : > > I prefer the solution in which the pack is a .tar.gz that is > > directly > > untarred to /; this way it can be run on a shared unprivileged > > runner > > and the storage can be achieved in the runner itself, via the > > gitlab CI > > cache. > > Ah yes, I guess that would also work, and it’s in fact less tedious. > That amounts to running https://guix.gnu.org/install.sh every time > though, no? Pretty much, except "every time" is really less often than expected, because the gitlab runner can cache files between jobs. So with an appropriate tar command, it is possible to pack the whole store plus the /var/guix and untar it at the beginning of the job (or re-run the guix install if the cache has been dropped). Or run "guix pack". There is a very unfortunate problem that running "guix pull" or guix installing something will require the "ntp" debian package, so each job requires apt-get update and apt-get install -y ntp... I am investigating how to cache the ntp package (and its dependencies) to avoid running apt-get update, but that's quite disappointing. divoplade