blob: 62bd37979ed9cdc0f5a2f444eef0e1d1d19c603c [file] [log] [blame]
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from buildbot.scheduler import Triggerable
from buildbot.schedulers.basic import SingleBranchScheduler
from master.factory import annotator_factory
m_annotator = annotator_factory.AnnotatorFactory()
def Update(config, active_master, c):
c['schedulers'].extend([
SingleBranchScheduler(name='mac_src',
branch='master',
treeStableTimer=60,
builderNames=[
'Mac Builder',
'Mac Builder (dbg)',
'Mac GN',
'Mac GN (dbg)',
]),
])
specs = [
{'name': 'Mac Builder'},
{'name': 'Mac10.6 Tests'},
{'name': 'Mac10.8 Tests'},
{'name': 'Mac10.9 Tests'},
{'name': 'Mac10.10 Tests'},
{'name': 'Mac10.11 Tests'},
{'name': 'Mac Builder (dbg)'},
{'name': 'Mac10.9 Tests (dbg)'},
{'name': 'Mac GN'},
{'name': 'Mac GN (dbg)'},
]
c['builders'].extend([
{
'name': spec['name'],
'factory': m_annotator.BaseFactory(
spec.get('recipe', 'chromium'),
factory_properties=spec.get('factory_properties')),
'notify_on_missing': True,
'category': '3mac',
} for spec in specs
])