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

Side by Side Diff: PRESUBMIT.py

Issue 133603003: GTTF: Increase percentage of manual try jobs going to recipe-based trybots. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 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 """Top-level presubmit script for Chromium. 5 """Top-level presubmit script for Chromium.
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 gcl. 8 for more details about the presubmit API built into gcl.
9 """ 9 """
10 10
(...skipping 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 1446
1447 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it 1447 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it
1448 # unless they're .gyp(i) files as changes to those files can break the gyp 1448 # unless they're .gyp(i) files as changes to those files can break the gyp
1449 # step on that bot. 1449 # step on that bot.
1450 if (not all(re.search('^chrome', f) for f in files) or 1450 if (not all(re.search('^chrome', f) for f in files) or
1451 any(re.search('\.gypi?$', f) for f in files)): 1451 any(re.search('\.gypi?$', f) for f in files)):
1452 trybots.extend(GetDefaultTryConfigs(['android_aosp'])) 1452 trybots.extend(GetDefaultTryConfigs(['android_aosp']))
1453 1453
1454 # Experimental recipe-based Chromium trybots. To avoid possible capacity 1454 # Experimental recipe-based Chromium trybots. To avoid possible capacity
1455 # problems, only enable for a small percentage of try runs. 1455 # problems, only enable for a small percentage of try runs.
1456 if random.random() < 0.1: 1456 if random.random() < 0.25:
1457 trybots.extend(GetDefaultTryConfigs([ 1457 trybots.extend(GetDefaultTryConfigs([
1458 'linux_chromium_dbg', 1458 'linux_chromium_dbg',
1459 'linux_chromium_rel', 1459 'linux_chromium_rel',
1460 'mac_chromium_dbg', 1460 'mac_chromium_dbg',
1461 'mac_chromium_rel', 1461 'mac_chromium_rel',
1462 ])) 1462 ]))
1463 1463
1464 return trybots 1464 return trybots
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698