aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/bots/recipes/swarm_perf.py
diff options
context:
space:
mode:
Diffstat (limited to 'infra/bots/recipes/swarm_perf.py')
-rw-r--r--infra/bots/recipes/swarm_perf.py21
1 files changed, 21 insertions, 0 deletions
diff --git a/infra/bots/recipes/swarm_perf.py b/infra/bots/recipes/swarm_perf.py
index 60ebaee88b..0701809a90 100644
--- a/infra/bots/recipes/swarm_perf.py
+++ b/infra/bots/recipes/swarm_perf.py
@@ -173,6 +173,7 @@ def perf_steps(api):
properties.extend([
'issue', api.vars.issue,
'patchset', api.vars.patchset,
+ 'patch_storage', api.vars.patch_storage,
])
target = 'nanobench'
@@ -327,3 +328,23 @@ def GenTests(api):
) +
api.platform('win', 64)
)
+
+ gerrit_kwargs = {
+ 'patch_storage': 'gerrit',
+ 'repository': 'skia',
+ 'event.patchSet.ref': 'refs/changes/00/2100/2',
+ 'event.change.number': '2100',
+ }
+ yield (
+ api.test('recipe_with_gerrit_patch') +
+ api.properties(
+ buildername='Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x86_64-Release-' +
+ 'Valgrind-Trybot',
+ mastername='client.skia',
+ slavename='skiabot-linux-swarm-000',
+ buildnumber=5,
+ path_config='kitchen',
+ swarm_out_dir='[SWARM_OUT_DIR]',
+ revision='abc123',
+ **gerrit_kwargs)
+ )