2019-09-06 16:49:06 +02:00
|
|
|
from buildbot.plugins import schedulers, util
|
|
|
|
|
|
|
|
sched_a1 = schedulers.SingleBranchScheduler(name="test_c",
|
|
|
|
change_filter=util.ChangeFilter(project='test.c'),
|
|
|
|
treeStableTimer=None, builderNames=["test.c"])
|
|
|
|
sched_a2 = schedulers.ForceScheduler(name="force_test_c", builderNames=["test.c"])
|
|
|
|
|
2019-11-22 10:59:53 +01:00
|
|
|
#sched_b1 = schedulers.SingleBranchScheduler(name="gpio_ftdi",
|
|
|
|
# change_filter=util.ChangeFilter(project='gpio_ftdi'),
|
|
|
|
# treeStableTimer=None, builderNames=["gpio_ftdi"])
|
2019-09-06 16:49:06 +02:00
|
|
|
|
2019-11-22 10:59:53 +01:00
|
|
|
#sched_b2 = schedulers.ForceScheduler(name="force_gpio_ftdi", builderNames=["gpio_ftdi"])
|
2019-09-06 16:49:06 +02:00
|
|
|
|
2019-11-22 10:59:53 +01:00
|
|
|
#sched_c1 = schedulers.SingleBranchScheduler(name="gpio_sys",
|
|
|
|
# change_filter=util.ChangeFilter(project='gpio_sys'),
|
|
|
|
# treeStableTimer=None, builderNames=["gpio_sys"])
|
|
|
|
#sched_c2 = schedulers.ForceScheduler(name="force_gpio_sys", builderNames=["gpio_sys"])
|
2019-09-06 16:49:06 +02:00
|
|
|
|
2019-11-22 10:59:53 +01:00
|
|
|
#sched_d1 = schedulers.SingleBranchScheduler(name="i2c_bb",
|
|
|
|
# change_filter=util.ChangeFilter(project='i2c_bb'),
|
|
|
|
# treeStableTimer=None, builderNames=["i2c_bb"])
|
2019-09-06 16:49:06 +02:00
|
|
|
|
2019-11-22 10:59:53 +01:00
|
|
|
#sched_d2 = schedulers.ForceScheduler(name="force_i2c_bb", builderNames=["i2c_bb"])
|
2019-09-06 16:49:06 +02:00
|
|
|
|
2019-11-22 10:59:53 +01:00
|
|
|
#sched_e1 = schedulers.SingleBranchScheduler(name="ads1115",
|
|
|
|
# change_filter=util.ChangeFilter(project=['i2c_bb', 'ads1115']),
|
|
|
|
# treeStableTimer=None, builderNames=["ads1115"])
|
2019-09-06 16:49:06 +02:00
|
|
|
|
2019-11-22 10:59:53 +01:00
|
|
|
#sched_e2 = schedulers.ForceScheduler(name="force_ads1115", builderNames=["ads1115"])
|
2019-09-06 16:49:06 +02:00
|
|
|
|
2019-11-22 10:59:53 +01:00
|
|
|
#sched_f1 = schedulers.SingleBranchScheduler(name="voltage_app",
|
|
|
|
# change_filter=util.ChangeFilter(project=['voltage_app',
|
|
|
|
# 'ads1115',
|
|
|
|
# 'i2c_bb']),
|
|
|
|
# treeStableTimer=None, builderNames=["voltage_app"])
|
2019-09-06 16:49:06 +02:00
|
|
|
|
2019-11-22 10:59:53 +01:00
|
|
|
#sched_f2 = schedulers.ForceScheduler(name="force_voltage_app", builderNames=["voltage_app"])
|
2019-09-06 16:49:06 +02:00
|
|
|
|
|
|
|
def append(schedulers):
|
|
|
|
schedulers.append(sched_a1)
|
|
|
|
schedulers.append(sched_a2)
|
2019-11-22 10:59:53 +01:00
|
|
|
# schedulers.append(sched_b1)
|
|
|
|
# schedulers.append(sched_b2)
|
|
|
|
# schedulers.append(sched_c1)
|
|
|
|
# schedulers.append(sched_c2)
|
|
|
|
# schedulers.append(sched_d1)
|
|
|
|
# schedulers.append(sched_d2)
|
|
|
|
# schedulers.append(sched_e1)
|
|
|
|
# schedulers.append(sched_e2)
|
|
|
|
# schedulers.append(sched_f1)
|
|
|
|
# schedulers.append(sched_f2)
|
2019-09-06 16:49:06 +02:00
|
|
|
return schedulers
|
|
|
|
|