GoogleGit

blob: 512548091fc5628be4c65c1219192078a2812aa7 [file] [log] [blame]
  1. # Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. from buildbot.scheduler import Triggerable
  5. from buildbot.schedulers.basic import SingleBranchScheduler
  6. from master.factory import annotator_factory
  7. m_annotator = annotator_factory.AnnotatorFactory()
  8. def Update(config, active_master, c):
  9. c['schedulers'].extend([
  10. SingleBranchScheduler(name='mac_src',
  11. branch='master',
  12. treeStableTimer=60,
  13. builderNames=[
  14. 'Mac Builder',
  15. 'Mac Builder (dbg)',
  16. 'Mac GN',
  17. 'Mac GN (dbg)',
  18. ]),
  19. ])
  20. specs = [
  21. {'name': 'Mac Builder'},
  22. {'name': 'Mac10.6 Tests'},
  23. {'name': 'Mac10.8 Tests'},
  24. {'name': 'Mac10.9 Tests'},
  25. {'name': 'Mac10.10 Tests'},
  26. {'name': 'Mac Builder (dbg)'},
  27. {'name': 'Mac10.9 Tests (dbg)'},
  28. {'name': 'Mac GN'},
  29. {'name': 'Mac GN (dbg)'},
  30. ]
  31. c['builders'].extend([
  32. {
  33. 'name': spec['name'],
  34. 'factory': m_annotator.BaseFactory(
  35. spec.get('recipe', 'chromium'),
  36. factory_properties=spec.get('factory_properties')),
  37. 'notify_on_missing': True,
  38. 'category': '3mac',
  39. } for spec in specs
  40. ])