guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Continuous integration - automatic EMAIL


From: Ludovic Courtès
Subject: Re: Continuous integration - automatic EMAIL
Date: Mon, 12 Oct 2020 14:06:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Hi!

Mathieu Othacehe <othacehe@gnu.org> skribis:

>> Please, can we have the build servers send build failures to guix-devel
>> instead of hoping that people check manually?  I have other things to do
>> in my life than to poll random servers every few hours.
>
> That feature is definitely on my list. Fixing Cuirass and improving the
> build throughput is already a hard task, but I'm getting there. In the
> meantime, if people want to join Cuirass debugging party, they are more
> than welcome!

Here’s my contribution: a Guile module using Mailutils to compose and
send messages:

  https://wiki.gnu.tools/git/gnu-tools-wiki/tree/code/modules/email.scm

The only thing that’s missing is a proper setup for outgoing mail from
guix.gnu.org, presumably with OpenSMTPD.  The config is here:

  https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/berlin.scm

If someone would like to help, please send a patch!  :-)  We can also
adjust the MX record for guix.gnu.org at our will:

  
https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/modules/sysadmin/dns.scm


Caveat: my experience with Hydra is that you immediately receive too
much mail.  Initially Hydra would send one message per failed build,
which was then changed to one message at each status change (from
“success” to “failure” and vice versa), but that was still too much.  I
think eventually it was change to email only the committers of the
offending commits, which is probably the best option.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]