Skip to content

Commit

Permalink
GTTF: Send 1% of Chromium try jobs to recipe-based builders.
Browse files Browse the repository at this point in the history
BUG=317931
R=cmp@chromium.org, joi@chromium.org

Review URL: https://codereview.chromium.org/108243005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@243288 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
phajdan.jr@chromium.org committed Jan 7, 2014
1 parent f562a36 commit 23c81d5
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions PRESUBMIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"""


import random
import re
import subprocess
import sys
Expand Down Expand Up @@ -1270,6 +1271,8 @@ def GetDefaultTryConfigs(bots=None):
'google_apis_unittests',
'sandbox_linux_unittests',
],
'linux_chromium_dbg': ['defaulttests'],
'linux_chromium_rel': ['defaulttests'],
'linux_clang': ['compile'],
'linux_rel': standard_tests + [
'cc_unittests',
Expand All @@ -1282,6 +1285,8 @@ def GetDefaultTryConfigs(bots=None):
'sync_integration_tests',
],
'mac': ['compile'],
'mac_chromium_dbg': ['defaulttests'],
'mac_chromium_rel': ['defaulttests'],
'mac_rel': standard_tests + [
'app_list_unittests',
'cc_unittests',
Expand Down Expand Up @@ -1431,4 +1436,14 @@ def GetPreferredTrySlaves(project, change):
any(re.search('\.gypi?$', f) for f in files)):
trybots.extend(GetDefaultTryConfigs(['android_aosp']))

# Experimental recipe-based Chromium trybots. To avoid possible capacity
# problems, only enable for a small percentage of try runs.
if random.random() < 0.01:
trybots.extend(GetDefaultTryConfigs([
'linux_chromium_dbg',
'linux_chromium_rel',
'mac_chromium_dbg',
'mac_chromium_rel',
]))

return trybots

0 comments on commit 23c81d5

Please sign in to comment.