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

Side by Side Diff: masters/master.client.webrtc.fyi/master_android_cfg.py

Issue 2222163004: convert most webrtc builders to remote_run (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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.schedulers.basic import SingleBranchScheduler 5 from buildbot.schedulers.basic import SingleBranchScheduler
6 6
7 from master.factory import annotator_factory 7 from master.factory import remote_run_factory
8 8
9 m_annotator = annotator_factory.AnnotatorFactory() 9 import master_site_config
10 ActiveMaster = master_site_config.WebRTCFYI
11
12
13 def m_remote_run(recipe, **kwargs):
14 return remote_run_factory.RemoteRunFactory(
15 active_master=ActiveMaster,
16 repository='https://chromium.googlesource.com/chromium/tools/build.git',
17 recipe=recipe,
18 factory_properties={'path_config': 'kitchen'},
19 **kwargs)
20
10 21
11 def Update(c): 22 def Update(c):
12 c['schedulers'].extend([ 23 c['schedulers'].extend([
13 SingleBranchScheduler(name='webrtc_android_scheduler', 24 SingleBranchScheduler(name='webrtc_android_scheduler',
14 branch='master', 25 branch='master',
15 treeStableTimer=0, 26 treeStableTimer=0,
16 builderNames=[ 27 builderNames=[
17 'Android32 Builder', 28 'Android32 Builder',
18 'Android32 ASan (L Nexus6)', 29 'Android32 ASan (L Nexus6)',
19 ]), 30 ]),
20 ]) 31 ])
21 32
22 specs = [ 33 specs = [
23 {'name': 'Android32 Builder'}, 34 {'name': 'Android32 Builder'},
24 {'name': 'Android32 ASan (L Nexus6)'}, 35 {'name': 'Android32 ASan (L Nexus6)'},
25 {'name': 'Android32 Tests (J Nexus4)'}, 36 {'name': 'Android32 Tests (J Nexus4)'},
26 {'name': 'Android32 Tests (K Nexus5)'}, 37 {'name': 'Android32 Tests (K Nexus5)'},
27 {'name': 'Android32 Tests (L Nexus6)'}, 38 {'name': 'Android32 Tests (L Nexus6)'},
28 ] 39 ]
29 40
30 c['builders'].extend([ 41 c['builders'].extend([
31 { 42 {
32 'name': spec['name'], 43 'name': spec['name'],
33 'factory': m_annotator.BaseFactory('webrtc/standalone'), 44 'factory': m_remote_run('webrtc/standalone'),
34 'notify_on_missing': True, 45 'notify_on_missing': True,
35 'category': 'android', 46 'category': 'android',
36 'slavebuilddir': spec.get('slavebuilddir', 'android'), 47 'slavebuilddir': spec.get('slavebuilddir', 'android'),
37 } for spec in specs 48 } for spec in specs
38 ]) 49 ])
OLDNEW
« no previous file with comments | « no previous file | masters/master.client.webrtc.fyi/master_linux_cfg.py » ('j') | masters/master.client.webrtc/master_mac_cfg.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698