all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: Using gitlab-ci to maintain a channel?
Date: Sat, 24 Feb 2024 17:41:35 +0100	[thread overview]
Message-ID: <877cit7r28.fsf@gnu.org> (raw)
In-Reply-To: <05861375-730e-5933-b3ef-673cabd07475@crazy-compilers.com> (Hartmut Goebel's message of "Fri, 16 Feb 2024 22:28:30 +0100")

Hi Hartmut!

Hartmut Goebel <h.goebel@crazy-compilers.com> skribis:

> I wonder whether it's possible to maintain a channel using gitlab-ci. Any thought or experiences to share?

[...]

> * What version of guix shall be used? Always the latest one?

That’s the main conceptual issue: GitLab-CI only knows about the repo
it’s tracking, it doesn’t realize that whether the code therein builds
fine depends on the ‘guix’ channel.

To get that level of precision, you would need Cuirass, which is what we
use at work and for various scientific channels:
<https://guix.bordeaux.inria.fr>.

Now, GitLab integration is appealing, so it would still be nice to do CI
with a fixed revision of Guix, which you would occasionally manually
update.  It’s a tradeoff.

> * The runners need a docker image. Where to I get one? Possibly containing a warmed-up cache? (Using a Debian docker image and
>  installing guix into it on every run sounds like a bad idea.)

As I mentioned on help-guix a few days (weeks?) ago, I haven’t found a
way to build such an image with Guix, but I’d like to find one!

Another option is to use, say, Debian as the base image, and to install
Guix on top of it.

> * OTOH /gnu/tore could be cached. How much data would this typically be?
> * How to clean the cache from unreachable items?
> * How to publish the substitutes?

I don’t think you could publish substitutes in that setup, unless
GitLab-CI offload builds to an actual machine that has ‘guix publish’
running on it.

HTH,
Ludo’.


  reply	other threads:[~2024-02-24 16:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-16 21:28 Using gitlab-ci to maintain a channel? Hartmut Goebel
2024-02-24 16:41 ` Ludovic Courtès [this message]
2024-03-01 15:33   ` Hartmut Goebel

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877cit7r28.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=h.goebel@crazy-compilers.com \
    /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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.