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

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

Issue 2464143005: Switch chromium.perf Android Nexus5X over to chromium recipe (Closed)
Patch Set: Whoops, mis-read message. Created 4 years, 1 month 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 'category': '%d%s|builder_testers' % (_CategoryIndex(platform), platform), 153 'category': '%d%s|builder_testers' % (_CategoryIndex(platform), platform),
154 }) 154 })
155 155
156 if bb_trigger: 156 if bb_trigger:
157 trigger_name = _TriggerName(platform, target_bits) 157 trigger_name = _TriggerName(platform, target_bits)
158 if trigger_name not in _trigger_testers: 158 if trigger_name not in _trigger_testers:
159 _trigger_testers[trigger_name] = [] 159 _trigger_testers[trigger_name] = []
160 _trigger_testers[trigger_name].append(name) 160 _trigger_testers[trigger_name].append(name)
161 161
162 162
163 def _AddTester(name, platform, num_shards=1, target_bits=64): 163 def _AddTester(name, platform, num_shards=1, target_bits=64, recipe=None):
164 if platform == 'android': 164 if platform == 'android':
165 factory = m_remote_run_chromium_src('android/perf') 165 recipe = recipe or 'android/perf'
166 bb_trigger = True 166 bb_trigger = True
167 else: 167 else:
168 factory = m_remote_run_chromium_src('chromium') 168 recipe = recipe or 'chromium'
169 bb_trigger = False 169 bb_trigger = False
170 170
171 factory = m_remote_run_chromium_src(recipe)
172
171 if num_shards == 1: 173 if num_shards == 1:
172 _AddTesterShard(name, factory, platform, target_bits, bb_trigger=bb_trigger) 174 _AddTesterShard(name, factory, platform, target_bits, bb_trigger=bb_trigger)
173 else: 175 else:
174 for index in xrange(num_shards): 176 for index in xrange(num_shards):
175 indexed_name = '%s (%d)' % (name, index + 1) 177 indexed_name = '%s (%d)' % (name, index + 1)
176 _AddTesterShard( 178 _AddTesterShard(
177 indexed_name, factory, platform, target_bits, bb_trigger=bb_trigger) 179 indexed_name, factory, platform, target_bits, bb_trigger=bb_trigger)
178 180
179 181
180 c['builders'] = [] 182 c['builders'] = []
181 183
182 184
183 _AddBuilder('Android Builder', 'android', target_bits=32) 185 _AddBuilder('Android Builder', 'android', target_bits=32)
184 _AddBuilder('Android Compile', 'android', target_bits=32, recipe='chromium') 186 _AddBuilder('Android Compile', 'android', target_bits=32, recipe='chromium')
185 _AddBuilder('Android arm64 Builder', 'android') 187 _AddBuilder('Android arm64 Builder', 'android')
186 _AddBuilder('Win Builder', 'win', timeout=3600, target_bits=32) 188 _AddBuilder('Win Builder', 'win', timeout=3600, target_bits=32)
187 # TODO(dtu): decrease the timeout when https://crbug.com/617982 is fixed. 189 # TODO(dtu): decrease the timeout when https://crbug.com/617982 is fixed.
188 _AddBuilder('Win x64 Builder', 'win', timeout=7200) 190 _AddBuilder('Win x64 Builder', 'win', timeout=7200)
189 _AddBuilder('Mac Builder', 'mac') 191 _AddBuilder('Mac Builder', 'mac')
190 # TODO(krasin): decrease the timeout when https://crbug.com/569732 is fixed. 192 # TODO(krasin): decrease the timeout when https://crbug.com/569732 is fixed.
191 _AddBuilder('Linux Builder', 'linux', timeout=4800) 193 _AddBuilder('Linux Builder', 'linux', timeout=4800)
192 194
193 195
194 _AddTester('Android Galaxy S5 Perf', 'android', num_shards=3, target_bits=32) 196 _AddTester('Android Galaxy S5 Perf', 'android', num_shards=3, target_bits=32)
195 _AddTester('Android Nexus5 Perf', 'android', num_shards=3, target_bits=32) 197 _AddTester('Android Nexus5 Perf', 'android', num_shards=3, target_bits=32)
196 _AddTester('Android Nexus5X Perf', 'android', num_shards=3) 198 _AddTester('Android Nexus5X Perf', 'android', num_shards=3, recipe='chromium')
197 _AddTester('Android Nexus6 Perf', 'android', num_shards=3, target_bits=32) 199 _AddTester('Android Nexus6 Perf', 'android', num_shards=3, target_bits=32)
198 _AddTester('Android Nexus7v2 Perf', 'android', num_shards=3, target_bits=32) 200 _AddTester('Android Nexus7v2 Perf', 'android', num_shards=3, target_bits=32)
199 _AddTester('Android Nexus9 Perf', 'android', num_shards=3) 201 _AddTester('Android Nexus9 Perf', 'android', num_shards=3)
200 _AddTester('Android One Perf', 'android', num_shards=3, target_bits=32) 202 _AddTester('Android One Perf', 'android', num_shards=3, target_bits=32)
201 _AddTester('Android Nexus5X WebView Perf', 'android', num_shards=3) 203 _AddTester('Android Nexus5X WebView Perf', 'android', num_shards=3)
202 _AddTester('Android Nexus6 WebView Perf', 'android', num_shards=3, 204 _AddTester('Android Nexus6 WebView Perf', 'android', num_shards=3,
203 target_bits=32) 205 target_bits=32)
204 206
205 207
206 _AddTester('Win Zenbook Perf', 'win', num_shards=5) 208 _AddTester('Win Zenbook Perf', 'win', num_shards=5)
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 289
288 ####### PROJECT IDENTITY 290 ####### PROJECT IDENTITY
289 291
290 # the 'projectName' string will be used to describe the project that this 292 # the 'projectName' string will be used to describe the project that this
291 # buildbot is working on. For example, it is used as the title of the 293 # buildbot is working on. For example, it is used as the title of the
292 # waterfall HTML page. The 'projectURL' string will be used to provide a link 294 # waterfall HTML page. The 'projectURL' string will be used to provide a link
293 # from buildbot HTML pages to your project's home page. 295 # from buildbot HTML pages to your project's home page.
294 296
295 c['projectName'] = ActiveMaster.project_name 297 c['projectName'] = ActiveMaster.project_name
296 c['projectURL'] = config.Master.project_url 298 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