all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using gitlab-ci to maintain a channel?
@ 2024-02-16 21:28 Hartmut Goebel
  2024-02-24 16:41 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Hartmut Goebel @ 2024-02-16 21:28 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: Type: text/html, Size: 2090 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using gitlab-ci to maintain a channel?
  2024-02-16 21:28 Using gitlab-ci to maintain a channel? Hartmut Goebel
@ 2024-02-24 16:41 ` Ludovic Courtès
  2024-03-01 15:33   ` Hartmut Goebel
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2024-02-24 16:41 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: Guix-devel

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’.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Using gitlab-ci to maintain a channel?
  2024-02-24 16:41 ` Ludovic Courtès
@ 2024-03-01 15:33   ` Hartmut Goebel
  0 siblings, 0 replies; 3+ messages in thread
From: Hartmut Goebel @ 2024-03-01 15:33 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Guix-devel

Hi Ludo,

thanks for the answer. Looks like I need to go with Cuirass. But more 
probably I'll abandon the idea for now since its a spare-time project only.


-- 
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-01 15:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-16 21:28 Using gitlab-ci to maintain a channel? Hartmut Goebel
2024-02-24 16:41 ` Ludovic Courtès
2024-03-01 15:33   ` Hartmut Goebel

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.