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

Side by Side Diff: masters/master.client.webrtc.fyi/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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 Nightly 5 from buildbot.scheduler import Nightly
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 remote_run_factory
10
11 import master_site_config
12 ActiveMaster = master_site_config.WebRTCFYI
13
14
15 def m_remote_run(recipe, **kwargs):
16 return remote_run_factory.RemoteRunFactory(
17 active_master=ActiveMaster,
18 repository='https://chromium.googlesource.com/chromium/tools/build.git',
19 recipe=recipe,
20 factory_properties={'path_config': 'kitchen'},
21 **kwargs)
22
9 23
10 m_annotator = annotator_factory.AnnotatorFactory() 24 m_annotator = annotator_factory.AnnotatorFactory()
11 25
26
12 def Update(c): 27 def Update(c):
13 c['schedulers'].extend([ 28 c['schedulers'].extend([
14 SingleBranchScheduler(name='webrtc_linux_scheduler', 29 SingleBranchScheduler(name='webrtc_linux_scheduler',
15 branch='master', 30 branch='master',
16 treeStableTimer=0, 31 treeStableTimer=0,
17 builderNames=[ 32 builderNames=[
18 'Linux64 GCC', 33 'Linux64 GCC',
19 'Linux64 Release (swarming)', 34 'Linux64 Release (swarming)',
20 ]), 35 ]),
21 # Run WebRTC DEPS roller at CET hours: 4am, 12pm and 8pm. 36 # Run WebRTC DEPS roller at CET hours: 4am, 12pm and 8pm.
(...skipping 17 matching lines...) Expand all
39 { 54 {
40 'name': 'Auto-roll - WebRTC DEPS', 55 'name': 'Auto-roll - WebRTC DEPS',
41 'recipe': 'webrtc/auto_roll_webrtc_deps', 56 'recipe': 'webrtc/auto_roll_webrtc_deps',
42 'slavebuilddir': 'linux_autoroll', 57 'slavebuilddir': 'linux_autoroll',
43 }, 58 },
44 ] 59 ]
45 60
46 c['builders'].extend([ 61 c['builders'].extend([
47 { 62 {
48 'name': spec['name'], 63 'name': spec['name'],
49 'factory': m_annotator.BaseFactory(spec.get('recipe', 64 'factory': m_annotator.BaseFactory(spec['recipe'])
50 'webrtc/standalone')), 65 if 'recipe' in spec
66 else m_remote_run('webrtc/standalone'),
51 'notify_on_missing': True, 67 'notify_on_missing': True,
52 'category': 'linux', 68 'category': 'linux',
53 'slavebuilddir': spec['slavebuilddir'], 69 'slavebuilddir': spec['slavebuilddir'],
54 'auto_reboot': False, 70 'auto_reboot': False,
55 } for spec in specs 71 } for spec in specs
56 ]) 72 ])
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698