From: divoplade <d@divoplade.fr>
To: "Jérémy Korwin-Zmijowski" <jeremy@korwin-zmijowski.fr>,
"Guix Help" <help-guix@gnu.org>
Subject: Re: Gitlab CI
Date: Thu, 25 Jun 2020 23:32:26 +0200 [thread overview]
Message-ID: <d9a86a3a5c1d90b8d020c922706378394d0b57c2.camel@divoplade.fr> (raw)
In-Reply-To: <6aa363c1fac60b165e222ecb0b18bf9b1f019231.camel@korwin-zmijowski.fr>
[-- Attachment #1: Type: text/plain, Size: 1850 bytes --]
Hello Jérémy,
I have a new solution (it is quite different from the previous one) in
which it is possible to run guix commands within a job, while still
caching most of the files (see attached). I am sorry, my fork of your
project is already a mess so I prefer to put the file in its entirety
here.
Anyways, everything will be way easier once we have a proper debian
package for guix:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850644
divoplade
Le samedi 20 juin 2020 à 10:42 +0200, Jérémy Korwin-Zmijowski a écrit :
> Hey Guixters !
>
> I am experimenting with Gitlab CI for a Guile project I am working
> on.
> It is managed with Hall and I would like to benefit the Guix
> features.
>
> Currently, I struggle to run Guix inside the default Debian stable
> docker image (framagit.org).
>
> Here is my .gitlab-ci.yml :
>
> before_script:
> - apt -qq update
> - apt -qq install -y wget gpg xz-utils
> - wget
>
> https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh
> - chmod +x guix-install.sh
> - wget https://sv.gnu.org/people/viewgpg.php?user_id=15145 -qO - |
> gpg --import -
> - printf '\n' | ./guix-install.sh
> - /root/.config/guix/current/bin/guix-daemon --build-users-
> group=guixbuild
> - guix pull
>
> stages:
> - bootstrap
> - configure
> - build
> - test
>
> job:bootstrap:
> stage: bootstrap
> script: autoreconf -vfi
>
> What I get :
>
> [1592641832.155]: [ FAIL ] unsupported init system; run the daemon
> manually:
> /root/.config/guix/current/bin/guix-daemon --build-users-
> group=guixbuild
> [1592641832.155]: [ INFO ] making the guix command available to
> other users
>
> Does anyone has done that before ?
> Is there a way to get a Guix docker image instead of the Debian one ?
>
> Have a nice weekend !
>
> Jérémy
>
>
[-- Attachment #2: .gitlab-ci.yml --]
[-- Type: application/x-yaml, Size: 2088 bytes --]
next prev parent reply other threads:[~2020-06-25 21:33 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-20 8:42 Gitlab CI Jérémy Korwin-Zmijowski
2020-06-20 13:40 ` Ricardo Wurmus
2020-06-23 8:54 ` Jérémy Korwin-Zmijowski
2020-06-20 15:05 ` divoplade
2020-06-23 10:15 ` Jérémy Korwin-Zmijowski
2020-06-23 15:24 ` Jérémy Korwin-Zmijowski
2020-06-25 12:32 ` zimoun
2020-06-25 14:10 ` Jérémy Korwin-Zmijowski
2020-06-25 21:32 ` divoplade [this message]
2020-07-06 12:25 ` Jérémy Korwin-Zmijowski
2020-07-06 16:30 ` Debian package with " divoplade
2020-07-08 9:41 ` Pierre Neidhardt
2020-07-24 14:30 ` Ludovic Courtès
2020-07-24 22:28 ` divoplade
2020-07-27 7:46 ` Ludovic Courtès
2020-07-27 16:31 ` divoplade
-- strict thread matches above, loose matches on Subject: below --
2020-07-14 16:12 Stephen Scheck
2020-07-29 15:35 Stephen Scheck
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=d9a86a3a5c1d90b8d020c922706378394d0b57c2.camel@divoplade.fr \
--to=d@divoplade.fr \
--cc=help-guix@gnu.org \
--cc=jeremy@korwin-zmijowski.fr \
/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.
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).