[U-Boot-Custodians] Enabling GitLab CI builds for your trees
trini at konsulko.com
Thu Jul 18 23:56:10 UTC 2019
We've now hit the point with GitLab migration where CI support can be
enabled for your trees. To do this:
1. Head to https://gitlab.denx.de/u-boot/custodians/u-boot-$TREE/edit
and under "Visibility, project features, permissions" and then
"Repository" enable Pipelines.
2. Now you have
a valid URL. Expand the "Runners" section. You should see under Group
Runners that there's "konsulko-bootbake" listed. This is a build box
that Konsulko is donating the use of and available to everyone. It
should get everything built in around 3 hours.
That said, there's things that can be done still:
- You have the option of registering your own private runners, with the
key shown on the settings page. The way the .gitlab-ci.yml file is
set currently, if your machine is not faster than a 24 thread
"Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz" when the big build
happens, your job may go slower. It's on my TODO list to split the
world build up slightly, so that we can get more parallel builds done
but without the Travis problem of having to keep things to under 50
minutes. I think we should have 3 build jobs rather than 52, so that
particular headache should go away.
- Talk with your organization to see if they're comfortable donating a
machine to be a GitLab CI runner. As you might have guessed from the
CPU specs, the build box Konsulko is donating is not a new high-end
machine but rather a good refurbished build server. I think we spent
around 800 EUR to put this together. These machines can (and should)
be well firewalled and only really need to have Docker installed and
access to the world but not your intranet, etc.
That is to say, if you can provide a runner for everyone that would be
amazing, but you should be able to register your own desktop/etc as a
private runner without issue.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the U-Boot-Custodians