@@ -132,6 +132,8 @@ def create_builder_factory():
haltOnFailure=True,
name="Unpack shared repositories"))
+ f.addStep(steps.JSONPropertiesDownload(workerdest="build-properties.json"))
+
f.addStep(steps.SetPropertyFromCommand(
command=util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper/scripts/getproperties.py %(prop:builddir)s/build"),
extract_fn=extract_json_props,
@@ -328,6 +330,8 @@ def create_parent_builder_factory(buildername, waitname):
haltOnFailure=True,
name="Unpack shared repositories"))
+ factory.addStep(steps.JSONPropertiesDownload(workerdest="build-properties.json"))
+
factory.addStep(steps.SetPropertyFromCommand(
command=util.Interpolate("%(prop:builddir)s/yocto-autobuilder-helper/scripts/getproperties.py %(prop:builddir)s/build"),
extract_fn=extract_json_props,
Rather than passing all options as command line parameters, write out a build-properties.json file. Whilst currently unused, we can over time migrate a lot of options into this file, making the interface with the helper code easier. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- builders.py | 4 ++++ 1 file changed, 4 insertions(+)