haltOnFailure = True,
logEnviron = False,
locks = NetLockUl,
+ doStepIf = util.Transform(bool, GetRsyncParams.withArgs("bin", "url")),
))
# download remote sha256sums to 'target-sha256sums'
haltOnFailure = False,
flunkOnFailure = False,
warnOnFailure = False,
+ doStepIf = util.Transform(bool, GetRsyncParams.withArgs("bin", "url")),
))
# build list of files to upload
env={ 'RSYNC_PASSWORD': Interpolate("%(kw:key)s", key=GetRsyncParams.withArgs("bin", "key")) },
haltOnFailure = True,
logEnviron = False,
+ doStepIf = util.Transform(bool, GetRsyncParams.withArgs("bin", "url")),
))
# delete files which don't exist locally
haltOnFailure = True,
logEnviron = False,
locks = NetLockUl,
+ doStepIf = util.Transform(bool, GetRsyncParams.withArgs("bin", "url")),
))
factory.addStep(ShellCommand(
haltOnFailure = True,
logEnviron = False,
locks = NetLockUl,
- doStepIf = IsKmodArchiveEnabled,
+ doStepIf = util.Transform(lambda a, b: bool(a and b), IsKmodArchiveEnabled, GetRsyncParams.withArgs("bin", "url")),
))
factory.addStep(ShellCommand(
haltOnFailure = True,
logEnviron = False,
locks = NetLockUl,
+ doStepIf = util.Transform(bool, GetRsyncParams.withArgs("src", "url")),
))
factory.addStep(ShellCommand(