Skip to content

Commit

Permalink
phase2: remove unused tree_expire option and steps
Browse files Browse the repository at this point in the history
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
  • Loading branch information
f00b4r0 authored and ynezz committed Nov 16, 2023
1 parent b71f4cd commit 5c994fc
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions phase2/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ c = BuildmasterConfig = {}

worker_port = 9990
persistent = False
tree_expire = 0
git_ssh = False
git_ssh_key = None

Expand All @@ -72,9 +71,6 @@ if ini.has_option("phase2", "port"):
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")

Expand Down Expand Up @@ -470,21 +466,6 @@ for arch in arches:
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",
Expand Down

0 comments on commit 5c994fc

Please sign in to comment.