[yocto] [yocto-autobuilder2][PATCH 2/3] Added remote distribution of config JSON files

Thomas Goodwin btgoodwin at geontech.com
Fri Aug 2 14:55:25 PDT 2019


I'm not sure I follow.  This collects everything into the worker's
"builddir/yocto-autobuilder-helper" path (I think; I'm new to buildbot).

My aim was to let the buildbot master the chance to SCM the configuration
files apart from the helper's behavior which should otherwise be consistent
whether we're rebuilding for warrior or morty.  For us this is turning out
to not be "enough" since certain build targets don't exist between
different releases of Poky and we're held back by BSPs to certain releases,
so we need to decouple a bit further than this patch.  The issue could also
be solved with templates that dynamically point to other templates based on
the Force Build branch, revision, etc., but I'm looking for a more simple
approach than a recursive overlay.

Thanks again for all your help and feedback.

Cheers,

Thomas

On Fri, Aug 2, 2019 at 12:41 PM Richard Purdie <rpurdie at rpsys.net> wrote:

> On Tue, 2019-07-30 at 14:36 -0400, Thomas Goodwin wrote:
> > This feature/fix allows the worker to download the
> > autobuilder helper JSON files from the controller
> > rather than having to store them in the
> > yocto-autobuilder-helper repository.  The process
> > installs the file into the worker's
> > builddir/yocto-autobuilder-helper path.
> >
> > Signed-off-by: Thomas Goodwin <btgoodwin at geontech.com>
> > ---
> >  builders.py | 22 ++++++++++++++++++++++
> >  1 file changed, 22 insertions(+)
>
> I like the idea however this is going to break the autobuilders as they
> already use full paths in the variable.
>
> I've merged some of the other patches but this one will need a little
> further thought so we don't break the existing install.
>
> The existing code also allows for different path locations on
> individual workers (e.g. different username) which this would break.
>
> Cheers,
>
> Richard
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190802/8a84c9b4/attachment-0001.html>


More information about the yocto mailing list