GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Ludovic Courtès (civodul@toot.aquilenet.fr)'s status on Sunday, 22-Dec-2024 00:36:25 JST Ludovic Courtès Ludovic Courtès
    • Simon Josefsson

    “Guix Container Images for GitLab CI/CD” by @jas:
    https://blog.josefsson.org/2024/12/18/guix-container-images-for-gitlab-ci-cd/

    Notice that ‘.gitlab-ci.yml’ first installs Guix on Debian, then runs ‘guix pack guix’ to produce a standalone Guix image, and finally runs builds in that image.
    https://gitlab.com/debdistutils/guix/container/-/blob/main/.gitlab-ci.yml?ref_type=heads

    #Guix

    In conversation about 10 months ago from toot.aquilenet.fr permalink

    Attachments


    1. Domain not in remote thumbnail source whitelist: gitlab.com
      .gitlab-ci.yml · main · debdistutils / guix / container · GitLab
      GitLab.com
    • Ronaldo V. Lobato repeated this.
    • Embed this notice
      Ludovic Courtès (civodul@toot.aquilenet.fr)'s status on Sunday, 22-Dec-2024 00:39:46 JST Ludovic Courtès Ludovic Courtès
      in reply to
      • Simon Josefsson

      @jas Some of the key insights from Simon:

      1. The image must have relatively few layers (‘guix pack --max-layers=8’ works);

      2. /etc must not be a symlink of GitLab’s Docker overwrites it. 🙃

      https://mail.gnu.org/archive/html/help-guix/2024-12/msg00141.html

      In conversation about 10 months ago permalink
    • Embed this notice
      Ludovic Courtès (civodul@toot.aquilenet.fr)'s status on Sunday, 22-Dec-2024 06:35:58 JST Ludovic Courtès Ludovic Courtès
      in reply to
      • Vivien, cyberconcombre
      • Simon Josefsson

      @gugurumbe No, it doesn’t, but note that this is running in a throwaway container.

      (Kudos to fellow opam hackers for this interesting *cough* issue!)

      @jas

      In conversation about 10 months ago permalink
    • Embed this notice
      Vivien, cyberconcombre (gugurumbe@mastouille.fr)'s status on Sunday, 22-Dec-2024 06:36:00 JST Vivien, cyberconcombre Vivien, cyberconcombre
      in reply to
      • Simon Josefsson

      @civodul @jas
      “guix-daemon --disable-chroot”
      This does not spark joy.
      https://github.com/camlp5/camlp5/issues/18
      Oops, your package build script may run rm -rf / :giggle:
      https://github.com/ocaml/opam/issues/3231
      Kindly provided by the opam manual FAQ
      https://opam.ocaml.org/doc/FAQ.html#Why-does-opam-require-bwrap

      In conversation about 10 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        make uninstall can execute rm -rf / · Issue #18 · camlp5/camlp5
        make uninstall executes rm -rf / if it is executed just after ./configure fails. This happens for instance when I try to install the camlp5 opam package in a 4.06.1 switch: this version of OCaml is...
      2. Domain not in remote thumbnail source whitelist: opengraph.githubassets.com
        opam caused a significant portion of my home directory to be deleted · Issue #3231 · ocaml/opam
        It's not entirely clear exactly what happened, as most of my files have been lost, and my programs corrupted, but I have the log from right before the problem occurred: > opam init --no-setup --com...
      3. No result found on File_thumbnail lookup.
        opam - FAQ
        from OCamlPro
        The homepage of opam, a package manager for OCaml
    • Embed this notice
      Ludovic Courtès (civodul@toot.aquilenet.fr)'s status on Monday, 23-Dec-2024 02:58:57 JST Ludovic Courtès Ludovic Courtès
      in reply to
      • Mehrad :kde: :emacs: :rstats:
      • Simon Josefsson

      @Mehrad @jas You mean to build the image? It’s hard to tell.

      In conversation about 10 months ago permalink
    • Embed this notice
      Mehrad :kde: :emacs: :rstats: (mehrad@fosstodon.org)'s status on Monday, 23-Dec-2024 02:58:58 JST Mehrad :kde: :emacs: :rstats: Mehrad :kde: :emacs: :rstats:
      in reply to
      • Simon Josefsson

      @civodul @jas
      Is there any statistics on how much time/resources does it take to have Debian+Guix compared to Guix operating system?

      In conversation about 10 months ago permalink
    • Embed this notice
      Mehrad :kde: :emacs: :rstats: (mehrad@fosstodon.org)'s status on Monday, 23-Dec-2024 09:57:39 JST Mehrad :kde: :emacs: :rstats: Mehrad :kde: :emacs: :rstats:
      in reply to
      • Simon Josefsson

      @civodul @jas
      Yes, to have the image as pure Guix rather than Guix on top of Debian.

      I'm by no means an expert in either case, but as the end user it sounds more cohesive to deal with one OS and package manager, than a mixture.

      In conversation about 10 months ago permalink
    • Embed this notice
      Simon Josefsson (jas@fosstodon.org)'s status on Monday, 23-Dec-2024 09:57:39 JST Simon Josefsson Simon Josefsson
      in reply to
      • Mehrad :kde: :emacs: :rstats:

      @Mehrad @civodul Building a Debian+Guix image takes around 25 minutes on a large GitLab runner node. Building the pure Guix image takes around 6 minutes, also on a large GitLab runner node. The Debian+Guix image is used to prepare the native Guix-only image. I have not yet tried to build another Guix-only image from the Guix-only image I have prepared, that is issue #1 and I think it is trivial. https://gitlab.com/debdistutils/guix/container/-/issues/1

      In conversation about 10 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: gitlab.com
        Consider building the images from a native Guix rather than Debian+Guix image (#1) · Issues · debdistutils / guix / container · GitLab
        Images are currently built using guix pack followed by podman load -i and a podman push, all running in a Debian image after a
    • Embed this notice
      Simon Josefsson (jas@fosstodon.org)'s status on Monday, 23-Dec-2024 09:59:43 JST Simon Josefsson Simon Josefsson
      in reply to
      • Mehrad :kde: :emacs: :rstats:

      @Mehrad @civodul Latest successful container build is done here: https://gitlab.com/debdistutils/guix/container/-/jobs/8679061592

      In conversation about 10 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: gitlab.com
        pack-amd64-latest (#8679061592) · Jobs · debdistutils / guix / container · GitLab
        GitLab.com
    • Embed this notice
      Ludovic Courtès (civodul@toot.aquilenet.fr)'s status on Monday, 23-Dec-2024 20:16:55 JST Ludovic Courtès Ludovic Courtès
      in reply to
      • Mehrad :kde: :emacs: :rstats:
      • Simon Josefsson

      @jas It might be slightly faster to upload directly with Skopeo instead of doing ‘podman load’ (which needs to extract each layer) + ‘podman push’.

      @Mehrad

      In conversation about 10 months ago permalink
    • Embed this notice
      Ludovic Courtès (civodul@toot.aquilenet.fr)'s status on Monday, 23-Dec-2024 20:19:17 JST Ludovic Courtès Ludovic Courtès
      in reply to
      • Mehrad :kde: :emacs: :rstats:
      • Simon Josefsson

      @jas BTW, I like that idea of rebootstrapping Debian on top of Guix. I’m curious to see how it goes!

      I guess one could start in ‘guix shell -CF …’, where the ellipsis is replaced by a suitable list of base packages.

      @Mehrad

      In conversation about 10 months ago permalink
    • Embed this notice
      Simon Josefsson (jas@fosstodon.org)'s status on Tuesday, 24-Dec-2024 07:16:58 JST Simon Josefsson Simon Josefsson
      in reply to
      • Mehrad :kde: :emacs: :rstats:

      @civodul @Mehrad The `podman load` barely takes any time at all, but indeed I want to use skopeo or podman from a native Guix config. I'm getting errors though, ideas? Maybe just a mkdir... https://gitlab.com/debdistutils/guix/container/-/jobs/8714694003

      In conversation about 10 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: gitlab.com
        stage2 (#8714694003) · Jobs · debdistutils / guix / container · GitLab
        GitLab.com
    • Embed this notice
      Ludovic Courtès (civodul@toot.aquilenet.fr)'s status on Tuesday, 24-Dec-2024 07:59:18 JST Ludovic Courtès Ludovic Courtès
      in reply to
      • Mehrad :kde: :emacs: :rstats:
      • Simon Josefsson

      @jas Either that or ‘export TMPDIR=/tmp’?
      @Mehrad

      In conversation about 10 months ago permalink
    • Embed this notice
      Ludovic Courtès (civodul@toot.aquilenet.fr)'s status on Thursday, 26-Dec-2024 23:18:11 JST Ludovic Courtès Ludovic Courtès
      in reply to
      • Simon Josefsson
      • Sharlatan

      @sharlatan Nice! I tried ~5 years ago but back then it was too much work. I think the situation has improved a lot.

      @jas

      In conversation about 10 months ago permalink
    • Embed this notice
      Sharlatan (sharlatan@mastodon.social)'s status on Thursday, 26-Dec-2024 23:18:12 JST Sharlatan Sharlatan
      in reply to
      • Simon Josefsson

      @civodul @jas I plan to package GitLab runner (a lot of #golang) in next cycle for #guix go-team

      In conversation about 10 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.