* how to set up a daily build of a package?
@ 2017-07-23 12:36 joakim
2017-07-23 12:56 ` Ricardo Wurmus
0 siblings, 1 reply; 3+ messages in thread
From: joakim @ 2017-07-23 12:36 UTC (permalink / raw)
To: guix-devel
Hello,
I would like to set up a daily build of a package, for example Emacs,
Inkscape, and eventually Krita.
I would like to have a server make these builds, for example triggered
by a Jenkins server or something similar. Then I would like to use these
packages on other machines using the Guix substitute download feature.
I'm new to Guix. At the moment I'm at the stage that I'm able to build
and use Guile and download substitutes from Hydra. So as you see there
are still some ways to go before I begin to approach my goal. Any hints
would be appreciated.
--
Joakim Verona
joakim@verona.se
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to set up a daily build of a package?
2017-07-23 12:36 how to set up a daily build of a package? joakim
@ 2017-07-23 12:56 ` Ricardo Wurmus
2017-07-24 9:17 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Ricardo Wurmus @ 2017-07-23 12:56 UTC (permalink / raw)
To: joakim; +Cc: guix-devel
joakim@verona.se writes:
> I would like to set up a daily build of a package, for example Emacs,
> Inkscape, and eventually Krita.
>
> I would like to have a server make these builds, for example triggered
> by a Jenkins server or something similar. Then I would like to use these
> packages on other machines using the Guix substitute download feature.
You can use Cuirass for this. GuixSD comes with a cuirass-service,
which you can pass a specification to only build the subset of packages
you are interested in. You can configure it to fetch the Guix sources
from the repository in regular intervals.
The most comprehensive example is probably the bayfront server
configuration in the maintenance repository:
http://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/bayfront.scm
It’s much more than what you need, but maybe you’ll find this helpful.
There has also been a post the mailing list by Mathieu O a couple of
months ago about how to set up Cuirass to build a manifest.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: how to set up a daily build of a package?
2017-07-23 12:56 ` Ricardo Wurmus
@ 2017-07-24 9:17 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-07-24 9:17 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: guix-devel, joakim
Hi Joakim!
Ricardo Wurmus <rekado@elephly.net> skribis:
> joakim@verona.se writes:
>
>> I would like to set up a daily build of a package, for example Emacs,
>> Inkscape, and eventually Krita.
>>
>> I would like to have a server make these builds, for example triggered
>> by a Jenkins server or something similar. Then I would like to use these
>> packages on other machines using the Guix substitute download feature.
>
> You can use Cuirass for this.
Another option, depending on your needs, is to have your Jenkins job
build the thing for you. Let’s say you want to build Emacs from a
checkout, your Jenkins job could run:
guix build emacs --with-source=./emacs
where ./emacs contains a checkout of Emacs.
If, in addition, your build machine runs ‘guix publish’, then you can
get binaries from there.
HTH!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-24 9:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-23 12:36 how to set up a daily build of a package? joakim
2017-07-23 12:56 ` Ricardo Wurmus
2017-07-24 9:17 ` Ludovic Courtès
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.