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

Unified Diff: infra/bots/recipes/swarm_trigger.py

Issue 2231943002: Use SVGs CIPD package and use SVG as a DM source (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Address comment Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: infra/bots/recipes/swarm_trigger.py
diff --git a/infra/bots/recipes/swarm_trigger.py b/infra/bots/recipes/swarm_trigger.py
index 17d2d697ec884b7c4c04206af4cc0713f531b6e7..2948b5dbf557892e5fe1334d8a93f3c299e5c854 100644
--- a/infra/bots/recipes/swarm_trigger.py
+++ b/infra/bots/recipes/swarm_trigger.py
@@ -55,6 +55,7 @@ TEST_BUILDERS = {
'Test-Mac-Clang-MacMini6.2-CPU-AVX-x86_64-Release',
'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug',
'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN',
+ 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared',
'Test-Win8-MSVC-ShuttleA-GPU-HD7770-x86_64-Release',
'Test-Win8-MSVC-ShuttleB-CPU-AVX2-x86_64-Release',
],
@@ -679,9 +680,15 @@ def RunSteps(api):
if not (do_test_steps or do_perf_steps):
return
- # SKPs, SkImages.
+ # SKPs, SkImages, SVGs.
cipd_packages.append(cipd_pkg(api, infrabots_dir, 'skp'))
cipd_packages.append(cipd_pkg(api, infrabots_dir, 'skimage'))
+ # TODO(rmistry): Remove the below once we want to enable SVGs for all bots.
+ if (api.properties['buildername'] ==
+ 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot' or
+ api.properties['buildername'] ==
+ 'Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared'):
+ cipd_packages.append(cipd_pkg(api, infrabots_dir, 'svg'))
# Trigger test and perf tasks.
test_task = None
@@ -749,6 +756,8 @@ def test_for_bot(api, builder, mastername, slavename, testname=None):
'skia', 'infra', 'bots', 'assets', 'skimage', 'VERSION'))
paths.append(api.path['slave_build'].join(
'skia', 'infra', 'bots', 'assets', 'skp', 'VERSION'))
+ paths.append(api.path['slave_build'].join(
+ 'skia', 'infra', 'bots', 'assets', 'svg', 'VERSION'))
test += api.path.exists(*paths)

Powered by Google App Engine
This is Rietveld 408576698