builders: fix use of util.renderer decorated functions

These shouldn't be called at the time of buildstep creation, instead we
pass the method name and buildbot calls the function when the step starts.

http://docs.buildbot.net/current/manual/cfg-properties.html#renderer

Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
This commit is contained in:
Joshua Lock 2018-03-07 11:06:17 +00:00
parent 845aea0b5c
commit f2b41bd937

View File

@ -133,9 +133,9 @@ def create_builder_factory():
util.Interpolate("%(prop:builddir)s/build/build"),
util.Interpolate("%(prop:branch_poky)s"),
util.Interpolate("%(prop:repo_poky)s"),
get_sstate_release_number(),
get_sstate_release_number,
util.Interpolate("%(prop:buildappsrcrev)s"),
get_publish_dest(),
get_publish_dest,
util.URLForBuild],
name="run-config",
timeout=16200)) # default of 1200s/20min is too short, use 4.5hrs
@ -197,9 +197,9 @@ factory.addStep(steps.ShellCommand(
util.Interpolate("%(prop:builddir)s/build/build"),
util.Interpolate("%(prop:branch_poky)s"),
util.Interpolate("%(prop:repo_poky)s"),
get_sstate_release_number(),
get_sstate_release_number,
"None",
get_publish_dest(),
get_publish_dest,
util.URLForBuild],
name="run-config",
timeout=16200)) # default of 1200s/20min is too short, use 4.5hrs