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

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

Issue 2424793005: Add key params for buildbotless bots in DM/nanobench (Closed)
Patch Set: rebase Created 4 years, 2 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 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 test. 6 # Recipe module for Skia Swarming test.
7 7
8 8
9 DEPS = [ 9 DEPS = [
10 'build/file', 10 'build/file',
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 'master', api.vars.master_name, 466 'master', api.vars.master_name,
467 'builder', api.vars.builder_name, 467 'builder', api.vars.builder_name,
468 'build_number', api.vars.build_number, 468 'build_number', api.vars.build_number,
469 ] 469 ]
470 if api.vars.is_trybot: 470 if api.vars.is_trybot:
471 properties.extend([ 471 properties.extend([
472 'issue', api.vars.issue, 472 'issue', api.vars.issue,
473 'patchset', api.vars.patchset, 473 'patchset', api.vars.patchset,
474 'patch_storage', api.vars.patch_storage, 474 'patch_storage', api.vars.patch_storage,
475 ]) 475 ])
476 if api.vars.no_buildbot:
477 properties.extend(['no_buildbot', 'True'])
478 properties.extend(['swarming_bot_id', api.vars.swarming_bot_id])
479 properties.extend(['swarming_task_id', api.vars.swarming_task_id])
476 480
477 args = [ 481 args = [
478 'dm', 482 'dm',
479 '--undefok', # This helps branches that may not know new flags. 483 '--undefok', # This helps branches that may not know new flags.
480 '--resourcePath', api.flavor.device_dirs.resource_dir, 484 '--resourcePath', api.flavor.device_dirs.resource_dir,
481 '--skps', api.flavor.device_dirs.skp_dir, 485 '--skps', api.flavor.device_dirs.skp_dir,
482 '--images', api.flavor.device_path_join( 486 '--images', api.flavor.device_path_join(
483 api.flavor.device_dirs.images_dir, 'dm'), 487 api.flavor.device_dirs.images_dir, 'dm'),
484 '--colorImages', api.flavor.device_path_join( 488 '--colorImages', api.flavor.device_path_join(
485 api.flavor.device_dirs.images_dir, 'colorspace'), 489 api.flavor.device_dirs.images_dir, 'colorspace'),
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 api.properties( 683 api.properties(
680 buildername=builder, 684 buildername=builder,
681 mastername='client.skia', 685 mastername='client.skia',
682 slavename='skiabot-linux-swarm-000', 686 slavename='skiabot-linux-swarm-000',
683 buildnumber=5, 687 buildnumber=5,
684 path_config='kitchen', 688 path_config='kitchen',
685 swarm_out_dir='[SWARM_OUT_DIR]', 689 swarm_out_dir='[SWARM_OUT_DIR]',
686 revision='abc123', 690 revision='abc123',
687 **gerrit_kwargs) 691 **gerrit_kwargs)
688 ) 692 )
693
694 yield (
695 api.test('nobuildbot') +
696 api.properties(
697 buildername=builder,
698 mastername='client.skia',
699 slavename='skiabot-linux-swarm-000',
700 buildnumber=5,
701 path_config='kitchen',
702 swarm_out_dir='[SWARM_OUT_DIR]',
703 revision='abc123',
704 nobuildbot='True',
705 **gerrit_kwargs) +
706 api.step_data('get swarming bot id',
707 stdout=api.raw_io.output('skia-bot-123')) +
708 api.step_data('get swarming task id', stdout=api.raw_io.output('123456'))
709 )
710
OLDNEW
« no previous file with comments | « infra/bots/recipes/swarm_perf.expected/nobuildbot.json ('k') | infra/bots/recipes/swarm_test.expected/nobuildbot.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698