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

Side by Side Diff: content/browser/frame_host/PRESUBMIT.py

Issue 2148053002: PRESUBMIT: use "master." prefix in CQ_INCLUDE_TRYBOTS. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 5 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 | « chrome/browser/resources/PRESUBMIT.py ('k') | content/test/gpu/PRESUBMIT.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 """Presubmit script for //content/browser/frame_host. 4 """Presubmit script for //content/browser/frame_host.
5 5
6 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 6 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
7 for more details about the presubmit API built into depot_tools. 7 for more details about the presubmit API built into depot_tools.
8 """ 8 """
9 9
10 import re 10 import re
11 11
12 12
13 def _GetTryMasters(project, change): 13 def _GetTryMasters(project, change):
14 return { 14 return {
15 'tryserver.chromium.linux': { 15 'master.tryserver.chromium.linux': {
16 'linux_site_isolation': [], 16 'linux_site_isolation': [],
17 }, 17 },
18 } 18 }
19 19
20 20
21 def GetPreferredTryMasters(project, change): 21 def GetPreferredTryMasters(project, change):
22 # TODO(nick, dcheng): Using the value of _GetTryMasters() instead of an empty 22 # TODO(nick, dcheng): Using the value of _GetTryMasters() instead of an empty
23 # value here would cause 'git cl try' to include the site isolation trybots, 23 # value here would cause 'git cl try' to include the site isolation trybots,
24 # which would be nice. But it has the side effect of replacing, rather than 24 # which would be nice. But it has the side effect of replacing, rather than
25 # augmenting, the default set of try servers. Re-enable this when we figure 25 # augmenting, the default set of try servers. Re-enable this when we figure
(...skipping 18 matching lines...) Expand all
44 new_description = description 44 new_description = description
45 new_description += '\nCQ_INCLUDE_TRYBOTS=%s' % ';'.join( 45 new_description += '\nCQ_INCLUDE_TRYBOTS=%s' % ';'.join(
46 '%s:%s' % (master, ','.join(bots)) 46 '%s:%s' % (master, ','.join(bots))
47 for master, bots in masters.iteritems()) 47 for master, bots in masters.iteritems())
48 results.append(output_api.PresubmitNotifyResult( 48 results.append(output_api.PresubmitNotifyResult(
49 'Automatically added site isolation trybots to run tests on CQ.')) 49 'Automatically added site isolation trybots to run tests on CQ.'))
50 50
51 rietveld_obj.update_description(issue, new_description) 51 rietveld_obj.update_description(issue, new_description)
52 52
53 return results 53 return results
OLDNEW
« no previous file with comments | « chrome/browser/resources/PRESUBMIT.py ('k') | content/test/gpu/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698