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

Side by Side Diff: tools/perf/PRESUBMIT.py

Issue 1509853007: Bisect bots scheduled outage, notify try job users and disable android on CQ. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | tools/telemetry/telemetry/internal/backends/remote/trybot_browser_finder.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 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 """Presubmit script for changes affecting tools/perf/. 5 """Presubmit script for changes affecting tools/perf/.
6 6
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
8 for more details about the presubmit API built into depot_tools. 8 for more details about the presubmit API built into depot_tools.
9 """ 9 """
10 10
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 original_description = rietveld_obj.get_description(issue) 116 original_description = rietveld_obj.get_description(issue)
117 if not benchmarks_modified or re.search( 117 if not benchmarks_modified or re.search(
118 r'^CQ_EXTRA_TRYBOTS=.*', original_description, re.M | re.I): 118 r'^CQ_EXTRA_TRYBOTS=.*', original_description, re.M | re.I):
119 return [] 119 return []
120 120
121 results = [] 121 results = []
122 bots = [ 122 bots = [
123 'linux_perf_bisect', 123 'linux_perf_bisect',
124 'mac_10_10_perf_bisect', 124 'mac_10_10_perf_bisect',
125 'win_perf_bisect', 125 'win_perf_bisect',
126 'android_nexus5_perf_bisect' 126 # crbug.com/568661, Disable android bots for CQ due to scheduled lab move.
127 # 'android_nexus5_perf_bisect'
127 ] 128 ]
128 bots = ['tryserver.chromium.perf:%s' % s for s in bots] 129 bots = ['tryserver.chromium.perf:%s' % s for s in bots]
129 bots_string = ';'.join(bots) 130 bots_string = ';'.join(bots)
130 description = original_description 131 description = original_description
131 description += '\nCQ_EXTRA_TRYBOTS=%s' % bots_string 132 description += '\nCQ_EXTRA_TRYBOTS=%s' % bots_string
132 results.append(output_api.PresubmitNotifyResult( 133 results.append(output_api.PresubmitNotifyResult(
133 'Automatically added Perf trybots to run Telemetry benchmarks on CQ.')) 134 'Automatically added Perf trybots to run Telemetry benchmarks on CQ.'))
134 135
135 if description != original_description: 136 if description != original_description:
136 rietveld_obj.update_description(issue, description) 137 rietveld_obj.update_description(issue, description)
137 138
138 return results 139 return results
OLDNEW
« no previous file with comments | « no previous file | tools/telemetry/telemetry/internal/backends/remote/trybot_browser_finder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698