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

Side by Side Diff: masters/master.client.webrtc/master_mac_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 (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.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.WebRTC
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',
kjellander_chromium 2016/08/09 14:16:21 This URL is duplicated a lot. Is that a good long-
Paweł Hajdan Jr. 2016/08/09 15:04:52 The long term solution is to get rid of buildbot.
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_mac_scheduler', 24 SingleBranchScheduler(name='webrtc_mac_scheduler',
14 branch='master', 25 branch='master',
15 treeStableTimer=30, 26 treeStableTimer=30,
16 builderNames=[ 27 builderNames=[
17 'Mac64 Debug', 28 'Mac64 Debug',
18 'Mac64 Release', 29 'Mac64 Release',
19 'Mac64 Release [large tests]', 30 'Mac64 Release [large tests]',
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 { 99 {
89 'name': 'iOS API Framework Builder', 100 'name': 'iOS API Framework Builder',
90 'slavebuilddir': 'mac64', 101 'slavebuilddir': 'mac64',
91 'recipe': 'webrtc/ios_api_framework', 102 'recipe': 'webrtc/ios_api_framework',
92 }, 103 },
93 ] 104 ]
94 105
95 c['builders'].extend([ 106 c['builders'].extend([
96 { 107 {
97 'name': spec['name'], 108 'name': spec['name'],
98 'factory': m_annotator.BaseFactory(spec.get('recipe', 109 'factory': m_remote_run(spec.get('recipe', 'webrtc/standalone')),
99 'webrtc/standalone')),
100 'notify_on_missing': True, 110 'notify_on_missing': True,
101 'category': spec.get('category', 'compile|testers'), 111 'category': spec.get('category', 'compile|testers'),
102 'slavebuilddir': spec['slavebuilddir'], 112 'slavebuilddir': spec['slavebuilddir'],
103 } for spec in specs 113 } for spec in specs
104 ]) 114 ])
OLDNEW
« no previous file with comments | « masters/master.client.webrtc/master_linux_cfg.py ('k') | masters/master.client.webrtc/master_win_cfg.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698