Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: masters/master.chromium.linux/master_linux_cfg.py

Issue 1869053002: kitchen_run: initial CL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | scripts/master/chromium_step.py » ('j') | scripts/master/chromium_step.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 from master.factory import kitchen_factory
9 10
10 m_annotator = annotator_factory.AnnotatorFactory() 11 m_annotator = annotator_factory.AnnotatorFactory()
11 12
12 def Update(_config, active_master, c): 13 def Update(_config, active_master, c):
14 m_kitchen = kitchen_factory.KitchenFactory(
iannucci 2016/04/11 18:07:28 Can we name this something more descriptive? annot
Paweł Hajdan Jr. 2016/04/12 15:55:01 Well, this runs kitchen so it makes sense for me t
15 active_master=active_master,
16 repository='https://chromium.googlesource.com/chromium/tools/build.git')
17
13 c['schedulers'].extend([ 18 c['schedulers'].extend([
14 SingleBranchScheduler(name='linux_src', 19 SingleBranchScheduler(name='linux_src',
15 branch='master', 20 branch='master',
16 treeStableTimer=60, 21 treeStableTimer=60,
17 builderNames=[ 22 builderNames=[
18 'Linux Builder', 23 'Linux Builder',
19 'Linux Builder (dbg)(32)', 24 'Linux Builder (dbg)(32)',
20 'Linux Builder (dbg)', 25 'Linux Builder (dbg)',
21 'Cast Linux', 26 'Cast Linux',
22 ]), 27 ]),
23 ]) 28 ])
24 specs = [ 29 specs = [
25 {'name': 'Linux Builder'},
26 {'name': 'Linux Tests'}, 30 {'name': 'Linux Tests'},
27 {'name': 'Linux Builder (dbg)(32)'}, 31 {'name': 'Linux Builder (dbg)(32)'},
28 {'name': 'Linux Tests (dbg)(1)(32)'}, 32 {'name': 'Linux Tests (dbg)(1)(32)'},
29 {'name': 'Linux Builder (dbg)'}, 33 {'name': 'Linux Builder (dbg)'},
30 {'name': 'Linux Tests (dbg)(1)'}, 34 {'name': 'Linux Tests (dbg)(1)'},
31 {'name': 'Cast Linux'}, 35 {'name': 'Cast Linux'},
32 ] 36 ]
33 37
38 c['builders'].append({
39 'name': 'Linux Builder',
estaab 2016/04/08 05:22:46 Start with infra? Also separate kitchen_run implem
iannucci 2016/04/11 18:07:28 +1 to both
40 'factory': m_kitchen.BaseFactory('chromium'),
41 'auto_reboot': False,
42 })
43
34 c['builders'].extend([ 44 c['builders'].extend([
35 { 45 {
36 'name': spec['name'], 46 'name': spec['name'],
37 'factory': m_annotator.BaseFactory( 47 'factory': m_annotator.BaseFactory(
38 spec.get('recipe', 'chromium'), 48 spec.get('recipe', 'chromium'),
39 factory_properties=spec.get('factory_properties')), 49 factory_properties=spec.get('factory_properties')),
40 'notify_on_missing': True, 50 'notify_on_missing': True,
41 'category': '4linux', 51 'category': '4linux',
42 } for spec in specs 52 } for spec in specs
43 ]) 53 ])
OLDNEW
« no previous file with comments | « no previous file | scripts/master/chromium_step.py » ('j') | scripts/master/chromium_step.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698