64 lines
3.0 KiB
Python
64 lines
3.0 KiB
Python
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"])
|
|
|
|
sched_b1 = schedulers.SingleBranchScheduler(name="gpio_ftdi",
|
|
change_filter=util.ChangeFilter(project='gpio_ftdi'),
|
|
treeStableTimer=None, builderNames=["gpio_ftdi"])
|
|
|
|
sched_b2 = schedulers.ForceScheduler(name="force_gpio_ftdi", builderNames=["gpio_ftdi"])
|
|
|
|
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"])
|
|
|
|
sched_d1 = schedulers.SingleBranchScheduler(name="i2c_bb",
|
|
change_filter=util.ChangeFilter(project='i2c_bb'),
|
|
treeStableTimer=None, builderNames=["i2c_bb"])
|
|
|
|
sched_d2 = schedulers.ForceScheduler(name="force_i2c_bb", builderNames=["i2c_bb"])
|
|
|
|
sched_e1 = schedulers.SingleBranchScheduler(name="ads1115",
|
|
change_filter=util.ChangeFilter(project=['i2c_bb', 'ads1115']),
|
|
treeStableTimer=None, builderNames=["ads1115"])
|
|
|
|
sched_e2 = schedulers.ForceScheduler(name="force_ads1115", builderNames=["ads1115"])
|
|
|
|
sched_f1 = schedulers.SingleBranchScheduler(name="voltage_app",
|
|
change_filter=util.ChangeFilter(project=['voltage_app',
|
|
'ads1115',
|
|
'i2c_bb']),
|
|
treeStableTimer=None, builderNames=["voltage_app"])
|
|
|
|
sched_f2 = schedulers.ForceScheduler(name="force_voltage_app", builderNames=["voltage_app"])
|
|
|
|
sched_g1 = schedulers.SingleBranchScheduler(name="bicycle_statistics",
|
|
change_filter=util.ChangeFilter(project=['bicycle-statistics-python',
|
|
'bicycle-statistics-docker']),
|
|
treeStableTimer=None, builderNames=["bicycle_statistics"])
|
|
|
|
sched_g2 = schedulers.ForceScheduler(name="force_bicycle-statistics", builderNames=["bicycle_statistics"])
|
|
|
|
|
|
def append(schedulers):
|
|
schedulers.append(sched_a1)
|
|
schedulers.append(sched_a2)
|
|
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)
|
|
schedulers.append(sched_g1)
|
|
schedulers.append(sched_g2)
|
|
return schedulers
|
|
|