Revert "phase1: remove renderable locks: not supported in 0.8.9"
[buildbot.git] / phase1 / master.cfg
index be3a8941bb81d26f7a31a55c8835f64399cf35f2..afd79f35f7fba43545638ce212497560361580eb 100644 (file)
@@ -821,6 +821,7 @@ for target in targets:
                branch = repo_branch,
                mode = 'full',
                method = 'clean',
+               locks = NetLockDl,
                haltOnFailure = True,
                doStepIf = IsGitCleanRequested,
        ))
@@ -831,6 +832,7 @@ for target in targets:
                branch = repo_branch,
                mode = 'full',
                method = 'fresh',
+               locks = NetLockDl,
                haltOnFailure = True,
                doStepIf = IsGitFreshRequested,
        ))
@@ -913,7 +915,8 @@ for target in targets:
                description = "Updating feeds",
                command=["./scripts/feeds", "update"],
                env = MakeEnv(tryccache=True, overrides={'GIT_SSH_COMMAND': Interpolate("ssh -o IdentitiesOnly=yes -o IdentityFile=%(kw:cwd)s/git-clone.key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no", cwd=GetCwd)} if git_ssh else {}),
-               haltOnFailure = True
+               haltOnFailure = True,
+               locks = NetLockDl,
        ))
 
        # Git SSH
@@ -1029,7 +1032,7 @@ for target in targets:
                command = ["make", Interpolate("-j%(kw:jobs)s", jobs=GetNumJobs), "download", "V=s"],
                env = MakeEnv(),
                logEnviron = False,
-               locks = [dlLock.access('exclusive')],
+               locks = properties.FlattenList(NetLockDl, [dlLock.access('exclusive')]),
        ))
 
        factory.addStep(ShellCommand(
@@ -1267,6 +1270,7 @@ for target in targets:
                env={'RSYNC_PASSWORD': rsync_bin_key},
                haltOnFailure = True,
                logEnviron = False,
+               locks = NetLockUl,
        ))
 
        # download remote sha256sums to 'target-sha256sums'
@@ -1325,6 +1329,7 @@ for target in targets:
                env={'RSYNC_PASSWORD': rsync_bin_key},
                haltOnFailure = True,
                logEnviron = False,
+               locks = NetLockUl,
        ))
 
        if enable_kmod_archive:
@@ -1337,6 +1342,7 @@ for target in targets:
                        env={'RSYNC_PASSWORD': rsync_bin_key},
                        haltOnFailure = True,
                        logEnviron = False,
+                       locks = NetLockUl,
                ))
 
        if rsync_src_url is not None:
@@ -1355,6 +1361,7 @@ for target in targets:
                        env={'RSYNC_PASSWORD': rsync_src_key},
                        haltOnFailure = True,
                        logEnviron = False,
+                       locks = NetLockUl,
                ))
 
        if False:
@@ -1367,6 +1374,7 @@ for target in targets:
                        flunkOnFailure = False,
                        warnOnFailure = True,
                        logEnviron = False,
+                       locks = NetLockUl,
                ))
 
        # logs
@@ -1381,6 +1389,7 @@ for target in targets:
                        warnOnFailure = True,
                        alwaysRun = True,
                        logEnviron = False,
+                       locks = NetLockUl,
                ))
 
        factory.addStep(ShellCommand(