From 1e1a326074018542c4a6f14ffe12984fa9c8a192 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thibaut=20VAR=C3=88NE?= Date: Tue, 26 Jun 2018 16:29:48 +0200 Subject: [PATCH] phase1: remove renderable locks: not supported in 0.8.9 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- phase1/master.cfg | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/phase1/master.cfg b/phase1/master.cfg index 697f6fb..ddb7968 100644 --- a/phase1/master.cfg +++ b/phase1/master.cfg @@ -535,7 +535,6 @@ for target in targets: branch = repo_branch, mode = 'full', method = 'clean', - locks = NetLockDl, haltOnFailure = True, doStepIf = IsGitCleanRequested, )) @@ -545,7 +544,6 @@ for target in targets: branch = repo_branch, mode = 'full', method = 'fresh', - locks = NetLockDl, haltOnFailure = True, doStepIf = IsGitFreshRequested, )) @@ -590,7 +588,6 @@ for target in targets: description = "Updating feeds", command=["./scripts/feeds", "update"], env = MakeEnv(), - locks = NetLockDl, )) # feed @@ -688,7 +685,7 @@ for target in targets: 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( @@ -913,7 +910,6 @@ for target in targets: env={'RSYNC_PASSWORD': rsync_bin_key}, haltOnFailure = True, logEnviron = False, - locks = NetLockUl, )) factory.addStep(FileDownload( @@ -930,7 +926,6 @@ for target in targets: env={'RSYNC_PASSWORD': rsync_bin_key}, haltOnFailure = True, logEnviron = False, - locks = NetLockUl, )) if enable_kmod_archive: @@ -943,7 +938,6 @@ for target in targets: env={'RSYNC_PASSWORD': rsync_bin_key}, haltOnFailure = True, logEnviron = False, - locks = NetLockUl, )) if rsync_src_url is not None: @@ -955,7 +949,6 @@ for target in targets: env={'RSYNC_PASSWORD': rsync_src_key}, haltOnFailure = True, logEnviron = False, - locks = NetLockUl, )) if False: @@ -966,7 +959,6 @@ for target in targets: env={'RSYNC_PASSWORD': rsync_bin_key}, haltOnFailure = False, logEnviron = False, - locks = NetLockUl, )) # logs @@ -979,7 +971,6 @@ for target in targets: haltOnFailure = False, alwaysRun = True, logEnviron = False, - locks = NetLockUl, )) factory.addStep(ShellCommand( -- 2.30.2