2011-11-12 18:20:07 +00:00
|
|
|
"""
|
|
|
|
This module contains the logic which returns the set of
|
|
|
|
schedulers to use for the build master.
|
|
|
|
"""
|
|
|
|
|
2011-11-12 21:18:19 +00:00
|
|
|
from buildbot.changes.filter import ChangeFilter
|
|
|
|
from buildbot.schedulers.basic import SingleBranchScheduler
|
|
|
|
|
2011-11-12 18:20:07 +00:00
|
|
|
def get_schedulers():
|
2011-11-13 00:51:00 +00:00
|
|
|
# Run the unit tests for master
|
|
|
|
master_unit = SingleBranchScheduler(name="full",
|
2011-11-12 21:18:19 +00:00
|
|
|
change_filter=ChangeFilter(branch="master"),
|
|
|
|
treeStableTimer=60,
|
2011-11-13 00:51:00 +00:00
|
|
|
builderNames=["vagrant-master-unit"])
|
|
|
|
|
|
|
|
return [master_unit]
|