[U-Boot-Custodians] Enabling GitLab CI builds for your trees

Neil Armstrong narmstrong at baylibre.com
Mon Jul 22 13:26:55 UTC 2019


Hi Tom,

On 19/07/2019 01:56, Tom Rini wrote:
> Hey all,
> 
> 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
> https://gitlab.denx.de/u-boot/custodians/u-boot-$TREE/settings/ci_cd as
> 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's it!

Nice !

I've added a runner from one of our build servers with 32threads 198GiB dram,
not sure if I can it share it with other custodians, let me speak with my
managers.

Nevertheless, it works fine, thanks !

Neil

> 
> 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.
> 
> 
> _______________________________________________
> U-Boot-Custodians mailing list
> U-Boot-Custodians at lists.denx.de
> https://lists.denx.de/listinfo/u-boot-custodians
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot-custodians/attachments/20190722/b3f98947/attachment.sig>


More information about the U-Boot-Custodians mailing list