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

Side by Side Diff: masters/master.chromium.perf/master.cfg

Issue 2222953002: chromium.perf: convert android/perf builders to remote_run (attempt #2) (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 2012 The Chromium Authors. All rights reserved. 1 # Copyright 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 # This is the buildmaster config file for the 'chromium.perf' bot. It must 5 # This is the buildmaster config file for the 'chromium.perf' bot. It must
6 # be installed as 'master.cfg' in your buildmaster's base directory 6 # be installed as 'master.cfg' in your buildmaster's base directory
7 # (although the filename can be changed with the --basedir option to 7 # (although the filename can be changed with the --basedir option to
8 # 'mktap buildbot master'). 8 # 'mktap buildbot master').
9 9
10 # It has one job: define a dictionary named BuildmasterConfig. This 10 # It has one job: define a dictionary named BuildmasterConfig. This
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 }) 143 })
144 144
145 trigger_name = _TriggerName(platform, target_bits) 145 trigger_name = _TriggerName(platform, target_bits)
146 if trigger_name not in _trigger_testers: 146 if trigger_name not in _trigger_testers:
147 _trigger_testers[trigger_name] = [] 147 _trigger_testers[trigger_name] = []
148 _trigger_testers[trigger_name].append(name) 148 _trigger_testers[trigger_name].append(name)
149 149
150 150
151 def _AddTester(name, platform, num_shards=1, target_bits=64): 151 def _AddTester(name, platform, num_shards=1, target_bits=64):
152 if platform == 'android': 152 if platform == 'android':
153 factory = recipe_factory('android/perf') 153 factory = m_remote_run('android/perf')
154 else: 154 else:
155 factory = m_remote_run('chromium') 155 factory = m_remote_run('chromium')
156 156
157 if num_shards == 1: 157 if num_shards == 1:
158 _AddTesterShard(name, factory, platform, target_bits) 158 _AddTesterShard(name, factory, platform, target_bits)
159 else: 159 else:
160 for index in xrange(num_shards): 160 for index in xrange(num_shards):
161 indexed_name = '%s (%d)' % (name, index + 1) 161 indexed_name = '%s (%d)' % (name, index + 1)
162 _AddTesterShard(indexed_name, factory, platform, target_bits) 162 _AddTesterShard(indexed_name, factory, platform, target_bits)
163 163
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 266
267 ####### PROJECT IDENTITY 267 ####### PROJECT IDENTITY
268 268
269 # the 'projectName' string will be used to describe the project that this 269 # the 'projectName' string will be used to describe the project that this
270 # buildbot is working on. For example, it is used as the title of the 270 # buildbot is working on. For example, it is used as the title of the
271 # waterfall HTML page. The 'projectURL' string will be used to provide a link 271 # waterfall HTML page. The 'projectURL' string will be used to provide a link
272 # from buildbot HTML pages to your project's home page. 272 # from buildbot HTML pages to your project's home page.
273 273
274 c['projectName'] = ActiveMaster.project_name 274 c['projectName'] = ActiveMaster.project_name
275 c['projectURL'] = config.Master.project_url 275 c['projectURL'] = config.Master.project_url
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