Support for renderable locks was only added in buildbot 0.9.0
0.8.9 fails with:
File "/usr/lib/python2.7/dist-packages/buildbot/process/buildstep.py", line 266, in startStep
for access in self.locks]
exceptions.TypeError: '_Renderer' object is not iterable
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
branch = repo_branch,
mode = 'full',
method = 'clean',
branch = repo_branch,
mode = 'full',
method = 'clean',
haltOnFailure = True,
doStepIf = IsGitCleanRequested,
))
haltOnFailure = True,
doStepIf = IsGitCleanRequested,
))
branch = repo_branch,
mode = 'full',
method = 'fresh',
branch = repo_branch,
mode = 'full',
method = 'fresh',
haltOnFailure = True,
doStepIf = IsGitFreshRequested,
))
haltOnFailure = True,
doStepIf = IsGitFreshRequested,
))
description = "Updating feeds",
command=["./scripts/feeds", "update"],
env = MakeEnv(),
description = "Updating feeds",
command=["./scripts/feeds", "update"],
env = MakeEnv(),
command = ["make", Interpolate("-j%(kw:jobs)s", jobs=GetNumJobs), "download", "V=s"],
env = MakeEnv(),
logEnviron = False,
command = ["make", Interpolate("-j%(kw:jobs)s", jobs=GetNumJobs), "download", "V=s"],
env = MakeEnv(),
logEnviron = False,
- locks = properties.FlattenList(NetLockDl, [dlLock.access('exclusive')]),
+ locks = [dlLock.access('exclusive')],
))
factory.addStep(ShellCommand(
))
factory.addStep(ShellCommand(
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = True,
logEnviron = False,
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = True,
logEnviron = False,
))
factory.addStep(FileDownload(
))
factory.addStep(FileDownload(
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = True,
logEnviron = False,
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = True,
logEnviron = False,
))
if enable_kmod_archive:
))
if enable_kmod_archive:
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = True,
logEnviron = False,
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = True,
logEnviron = False,
))
if rsync_src_url is not None:
))
if rsync_src_url is not None:
env={'RSYNC_PASSWORD': rsync_src_key},
haltOnFailure = True,
logEnviron = False,
env={'RSYNC_PASSWORD': rsync_src_key},
haltOnFailure = True,
logEnviron = False,
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = False,
logEnviron = False,
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = False,
logEnviron = False,
haltOnFailure = False,
alwaysRun = True,
logEnviron = False,
haltOnFailure = False,
alwaysRun = True,
logEnviron = False,
))
factory.addStep(ShellCommand(
))
factory.addStep(ShellCommand(