| 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 trigger. | 6 # Recipe module for Skia Swarming trigger. |
| 7 | 7 |
| 8 | 8 |
| 9 import os | 9 import os |
| 10 import json | 10 import json |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 'Housekeeper-Nightly-RecreateSKPs_Canary', | 46 'Housekeeper-Nightly-RecreateSKPs_Canary', |
| 47 'Housekeeper-PerCommit', | 47 'Housekeeper-PerCommit', |
| 48 'Infra-PerCommit', | 48 'Infra-PerCommit', |
| 49 'Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot', | 49 'Perf-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Trybot', |
| 50 'Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs', | 50 'Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs', |
| 51 'Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android', | 51 'Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Debug-GN_Android', |
| 52 'Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan', | 52 'Test-Android-GCC-NVIDIA_Shield-GPU-TegraX1-Arm64-Debug-Vulkan', |
| 53 'Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release', | 53 'Test-Android-GCC-Nexus7v2-GPU-Tegra3-Arm7-Release', |
| 54 'Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release', | 54 'Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release', |
| 55 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot', | 55 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot', |
| 56 'Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN', |
| 56 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug', | 57 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug', |
| 57 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN', | |
| 58 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared', | 58 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared', |
| 59 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', | 59 'Test-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-Valgrind', |
| 60 'Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release', | 60 'Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release', |
| 61 'Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release', | 61 'Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release', |
| 62 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release', | 62 'Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release', |
| 63 ], | 63 ], |
| 64 }, | 64 }, |
| 65 } | 65 } |
| 66 | 66 |
| 67 | 67 |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 357 cipd_packages = [] | 357 cipd_packages = [] |
| 358 | 358 |
| 359 # Android bots require a toolchain. | 359 # Android bots require a toolchain. |
| 360 if 'Android' in builder_name: | 360 if 'Android' in builder_name: |
| 361 cipd_packages.append(cipd_pkg(api, infrabots_dir, 'android_sdk')) | 361 cipd_packages.append(cipd_pkg(api, infrabots_dir, 'android_sdk')) |
| 362 if 'Mac' in builder_name: | 362 if 'Mac' in builder_name: |
| 363 cipd_packages.append(cipd_pkg(api, infrabots_dir, 'android_ndk_darwin')) | 363 cipd_packages.append(cipd_pkg(api, infrabots_dir, 'android_ndk_darwin')) |
| 364 else: | 364 else: |
| 365 cipd_packages.append(cipd_pkg(api, infrabots_dir, 'android_ndk_linux')) | 365 cipd_packages.append(cipd_pkg(api, infrabots_dir, 'android_ndk_linux')) |
| 366 | 366 |
| 367 if 'Ubuntu' in builder_name and ( | 367 if 'Ubuntu' in builder_name and 'Clang' in builder_name: |
| 368 'SAN' in builder_name or 'Clang' in builder_name): | |
| 369 cipd_packages.append(cipd_pkg(api, infrabots_dir, 'clang_linux')) | 368 cipd_packages.append(cipd_pkg(api, infrabots_dir, 'clang_linux')) |
| 370 | 369 |
| 371 # Windows bots require a toolchain. | 370 # Windows bots require a toolchain. |
| 372 if 'Win' in builder_name: | 371 if 'Win' in builder_name: |
| 373 version_file = infrabots_dir.join('assets', 'win_toolchain', 'VERSION') | 372 version_file = infrabots_dir.join('assets', 'win_toolchain', 'VERSION') |
| 374 version = api.run.readfile(version_file, | 373 version = api.run.readfile(version_file, |
| 375 name='read win_toolchain VERSION', | 374 name='read win_toolchain VERSION', |
| 376 test_data='0').rstrip() | 375 test_data='0').rstrip() |
| 377 version = 'version:%s' % version | 376 version = 'version:%s' % version |
| 378 pkg = ('t', 'skia/bots/win_toolchain', version) | 377 pkg = ('t', 'skia/bots/win_toolchain', version) |
| (...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 811 mastername='client.skia', | 810 mastername='client.skia', |
| 812 slavename='skiabot-linux-swarm-000', | 811 slavename='skiabot-linux-swarm-000', |
| 813 buildnumber=5, | 812 buildnumber=5, |
| 814 path_config='kitchen', | 813 path_config='kitchen', |
| 815 revision='abc123', | 814 revision='abc123', |
| 816 **gerrit_kwargs) + | 815 **gerrit_kwargs) + |
| 817 api.step_data( | 816 api.step_data( |
| 818 'upload new .isolated file for test_skia', | 817 'upload new .isolated file for test_skia', |
| 819 stdout=api.raw_io.output('def456 XYZ.isolated')) | 818 stdout=api.raw_io.output('def456 XYZ.isolated')) |
| 820 ) | 819 ) |
| OLD | NEW |