Index: infra/bots/recipe_modules/vars/api.py |
diff --git a/infra/bots/recipe_modules/vars/api.py b/infra/bots/recipe_modules/vars/api.py |
index b2b51b30ac973f210c750515c2116ac78a6bdd92..5786d436bf74e7f3dac21472abf4acd4500146e2 100644 |
--- a/infra/bots/recipe_modules/vars/api.py |
+++ b/infra/bots/recipe_modules/vars/api.py |
@@ -144,4 +144,19 @@ class SkiaVarsApi(recipe_api.RecipeApi): |
@property |
def upload_perf_results(self): |
# TODO(borenet): Move this into the swarm_perf recipe. |
- return ('Release' in self.m.properties['buildername']) |
+ if 'Release' not in self.m.properties['buildername']: |
+ return False |
+ skip_upload_bots = [ |
+ 'ASAN', |
+ 'Coverage', |
+ 'MSAN', |
+ 'TSAN', |
+ 'UBSAN', |
+ 'Valgrind', |
+ ] |
+ upload_perf_results = True |
+ for s in skip_upload_bots: |
+ if s in self.m.properties['buildername']: |
+ upload_perf_results = False |
+ break |
+ return upload_perf_results |