[OE-core] Wind River Continuous Integration project

Tom Rini trini at konsulko.com
Sat Oct 21 13:44:43 UTC 2017


On Fri, Oct 20, 2017 at 06:07:18PM -0400, Randy MacLeod wrote:
> On 2017-10-20 02:18 PM, Konrad Scherer wrote:
> >
> >One of the common challenges of Yocto development is the setup and
> >maintenance of a build cluster. If only there was a generic open source
> >Yocto continuous integration project to make the setup and maintenance of
> >build clusters easy...
> >
> >I have a working prototype and it's on GitHub.
> >
> >https://github.com/WindRiver-OpenSourceLabs/ci-scripts
> >
> >It is a set of scripts and docker images for building Yocto images using
> >Jenkins and Docker. There are three main features that I think you will
> >find interesting:
> 
> Konrad and I work together so my comments here might be biased. :)
> 
> I haven't been involved in the ci-scripts project until I tried
> it out yesterday. Without Konrad's guidance, I was able to
> install the system and run a core-image-minimal build. The
> set-up took ~ 10 minutes of my time including reading some of
> the Docker docs, installing packages, then it was another 10-15
> mintues of downloading the images and so on on my slow network.
> 
> I ran it out on an old core2, 4 GB RAM, with one of those old,
> slow, spinning magnetic disks  on a slowish network. A build
> in the ubuntu container in docker finished in the same as
> a native build:
>   3hr 22min for core-image-minimal, poky/pyro.
> Such slow hardware!
> 
> Btw, I recently got a Google Compute Platform (GCP) offer of
> $300 worth of GCP time. I set-up a reasonable VM and on that
> Haswell, 4 core system a build of core-image-minimal took
> about 60 minutes and finally for comparison sake on our
> 128 vCore system, core-image-minimal takes ~ 30 minutes.
> 
> The cost for the build was 62 cents:
> 
> Resource               Usaged           Amount
> Custom instance Core   658.42 Minute    $0.45
> Custom instance Ram     21.95 GiB-hour  $0.12

Just a note on costs.  In GCP custom instances are almost always going
to run more than one of the stock configurations.  The n1-standard-4 is
probably about the same as what you setup (or the n1-highmem-4) and
would be a bit cheaper I think.  I know this is true for the higher end
machines.

-- 
Tom



More information about the Openembedded-core mailing list