All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Buildroot defconfigs now being built on Travis CI
Date: Mon, 23 Nov 2015 22:33:32 +0100	[thread overview]
Message-ID: <20151123223332.3eff11d8@free-electrons.com> (raw)

Hello,

I used to build the Buildroot defconfigs with a Jenkins instance
provided by Free Electrons, but with the increasing number of
defconfigs, it started to take too much time on our build server (and
therefore less CPU time was available for autobuild.b.o testing).

So, I've moved the testing of the Buildroot defconfigs to Travis CI,
which provides essentially free CPU time to allow open-source projects
to do continuous integration.

You can see the results at:

  https://travis-ci.org/buildroot/buildroot-defconfig-testing

The last build has been fully successful, with all 95 defconfigs
building fine. I have scheduled to rebuild all defconfigs every two
days, of course only if commits have been made to Buildroot.

For the moment, notifications of build working fine or failing are just
sent to some testing IRC channel. Once the mechanism has proven to work
well for a week or two, I'll adjust the notifications so that they are
sent to the official #buildroot IRC channel, and possibly by e-mail as
well (to the mailing list or directly to interested people).
Suggestions on this are welcome.

Now, if you want the gory details of how this is implemented:

In Travis, projects are directly connected to a Github repository. The
buildroot-defconfig-testing project is not connected directly to the
Buildroot Github repository. Instead, I have created a small
intermediate project, at
https://github.com/buildroot/buildroot-defconfig-testing, which
contains the .travis.yml file (for those who don't know Travis, this is
where you describe what your continuous integration tests should do).

In this repository, a shell script called update.sh pulls the latest
Buildrooot Git repository, and updates the .travis.yml to account for
changes in the list of available defconfigs, and to adjust the
Buildroot commit to be tested. It then pushed the result, which
triggers the Travis build. This script is executed every two days,
which is how the builds get triggered.

Do not hesitate to ask if you have any questions about this.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

             reply	other threads:[~2015-11-23 21:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-23 21:33 Thomas Petazzoni [this message]
2015-11-23 21:51 ` [Buildroot] Buildroot defconfigs now being built on Travis CI Peter Korsgaard
2015-11-24 17:52   ` Thomas Petazzoni
2015-11-24 20:53     ` Peter Korsgaard
2015-11-24 22:37       ` Yann E. MORIN
2015-11-24 22:42         ` Peter Korsgaard
2015-11-24 22:53           ` Yann E. MORIN

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

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

  git send-email \
    --in-reply-to=20151123223332.3eff11d8@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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.
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.