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

Side by Side Diff: masters/master.client.webrtc/master_linux_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 annotator_factory
8 from master.factory import remote_run_factory
9
10 import master_site_config
11 ActiveMaster = master_site_config.WebRTC
12
13
14 def m_remote_run(recipe, **kwargs):
15 return remote_run_factory.RemoteRunFactory(
16 active_master=ActiveMaster,
17 repository='https://chromium.googlesource.com/chromium/tools/build.git',
18 recipe=recipe,
19 factory_properties={'path_config': 'kitchen'},
20 **kwargs)
21
8 22
9 m_annotator = annotator_factory.AnnotatorFactory() 23 m_annotator = annotator_factory.AnnotatorFactory()
10 24
25
11 def Update(c): 26 def Update(c):
12 c['schedulers'].extend([ 27 c['schedulers'].extend([
13 SingleBranchScheduler(name='webrtc_linux_scheduler', 28 SingleBranchScheduler(name='webrtc_linux_scheduler',
14 branch='master', 29 branch='master',
15 treeStableTimer=30, 30 treeStableTimer=30,
16 builderNames=[ 31 builderNames=[
17 'Linux32 ARM', 32 'Linux32 ARM',
18 'Linux32 Debug', 33 'Linux32 Debug',
19 'Linux32 Release', 34 'Linux32 Release',
20 'Linux64 Debug', 35 'Linux64 Debug',
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 { 71 {
57 'name': 'Linux64 Release (Libfuzzer)', 72 'name': 'Linux64 Release (Libfuzzer)',
58 'recipe': 'webrtc/libfuzzer', 73 'recipe': 'webrtc/libfuzzer',
59 'slavebuilddir': 'linux64_libfuzzer', 74 'slavebuilddir': 'linux64_libfuzzer',
60 }, 75 },
61 ] 76 ]
62 77
63 c['builders'].extend([ 78 c['builders'].extend([
64 { 79 {
65 'name': spec['name'], 80 'name': spec['name'],
66 'factory': m_annotator.BaseFactory(spec.get('recipe', 81 'factory': m_annotator.BaseFactory(spec['recipe'])
67 'webrtc/standalone')), 82 if 'recipe' in spec
83 else m_remote_run('webrtc/standalone'),
68 'notify_on_missing': True, 84 'notify_on_missing': True,
69 'category': spec.get('category', 'compile|testers'), 85 'category': spec.get('category', 'compile|testers'),
70 'slavebuilddir': spec['slavebuilddir'], 86 'slavebuilddir': spec['slavebuilddir'],
71 } for spec in specs 87 } for spec in specs
72 ]) 88 ])
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698