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

Side by Side Diff: infra/bots/recipes/swarm_perf.py

Issue 2455523004: Fix recipes for Gerrit property rename (Closed)
Patch Set: 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 5
6 # Recipe module for Skia Swarming perf. 6 # Recipe module for Skia Swarming perf.
7 7
8 8
9 DEPS = [ 9 DEPS = [
10 'build/file', 10 'build/file',
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 'skimage', 'VERSION'), 313 'skimage', 'VERSION'),
314 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', 314 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
315 'skp', 'VERSION'), 315 'skp', 'VERSION'),
316 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', 316 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
317 'svg', 'VERSION'), 317 'svg', 'VERSION'),
318 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 318 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
319 ) + 319 ) +
320 api.platform('win', 64) 320 api.platform('win', 64)
321 ) 321 )
322 322
323 gerrit_kwargs = { 323 builder = ('Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind-'
324 'patch_storage': 'gerrit', 324 'Trybot')
325 'repository': 'skia',
326 'event.patchSet.ref': 'refs/changes/00/2100/2',
327 'event.change.number': '2100',
328 }
329 yield ( 325 yield (
330 api.test('recipe_with_gerrit_patch') + 326 api.test('recipe_with_gerrit_patch') +
331 api.properties( 327 api.properties(
332 buildername='Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-' + 328 buildername=builder,
333 'Valgrind-Trybot',
334 mastername='client.skia', 329 mastername='client.skia',
335 slavename='skiabot-linux-swarm-000', 330 slavename='skiabot-linux-swarm-000',
336 buildnumber=5, 331 buildnumber=5,
337 path_config='kitchen', 332 path_config='kitchen',
338 swarm_out_dir='[SWARM_OUT_DIR]', 333 swarm_out_dir='[SWARM_OUT_DIR]',
339 revision='abc123', 334 revision='abc123',
340 **gerrit_kwargs) 335 patch_storage='gerrit') +
336 api.properties.tryserver(
337 buildername=builder,
338 gerrit_project='skia',
339 gerrit_url='https://skia-review.googlesource.com/',
340 )
341 ) 341 )
342 342
343 builder = 'Perf-Win8-MSVC-ShuttleB-GPU-HD4600-x86_64-Release-Trybot'
343 yield ( 344 yield (
344 api.test('nobuildbot') + 345 api.test('nobuildbot') +
345 api.properties(buildername=builder, 346 api.properties(
346 mastername='client.skia', 347 buildername=builder,
347 slavename='skiabot-linux-swarm-000', 348 mastername='client.skia',
348 buildnumber=5, 349 slavename='skiabot-linux-swarm-000',
349 revision='abc123', 350 buildnumber=5,
350 path_config='kitchen', 351 revision='abc123',
351 nobuildbot='True', 352 path_config='kitchen',
352 swarm_out_dir='[SWARM_OUT_DIR]', 353 nobuildbot='True',
353 **gerrit_kwargs) + 354 swarm_out_dir='[SWARM_OUT_DIR]',
355 patch_storage='gerrit') +
356 api.properties.tryserver(
357 buildername=builder,
358 gerrit_project='skia',
359 gerrit_url='https://skia-review.googlesource.com/',
360 ) +
354 api.path.exists( 361 api.path.exists(
355 api.path['slave_build'].join('skia'), 362 api.path['slave_build'].join('skia'),
356 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', 363 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
357 'skimage', 'VERSION'), 364 'skimage', 'VERSION'),
358 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', 365 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
359 'skp', 'VERSION'), 366 'skp', 'VERSION'),
360 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', 367 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets',
361 'svg', 'VERSION'), 368 'svg', 'VERSION'),
362 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') 369 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt')
363 ) + 370 ) +
364 api.platform('win', 64) + 371 api.platform('win', 64) +
365 api.step_data('get swarming bot id', 372 api.step_data('get swarming bot id',
366 stdout=api.raw_io.output('skia-bot-123')) + 373 stdout=api.raw_io.output('skia-bot-123')) +
367 api.step_data('get swarming task id', stdout=api.raw_io.output('123456')) 374 api.step_data('get swarming task id', stdout=api.raw_io.output('123456'))
368 ) 375 )
369 376
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698