* Preliminary continuous integration support for Codeberg
@ 2024-12-13 17:38 Ludovic Courtès
2024-12-13 18:47 ` Suhail Singh
0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2024-12-13 17:38 UTC (permalink / raw)
To: guix-science; +Cc: Romain GARBAGE
Hello there!
You might remember that the starting point of the whole Guix-Science
migration was an aspiration for CI: being able to build stuff from pull
requests before they’re merged¹.
Romain has now implemented Forgejo support in Cuirass² (Forgejo is the
software behind Codeberg) and we deployed it³ earlier today at
https://guix.bordeaux.inria.fr — we like to live on the bleeding edge.
The good news is that guix.bordeaux.inria.fr has already had its first
jobsets created from pull requests! 🥳 In the Codeberg web interface,
all we had to do was to configure webhooks in the project settings
(those of guix-science/guix-science{,-nonfree}).
Currently there’s no feedback from Cuirass to Forgejo; doing that would
be the next step. For gitlab.inria.fr, Romain came up with a crude but
helpful bot⁴ that polls Cuirass and posts messages to the relevant pull
requests; to do that, it’s disguised as a GitLab-CI pipeline⁵ whose
success indicates that the pull request can be merged. A bit of a Rube
Goldberg machine, yet probably a good source of inspiration for the next
step.
Thoughts, ideas, and feedback welcome!
Ludo’.
¹ https://lists.gnu.org/archive/html/guix-science/2024-09/msg00000.html
² https://issues.guix.gnu.org/74769
³ https://gitlab.inria.fr/guix-hpc/sysadmin/-/commit/49a9179c6487b40e0eb2b02f5eedcf789c9427a1
⁴ https://gitlab.inria.fr/guix-hpc/ci-tools
⁵ https://gitlab.inria.fr/guix-hpc/guix-hpc/-/blob/master/.gitlab-ci.yml?ref_type=heads
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Preliminary continuous integration support for Codeberg
2024-12-13 17:38 Preliminary continuous integration support for Codeberg Ludovic Courtès
@ 2024-12-13 18:47 ` Suhail Singh
2024-12-14 10:53 ` Ludovic Courtès
2024-12-14 18:04 ` Cayetano Santos
0 siblings, 2 replies; 6+ messages in thread
From: Suhail Singh @ 2024-12-13 18:47 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-science, Romain GARBAGE
Ludovic Courtès <ludovic.courtes@inria.fr> writes:
> Romain has now implemented Forgejo support in Cuirass² (Forgejo is the
> software behind Codeberg) and we deployed it³ earlier today at
> https://guix.bordeaux.inria.fr — we like to live on the bleeding edge.
>
> The good news is that guix.bordeaux.inria.fr has already had its first
> jobsets created from pull requests! 🥳 In the Codeberg web interface,
> all we had to do was to configure webhooks in the project settings
> (those of guix-science/guix-science{,-nonfree}).
>
> ...
>
> ² https://issues.guix.gnu.org/74769
> ³ https://gitlab.inria.fr/guix-hpc/sysadmin/-/commit/49a9179c6487b40e0eb2b02f5eedcf789c9427a1
Is my understanding correct that in order for a third-party channel to
make use of this, one needs to first configure a cuirass instance that's
aware of it?
Relatedly, is there an OCI container image with Guix installed that's
published on a registry such that it can be used within something like
Woodpecker-CI?
--
Suhail
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Preliminary continuous integration support for Codeberg
2024-12-13 18:47 ` Suhail Singh
@ 2024-12-14 10:53 ` Ludovic Courtès
2024-12-14 18:04 ` Cayetano Santos
1 sibling, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2024-12-14 10:53 UTC (permalink / raw)
To: Suhail Singh; +Cc: guix-science, Romain GARBAGE
Hi,
Suhail Singh <suhailsingh247@gmail.com> skribis:
> Is my understanding correct that in order for a third-party channel to
> make use of this, one needs to first configure a cuirass instance that's
> aware of it?
Yes. This setup is specific to channels under the Guix-Science
umbrella; it can be replicated, but you’d need to set up a Cuirass
instance.
> Relatedly, is there an OCI container image with Guix installed that's
> published on a registry such that it can be used within something like
> Woodpecker-CI?
Not that I know of, unfortunately. I tried to do that for GitLab-CI and
failed: <https://mail.gnu.org/archive/html/help-guix/2024-02/msg00066.html>.
<https://gitlab.com/daym/guix-on-docker/> might be a good start.
Ludo’.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Preliminary continuous integration support for Codeberg
2024-12-13 18:47 ` Suhail Singh
2024-12-14 10:53 ` Ludovic Courtès
@ 2024-12-14 18:04 ` Cayetano Santos
2024-12-14 18:08 ` Suhail Singh
1 sibling, 1 reply; 6+ messages in thread
From: Cayetano Santos @ 2024-12-14 18:04 UTC (permalink / raw)
To: Suhail Singh; +Cc: Ludovic Courtès, guix-science, Romain GARBAGE
>ven. 13 déc. 2024 at 13:47, Suhail Singh <suhailsingh247@gmail.com> wrote:
> Relatedly, is there an OCI container image with Guix installed that's
> published on a registry such that it can be used within something like
> Woodpecker-CI?
I’m a regular and happy user of sourcehut’s guix image, in case it helps.
--
Cayetano Santos
cayetano.santos@cnrs.fr
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-12-14 18:38 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-13 17:38 Preliminary continuous integration support for Codeberg Ludovic Courtès
2024-12-13 18:47 ` Suhail Singh
2024-12-14 10:53 ` Ludovic Courtès
2024-12-14 18:04 ` Cayetano Santos
2024-12-14 18:08 ` Suhail Singh
2024-12-14 18:38 ` Cayetano Santos
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.