[buildbot] phase1: remove dead step CleanTargetMap
LEDE Commits
lede-commits at lists.infradead.org
Mon May 15 08:38:59 PDT 2023
ynezz pushed a commit to buildbot.git, branch master:
https://git.openwrt.org/8f34b39c74587f9bec716db17587cbcc43d5d51e
commit 8f34b39c74587f9bec716db17587cbcc43d5d51e
Author: Thibaut VARÈNE <hacks at slashdirt.org>
AuthorDate: Thu Oct 20 12:34:48 2022 +0200
phase1: remove dead step CleanTargetMap
Signed-off-by: Thibaut VARÈNE <hacks at slashdirt.org>
---
phase1/master.cfg | 28 ----------------------------
1 file changed, 28 deletions(-)
diff --git a/phase1/master.cfg b/phase1/master.cfg
index 43e1b29..ecd06a1 100644
--- a/phase1/master.cfg
+++ b/phase1/master.cfg
@@ -379,24 +379,6 @@ c['schedulers'].append(ForceScheduler(
# what steps, and which workers can execute them. Note that any particular build will
# only take place on one worker.
-CleanTargetMap = [
- [ "tools", "tools/clean" ],
- [ "chain", "toolchain/clean" ],
- [ "linux", "target/linux/clean" ],
- [ "dir", "dirclean" ],
- [ "dist", "distclean" ]
-]
-
-def IsMakeCleanRequested(pattern):
- def CheckCleanProperty(step):
- val = step.getProperty("clean")
- if val and re.match(pattern, val):
- return True
- else:
- return False
-
- return CheckCleanProperty
-
def IsSharedWorkdir(step):
return bool(step.getProperty("shared_wd"))
@@ -663,16 +645,6 @@ for target in targets:
doStepIf = IsCleanupRequested,
timeout = 2400))
- # user-requested clean targets
- for tuple in CleanTargetMap:
- factory.addStep(ShellCommand(
- name = tuple[1],
- description = 'User-requested "make %s"' % tuple[1],
- command = ["make", tuple[1], "V=s"],
- env = MakeEnv(),
- doStepIf = IsMakeCleanRequested(tuple[0])
- ))
-
# Workaround bug when switching from a checked out tag back to a branch
# Ref: http://lists.infradead.org/pipermail/openwrt-devel/2019-June/017809.html
factory.addStep(ShellCommand(
More information about the lede-commits
mailing list