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

Side by Side Diff: masters/master.chromium.mac/master_ios_cfg.py

Issue 2228903002: chromium.mac: convert ios/unified_builder_tester 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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.ChromiumMac
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(config, active_master, c): 22 def Update(config, active_master, c):
12 c['schedulers'].extend([ 23 c['schedulers'].extend([
13 SingleBranchScheduler(name='ios', 24 SingleBranchScheduler(name='ios',
14 branch='master', 25 branch='master',
15 treeStableTimer=60, 26 treeStableTimer=60,
16 builderNames=[ 27 builderNames=[
17 'ios-device', 28 'ios-device',
18 'ios-simulator', 29 'ios-simulator',
19 ]), 30 ]),
20 ]) 31 ])
21 specs = [ 32 specs = [
22 {'name': 'ios-device'}, 33 {'name': 'ios-device'},
23 {'name': 'ios-simulator'}, 34 {'name': 'ios-simulator'},
24 ] 35 ]
25 36
26 c['builders'].extend([ 37 c['builders'].extend([
27 { 38 {
28 'name': spec['name'], 39 'name': spec['name'],
29 'factory': m_annotator.BaseFactory( 40 'factory': m_remote_run('ios/unified_builder_tester'),
30 'ios/unified_builder_tester',
31 factory_properties=spec.get('factory_properties')),
32 'notify_on_missing': True, 41 'notify_on_missing': True,
33 'category': '3mac', 42 'category': '3mac',
34 } for spec in specs 43 } for spec in specs
35 ]) 44 ])
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698