| OLD | NEW |
| 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 659 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 670 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', | 670 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', |
| 671 'skp', 'VERSION'), | 671 'skp', 'VERSION'), |
| 672 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', | 672 api.path['slave_build'].join('skia', 'infra', 'bots', 'assets', |
| 673 'svg', 'VERSION'), | 673 'svg', 'VERSION'), |
| 674 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') | 674 api.path['slave_build'].join('tmp', 'uninteresting_hashes.txt') |
| 675 ) + | 675 ) + |
| 676 api.platform('win', 64) | 676 api.platform('win', 64) |
| 677 ) | 677 ) |
| 678 | 678 |
| 679 builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug-Trybot' | 679 builder = 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86-Debug-Trybot' |
| 680 gerrit_kwargs = { | |
| 681 'patch_storage': 'gerrit', | |
| 682 'repository': 'skia', | |
| 683 'event.patchSet.ref': 'refs/changes/00/2100/2', | |
| 684 'event.change.number': '2100', | |
| 685 } | |
| 686 yield ( | 680 yield ( |
| 687 api.test('recipe_with_gerrit_patch') + | 681 api.test('recipe_with_gerrit_patch') + |
| 688 api.properties( | 682 api.properties( |
| 689 buildername=builder, | 683 buildername=builder, |
| 690 mastername='client.skia', | 684 mastername='client.skia', |
| 691 slavename='skiabot-linux-swarm-000', | 685 slavename='skiabot-linux-swarm-000', |
| 692 buildnumber=5, | 686 buildnumber=5, |
| 693 path_config='kitchen', | 687 path_config='kitchen', |
| 694 swarm_out_dir='[SWARM_OUT_DIR]', | 688 swarm_out_dir='[SWARM_OUT_DIR]', |
| 695 revision='abc123', | 689 revision='abc123', |
| 696 **gerrit_kwargs) | 690 patch_storage='gerrit') + |
| 691 api.properties.tryserver( |
| 692 buildername=builder, |
| 693 gerrit_project='skia', |
| 694 gerrit_url='https://skia-review.googlesource.com/', |
| 695 ) |
| 697 ) | 696 ) |
| 698 | 697 |
| 699 yield ( | 698 yield ( |
| 700 api.test('nobuildbot') + | 699 api.test('nobuildbot') + |
| 701 api.properties( | 700 api.properties( |
| 702 buildername=builder, | 701 buildername=builder, |
| 703 mastername='client.skia', | 702 mastername='client.skia', |
| 704 slavename='skiabot-linux-swarm-000', | 703 slavename='skiabot-linux-swarm-000', |
| 705 buildnumber=5, | 704 buildnumber=5, |
| 706 path_config='kitchen', | 705 path_config='kitchen', |
| 707 swarm_out_dir='[SWARM_OUT_DIR]', | 706 swarm_out_dir='[SWARM_OUT_DIR]', |
| 708 revision='abc123', | 707 revision='abc123', |
| 709 nobuildbot='True', | 708 nobuildbot='True', |
| 710 **gerrit_kwargs) + | 709 patch_storage='gerrit') + |
| 710 api.properties.tryserver( |
| 711 buildername=builder, |
| 712 gerrit_project='skia', |
| 713 gerrit_url='https://skia-review.googlesource.com/', |
| 714 ) + |
| 711 api.step_data('get swarming bot id', | 715 api.step_data('get swarming bot id', |
| 712 stdout=api.raw_io.output('skia-bot-123')) + | 716 stdout=api.raw_io.output('skia-bot-123')) + |
| 713 api.step_data('get swarming task id', stdout=api.raw_io.output('123456')) | 717 api.step_data('get swarming task id', stdout=api.raw_io.output('123456')) |
| 714 ) | 718 ) |
| 715 | 719 |
| OLD | NEW |