s 2 buildbot: use AnyBranchSheduler

This commit is contained in:
makefu 2016-11-15 23:26:03 +01:00
parent 17ad1c0953
commit 5de3acd2a0
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -39,9 +39,7 @@
'';
fast-tests-scheduler = ''
# test everything real quick
sched.append(schedulers.SingleBranchScheduler(
## all branches
change_filter=util.ChangeFilter(branch_re=".*"),
sched.append(schedulers.AnyBranchScheduler(
treeStableTimer=10,
name="fast-all-branches",
builderNames=["fast-tests"]))
@ -118,15 +116,6 @@
f = util.BuildFactory()
f.addStep(grab_repo)
for i in [ "test-all-krebs-modules", "wolf" ]:
addShell(f,name="build-{}".format(i),env=env,
command=nixshell + \
["mkdir -p /tmp/testbuild/$LOGNAME && touch /tmp/testbuild/$LOGNAME/.populate; \
make \
test \
target=$LOGNAME@${config.krebs.build.host.name}/tmp/testbuild/$LOGNAME \
method=build \
system={}".format(i)])
bu.append(util.BuilderConfig(name="build-local",
workernames=workernames,