From: Mathieu Lirzin <mthl@gnu.org>
To: David Craven <david@craven.ch>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [GSoC] Continuous integration tool à la Hydra.
Date: Sun, 07 Aug 2016 01:45:04 +0200 [thread overview]
Message-ID: <874m6xsbr3.fsf@gnu.org> (raw)
In-Reply-To: <CAL1_im==jxbw0c3HdHQJO4=0Mx_yETF9tJ+PwFgqM_z8LvWrBQ@mail.gmail.com> (David Craven's message of "Sat, 6 Aug 2016 13:05:15 +0200")
Hello David,
David Craven <david@craven.ch> writes:
> Are you already working on a package/service for guix?
This would indeed be the goal, however I am not there yet.
> I'd like to deploy it to my server to avoid silly mistakes
> like in my last two pushes to master...
>
> Does it rebuild from commit individually or only HEAD?
> This would be nice to check for rebase mistakes where
> HEAD builds but a commit doesn't.
That would make sense as an option, however the current model is
simplistic and only evaluates the new HEAD commit.
> Does it already support building packages for all guix
> supported systems?
For now, you have to modify the 'gnu-system.scm' file to your needs to
achieve that. basically you need to define another "subset" case in
'gnu-system.scm' and adjust the '#:arguments' value in the job
specification.
> ```
> (define (local-file file)
> ;; In the common case jobs will be defined relative to the repository.
> ;; However for testing purpose use local gnu-system.scm instead.
> (string-append (dirname (current-filename)) "/" file))
> (define hello-master
> `((#:name . "guix")
> (#:url . "git://git.savannah.gnu.org/guix.git")
> (#:load-path . ".")
> (#:file . ,(local-file "gnu-system.scm"))
> (#:proc . hydra-jobs)
> (#:arguments (subset . "hello"))
> (#:branch . "master")))
> (list hello-master)
> ```
>
> Can I also define custom jobs like running guix --rounds=2 and
> guix lint?
Likewise. However this would require more work. :)
I guess the future approach will be to define both the scheme code
running on the client side and on the build (remote) side in the job
specification. I mean something similar to what Guix is doing for its
package definitions. The details are not defined yet.
Thanks for your questions.
--
Mathieu Lirzin
next prev parent reply other threads:[~2016-08-06 23:45 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-06 11:05 [GSoC] Continuous integration tool à la Hydra David Craven
2016-08-06 16:19 ` Mark H Weaver
2016-08-06 16:23 ` David Craven
2016-08-06 16:58 ` David Craven
2016-08-06 23:45 ` Mathieu Lirzin [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-05-29 20:10 Mathieu Lirzin
2016-05-30 21:34 ` Ludovic Courtès
2016-05-30 21:54 ` Ludovic Courtès
2016-06-20 22:44 ` Mathieu Lirzin
2016-06-24 12:42 ` Ludovic Courtès
2016-07-25 0:30 ` Mathieu Lirzin
2016-07-25 21:36 ` Ludovic Courtès
2016-07-27 14:28 ` Mathieu Lirzin
2016-07-28 12:38 ` Ludovic Courtès
2016-07-29 11:20 ` Florian Paul Schmidt
2016-07-29 19:26 ` Mathieu Lirzin
2016-07-30 22:49 ` Ludovic Courtès
2016-07-31 7:09 ` Florian Paul Schmidt
2016-07-31 12:03 ` Mathieu Lirzin
2016-08-01 18:55 ` Florian Paul Schmidt
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=874m6xsbr3.fsf@gnu.org \
--to=mthl@gnu.org \
--cc=david@craven.ch \
--cc=guix-devel@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).