OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 from buildbot.scheduler import Triggerable | 5 from buildbot.scheduler import Triggerable |
6 from buildbot.schedulers.basic import SingleBranchScheduler | 6 from buildbot.schedulers.basic import SingleBranchScheduler |
7 | 7 |
8 from master.factory import annotator_factory | 8 from master.factory import annotator_factory |
9 | 9 |
10 m_annotator = annotator_factory.AnnotatorFactory() | 10 m_annotator = annotator_factory.AnnotatorFactory() |
11 | 11 |
12 def Update(_config, active_master, c): | 12 def Update(_config, active_master, c): |
13 c['schedulers'].extend([ | 13 c['schedulers'].extend([ |
14 SingleBranchScheduler(name='linux_src', | 14 SingleBranchScheduler(name='linux_src', |
15 branch='master', | 15 branch='master', |
16 treeStableTimer=60, | 16 treeStableTimer=60, |
17 builderNames=[ | 17 builderNames=[ |
18 'Linux Builder', | 18 'Linux Builder', |
19 'Linux Builder (dbg)(32)', | 19 'Linux Builder (dbg)(32)', |
20 'Linux Builder (dbg)', | 20 'Linux Builder (dbg)', |
21 'Cast Linux', | 21 'Cast Linux', |
| 22 'Blimp Linux (dbg)', |
22 ]), | 23 ]), |
23 ]) | 24 ]) |
24 specs = [ | 25 specs = [ |
25 {'name': 'Linux Builder'}, | 26 {'name': 'Linux Builder'}, |
26 {'name': 'Linux Tests'}, | 27 {'name': 'Linux Tests'}, |
27 {'name': 'Linux Builder (dbg)(32)'}, | 28 {'name': 'Linux Builder (dbg)(32)'}, |
28 {'name': 'Linux Tests (dbg)(1)(32)'}, | 29 {'name': 'Linux Tests (dbg)(1)(32)'}, |
29 {'name': 'Linux Builder (dbg)'}, | 30 {'name': 'Linux Builder (dbg)'}, |
30 {'name': 'Linux Tests (dbg)(1)'}, | 31 {'name': 'Linux Tests (dbg)(1)'}, |
31 {'name': 'Cast Linux'}, | 32 {'name': 'Cast Linux'}, |
| 33 {'name': 'Blimp Linux (dbg)'}, |
32 ] | 34 ] |
33 | 35 |
34 c['builders'].extend([ | 36 c['builders'].extend([ |
35 { | 37 { |
36 'name': spec['name'], | 38 'name': spec['name'], |
37 'factory': m_annotator.BaseFactory( | 39 'factory': m_annotator.BaseFactory( |
38 spec.get('recipe', 'chromium'), | 40 spec.get('recipe', 'chromium'), |
39 factory_properties=spec.get('factory_properties')), | 41 factory_properties=spec.get('factory_properties')), |
40 'notify_on_missing': True, | 42 'notify_on_missing': True, |
41 'category': '4linux', | 43 'category': '4linux', |
42 } for spec in specs | 44 } for spec in specs |
43 ]) | 45 ]) |
OLD | NEW |