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

Side by Side Diff: infra/bots/recipe_modules/vars/api.py

Issue 2415193002: Add infra_tests.py, recipe, buildbotless bot (Closed)
Patch Set: Fixes Created 4 years, 2 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 unified diff | Download patch
« no previous file with comments | « infra/bots/infra_tests.py ('k') | infra/bots/recipes/swarm_infra.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # pylint: disable=W0201 6 # pylint: disable=W0201
7 7
8 8
9 from recipe_engine import recipe_api 9 from recipe_engine import recipe_api
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 self.m.path.c.base_paths['slave_build'] + 43 self.m.path.c.base_paths['slave_build'] +
44 ('skia', 'infra', 'bots', '.recipe_deps', 'depot_tools')) 44 ('skia', 'infra', 'bots', '.recipe_deps', 'depot_tools'))
45 if 'Win' in self.builder_name: 45 if 'Win' in self.builder_name:
46 self.m.path.c.base_paths['depot_tools'] = ( 46 self.m.path.c.base_paths['depot_tools'] = (
47 'c:\\', 'Users', 'chrome-bot', 'depot_tools') 47 'c:\\', 'Users', 'chrome-bot', 'depot_tools')
48 48
49 # Compile bots keep a persistent checkout. 49 # Compile bots keep a persistent checkout.
50 self.persistent_checkout = (self.is_compile_bot or 50 self.persistent_checkout = (self.is_compile_bot or
51 'RecreateSKPs' in self.builder_name or 51 'RecreateSKPs' in self.builder_name or
52 '-CT_' in self.builder_name or 52 '-CT_' in self.builder_name or
53 'Presubmit' in self.builder_name) 53 'Presubmit' in self.builder_name or
54 'InfraTests' in self.builder_name)
54 if self.persistent_checkout: 55 if self.persistent_checkout:
55 if 'Win' in self.builder_name: 56 if 'Win' in self.builder_name:
56 self.checkout_root = self.make_path('C:\\', 'b', 'work') 57 self.checkout_root = self.make_path('C:\\', 'b', 'work')
57 self.gclient_cache = self.make_path('C:\\', 'b', 'cache') 58 self.gclient_cache = self.make_path('C:\\', 'b', 'cache')
58 else: 59 else:
59 self.checkout_root = self.make_path('/', 'b', 'work') 60 self.checkout_root = self.make_path('/', 'b', 'work')
60 self.gclient_cache = self.make_path('/', 'b', 'cache') 61 self.gclient_cache = self.make_path('/', 'b', 'cache')
61 62
62 # got_revision is filled in after checkout steps. 63 # got_revision is filled in after checkout steps.
63 self.got_revision = None 64 self.got_revision = None
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 'TSAN', 164 'TSAN',
164 'UBSAN', 165 'UBSAN',
165 'Valgrind', 166 'Valgrind',
166 ] 167 ]
167 upload_perf_results = True 168 upload_perf_results = True
168 for s in skip_upload_bots: 169 for s in skip_upload_bots:
169 if s in self.m.properties['buildername']: 170 if s in self.m.properties['buildername']:
170 upload_perf_results = False 171 upload_perf_results = False
171 break 172 break
172 return upload_perf_results 173 return upload_perf_results
OLDNEW
« no previous file with comments | « infra/bots/infra_tests.py ('k') | infra/bots/recipes/swarm_infra.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698