worker_port = 9990
persistent = False
-tree_expire = 0
git_ssh = False
git_ssh_key = None
if ini.has_option("phase2", "persistent"):
persistent = ini.getboolean("phase2", "persistent")
-if ini.has_option("phase2", "expire"):
- tree_expire = ini.getint("phase2", "expire")
-
if ini.has_option("general", "git_ssh"):
git_ssh = ini.getboolean("general", "git_ssh")
haltOnFailure = True,
timeout = 2400))
- # expire tree if needed
- elif tree_expire > 0:
- factory.addStep(FileDownload(
- mastersrc = scripts_dir + '/expire.sh',
- workerdest = "../expire.sh",
- mode = 0o755))
-
- factory.addStep(ShellCommand(
- name = "expire",
- description = "Checking for build tree expiry",
- command = ["./expire.sh", str(tree_expire)],
- workdir = ".",
- haltOnFailure = True,
- timeout = 2400))
-
factory.addStep(ShellCommand(
name = "mksdkdir",
description = "Preparing SDK directory",