unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: phillip.lord@russet.org.uk (Phillip Lord)
To: Toon Claes <toon@iotcl.com>
Cc: emacs-devel@gnu.org
Subject: Re: Continuous integration
Date: Fri, 07 Apr 2017 17:11:55 +0100	[thread overview]
Message-ID: <87wpawurhw.fsf@russet.org.uk> (raw)
In-Reply-To: <m237doorhk.fsf@iotcl.com> (Toon Claes's message of "Tue, 4 Apr 2017 22:19:37 +0200 (CEST)")

Toon Claes <toon@iotcl.com> writes:

> phillip.lord@russet.org.uk (Phillip Lord) writes:
>
>> I have the buildbot installation up now. Slightly harder work than I
>> hoped, but not too bad.
>>
>> http://emacs.bioswarm.net:8010
>
> This file probably can be improved in many ways, but I got a successful
> build. You can visit the build log here:
>
> https://gitlab.com/emacs-ci/emacs/builds/13595493

It's very nice, I think nicer that buildbot, especially as it seems to
have got branches sorted out properly.


>> Currently, it's running a single build (full build from clean, through
>> to tests). It will build any branch (following a change). The build
>> takes about 60 mins (or 30 mins with parallel builds). In practice, I'd
>> probably add a "incremental recompile and test" job which would be much
>> quicker. The builds are running on the master which is probably not
>> ideal.
>
> That's great work Phil! I still have to figure out everything it does,
> but it seems to be very comprehensive.
>
> The set up at GitLab.com is doing quite the same at the moment. Doing
> incremental recompilation would be quite hard on GitLab, because each
> build is done in a clean Docker container, so you'll have to export
> artifacts and reuse them each time.
>
> GitLab has a feature called pipelines, which allows you to chain builds
> together in stages. So this could be an example pipeline:
>
> test --> build some GNU/Linux distro
>      \
>       -> build macOS
>      \
>       -> build Windows
>
> The build stages won't be executed if the test stage failed.
> If I understand it correctly, buildbot does something similar?

I can do anything I like with buildbot. It's programmatic. The flip side
is, of course, you have to program it; it's not very declarative.


> At the moment I only have configured 1 stage on GitLab, because only 1
> was needed at the moment. The build stages shown in the flowchart above
> can be added in a later stage to make regular builds for different
> platforms automatically.
>
> At first sight, also the concept of Workers on buildbot (called Runners
> on GitLab) are quite similar.
>
> What I do not yet understand is what the Builders are, and what the
> difference is between full and quick?


"Builders" are different ways of building things. So, you might have one
specific to windows, or one which runs tests and one which does not.

I've tried to set it up to do an incremental build (that's what "quick"
is). But, I haven't done it right. It's building all branches, but
doesn't understand them. So it's doing subsequent incremental builds on
different branches in the same working directory which is causing the
sorts of breakages that you would expect. Having incremental builds
working is kind of important, I think because the bootstrap is so
slow. Working out how to clean them next time after a failure is
important though.

