branch = repo_branch,
mode = 'full',
method = 'clean',
+ locks = NetLockDl,
haltOnFailure = True,
doStepIf = IsGitCleanRequested,
))
branch = repo_branch,
mode = 'full',
method = 'fresh',
+ locks = NetLockDl,
haltOnFailure = True,
doStepIf = IsGitFreshRequested,
))
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
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(
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = True,
logEnviron = False,
+ locks = NetLockUl,
))
# download remote sha256sums to 'target-sha256sums'
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = True,
logEnviron = False,
+ locks = NetLockUl,
))
if enable_kmod_archive:
env={'RSYNC_PASSWORD': rsync_bin_key},
haltOnFailure = True,
logEnviron = False,
+ locks = NetLockUl,
))
if rsync_src_url is not None:
env={'RSYNC_PASSWORD': rsync_src_key},
haltOnFailure = True,
logEnviron = False,
+ locks = NetLockUl,
))
if False:
flunkOnFailure = False,
warnOnFailure = True,
logEnviron = False,
+ locks = NetLockUl,
))
# logs
warnOnFailure = True,
alwaysRun = True,
logEnviron = False,
+ locks = NetLockUl,
))
factory.addStep(ShellCommand(