Re: [yocto] gitlab-ci helper scripts for OpenEmbedded builds

2019-10-07 Thread Thomas Goodwin
of the layer history). Cheers, Thomas On Wed, Sep 25, 2019 at 5:17 AM Yann Dirson wrote: > Hi Thomas, > > Le mar. 24 sept. 2019 à 14:36, Thomas Goodwin a > écrit : > >> Hi Yann, >> >> Thanks for sharing! We're working through something similar using a tw

Re: [yocto] gitlab-ci helper scripts for OpenEmbedded builds

2019-09-24 Thread Thomas Goodwin
Hi Yann, Thanks for sharing! We're working through something similar using a tweak to the CROPS docker containers and GitLab-CI (we started with autobuilder 2, so we've actually merged quite a bit of that experience with our GitLab setup). Using docker runners as our cluster, we setup volume moun

[yocto] [yocto-autobuilder-helper][PATCH]] checkvnc, run-config, config.json: DISPLAY=:1

2019-08-06 Thread Thomas Goodwin
-by: Thomas Goodwin --- config.json| 8 scripts/checkvnc | 35 +-- scripts/run-config | 2 +- 3 files changed, 34 insertions(+), 11 deletions(-) diff --git a/config.json b/config.json index 2252b83..3d13720 100644 --- a/config.json +++ b

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

2019-08-02 Thread Thomas Goodwin
ri, Aug 2, 2019 at 12:41 PM Richard Purdie 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 > > yo

[yocto] [yocto-autobuilder2][PATCH] builders.py: fix for AB helper repo branch being ignored.

2019-08-01 Thread Thomas Goodwin
Signed-off-by: Thomas Goodwin --- builders.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builders.py b/builders.py index 16c1344..b57bed7 100644 --- a/builders.py +++ b/builders.py @@ -169,6 +169,7 @@ def create_builder_factory(): name="Clobber build dir"))

[yocto] [yocto-autobuilder-helper][PATCH 4/4] layer-config, shared-repo-unpack: Sub-repos in NEEDREPOS

2019-08-01 Thread Thomas Goodwin
ination. The entire meta-openembedded repo would be moved into place, and the sublayer added to bblayers.conf. Signed-off-by: Thomas Goodwin --- scripts/layer-config | 24 +++- scripts/shared-repo-unpack | 4 ++-- 2 files changed, 17 insertions(+), 11 deletions(-) diff -

[yocto] [yocto-autobuilder-helper][PATCH 3/4] shared-repo-unpack: suppressing exception, returning exit code

2019-08-01 Thread Thomas Goodwin
The preceeding errors that would be shown should be enough to identify the problem since it would have been a problem running bitbake-layers add-layer, indicating a misconfiguration of config.json. Signed-off-by: Thomas Goodwin --- scripts/shared-repo-unpack | 5 - 1 file changed, 4

[yocto] [yocto-autobuilder-helper][PATCH 2/4] layer-config: fixing silent failures from always exiting '0'

2019-08-01 Thread Thomas Goodwin
at the top level or a previously-added layer breaks parsing because of missing dependencies. Signed-off-by: Thomas Goodwin --- scripts/layer-config | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/layer-config b/scripts/layer-config index bfc62da..286451a

[yocto] [yocto-autobuilder-helper][PATCH 1/4] config.json: Added meta-openembedded and meta-virtualization

2019-08-01 Thread Thomas Goodwin
has a conf/layer.conf, so it's presence in NEEDREPOS will cause ADDLAYER to fail because the former will add it to the bblayers.conf before its dependencies are added during run-config (causing bitbake-layers to error out). The fix is to also specify no-layer-add. Signed-off-by: Thomas Goodwin -

Re: [yocto] [yocto-autobuilder2][PATCH 1/3] Bug fix: added support for ABHELPER_JSON environ.

2019-08-01 Thread Thomas Goodwin
e the same configuration files as the controller. Thomas On Thu, Aug 1, 2019 at 7:33 AM akuster wrote: > > > On 7/30/19 11:36 AM, Thomas Goodwin wrote: > > The readme suggests exporting this variable from the > > environment to expose multiple configuration JSON files >

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

2019-07-30 Thread Thomas Goodwin
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 Go

[yocto] [yocto-autobuilder2][PATCH 3/3] Support for absolute paths to config files

2019-07-30 Thread Thomas Goodwin
Using absolute paths in ABHELPER_JSON with remote-loading now works; the paths are stripped to os.path.basename() before being provided to the builders. Signed-off-by: Thomas Goodwin --- builders.py | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/builders.py

[yocto] [yocto-autobuilder2][PATCH 1/3] Bug fix: added support for ABHELPER_JSON environ.

2019-07-30 Thread Thomas Goodwin
The readme suggests exporting this variable from the environment to expose multiple configuration JSON files but the intended behavior doesn't work without adding the variable to extra_env. Signed-off-by: Thomas Goodwin --- builders.py | 3 ++- 1 file changed, 2 insertions(+), 1 del