Phil



  parent reply	other threads:[~2017-04-07 16:11 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-21 15:45 Continuous integration Andreas Politz
2017-03-21 16:11 ` Phillip Lord
2017-03-21 19:46   ` Michael Albinus
2017-03-21 20:40     ` Phillip Lord
2017-03-22  7:00       ` Michael Albinus
2017-03-22  8:46 ` Toon Claes
2017-03-22 12:16   ` Thien-Thi Nguyen
2017-03-22 16:42     ` Richard Stallman
2017-03-31 13:19       ` Thien-Thi Nguyen
2017-04-02 19:48         ` Richard Stallman
2017-05-23 20:07           ` Toon Claes
2017-03-31 13:20       ` Thien-Thi Nguyen
2017-03-22 13:14   ` Ted Zlatanov
2017-03-22 14:19     ` Alex
2017-03-22 15:38       ` Toon Claes
2017-03-22 15:17     ` Thien-Thi Nguyen
2017-03-31 17:30       ` John Wiegley
2017-03-31 18:24         ` Stefan Monnier
2017-04-02  1:44           ` Mike Gerwitz
2017-04-01 23:31         ` Richard Stallman
2017-03-22 15:36     ` Toon Claes
2017-03-22 18:51       ` Phillip Lord
2017-03-22 15:41     ` Eli Zaretskii
2017-03-22 15:59       ` Toon Claes
2017-03-22 18:49     ` Phillip Lord
2017-03-23  0:17       ` raman
2017-03-23 14:22         ` Phillip Lord
2017-03-23 17:11           ` T.V Raman
2017-03-23 17:55             ` Phillip Lord
2017-03-23 21:29               ` Toon Claes
2017-03-23 22:05                 ` Chad Brown
2017-03-24  5:15                   ` Yuri Khan
2017-03-24 10:37                   ` Phillip Lord
2017-03-24 15:22                     ` raman
2017-03-24 16:31                     ` Ted Zlatanov
2017-03-24 18:07                       ` Phillip Lord
2017-03-24 18:37                         ` Stefan Monnier
2017-03-24 19:09                           ` Eli Zaretskii
2017-03-27 10:30                           ` Phillip Lord
2017-03-24 18:59                         ` Eli Zaretskii
2017-03-24 21:35                           ` Phillip Lord
2017-03-25  6:37                             ` Eli Zaretskii
2017-03-24 21:46                           ` Ted Zlatanov
2017-03-27 10:49                             ` Phillip Lord
2017-03-27  9:54                         ` Toon Claes
2017-03-27 13:32                           ` Ted Zlatanov
2017-03-30  9:47                           ` Phillip Lord
2017-03-30 14:47                             ` Lars Brinkhoff
2017-03-30 17:42                               ` Phillip Lord
2017-04-04 20:19                             ` Toon Claes
2017-04-06 13:30                               ` Ted Zlatanov
2017-04-06 14:23                                 ` Toon Claes
2017-04-07 16:06                                 ` Richard Stallman
2017-04-09 12:25                                   ` Lars Brinkhoff
2017-04-09 16:35                                     ` Glenn Morris
2017-04-09 18:01                                       ` Lars Brinkhoff
2017-05-31 18:26                                         ` Ted Zlatanov
2017-05-31 19:25                                           ` John Wiegley
2017-06-01 12:59                                             ` Phillip Lord
2017-07-14 20:08                                             ` Ted Zlatanov
2017-07-16 21:36                                               ` Dmitry Gutov
2017-07-17 14:43                                                 ` Ted Zlatanov
2017-07-17 14:36                                               ` request for votes for continuous integration system Ted Zlatanov
2017-08-11 17:36                                                 ` John Wiegley
2017-08-11 19:38                                                   ` Ted Zlatanov
2017-08-11 21:41                                                     ` Nicolas Petton
2017-08-11 23:08                                                       ` Ted Zlatanov
2017-08-11 23:49                                                     ` John Wiegley
2017-12-09 23:59                                                       ` Ted Zlatanov
2017-12-19 19:52                                                         ` Ian Kelling
2017-08-13  7:13                                                     ` Toon Claes
2017-08-13  7:18                                                       ` Paul Eggert
2017-08-14  2:22                                                         ` Ted Zlatanov
2017-08-18 15:06                                                     ` Richard Stallman
2017-08-18 15:35                                                       ` Ted Zlatanov
2017-05-31 20:28                                           ` Continuous integration Dmitry Gutov
2017-05-31 23:19                                           ` Stephen Leake
2017-06-04 13:23                                           ` Philipp Stephani
2017-04-11 13:18                                       ` Ted Zlatanov
2017-04-11 13:37                                         ` Stefan Monnier
2017-04-11 13:51                                           ` Lars Brinkhoff
2017-04-11 14:34                                           ` Ted Zlatanov
2017-04-11 16:48                                           ` Phillip Lord
2017-04-07 16:11                               ` Phillip Lord [this message]
2017-03-29  5:01                         ` John Wiegley
2017-03-27 10:34       ` Andreas Politz
2017-03-27 12:00         ` Phillip Lord
2017-04-11  6:09 ` Lars Brinkhoff

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://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wpawurhw.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=emacs-devel@gnu.org \
    --cc=toon@iotcl.com \
    /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/emacs.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).