Commit 3b6f913f authored by machenbach's avatar machenbach Committed by Commit bot

Revert of [cq] Keep presubmit trybots and cq automatically in sync. (patchset...

Revert of [cq] Keep presubmit trybots and cq automatically in sync. (patchset #1 id:1 of https://codereview.chromium.org/1580193004/ )

Reason for revert:
Doesn't work with triggered bots. Waiting for this fix: https://codereview.chromium.org/1587893003/

Original issue's description:
> [cq] Keep presubmit trybots and cq automatically in sync.
>
> Code copied 1:1 from chromium.
>
> BUG=chromium:565952
> LOG=n
> NOTRY=true
>
> Committed: https://crrev.com/039dce1e355be6422c672badef5f3895f3b16ead
> Cr-Commit-Position: refs/heads/master@{#33264}

TBR=tandrii@chromium.org,kjellander@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:565952

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

Cr-Commit-Position: refs/heads/master@{#33284}
parent ae679c54
...@@ -278,27 +278,25 @@ def CheckChangeOnCommit(input_api, output_api): ...@@ -278,27 +278,25 @@ def CheckChangeOnCommit(input_api, output_api):
def GetPreferredTryMasters(project, change): def GetPreferredTryMasters(project, change):
import json return {
import os.path 'tryserver.v8': {
import platform 'v8_linux_rel_ng': set(['defaulttests']),
import subprocess 'v8_linux_dbg_ng': set(['defaulttests']),
'v8_linux_nodcheck_rel': set(['defaulttests']),
cq_config_path = os.path.join( 'v8_linux_gcc_compile_rel': set(['defaulttests']),
change.RepositoryRoot(), 'infra', 'config', 'cq.cfg') 'v8_linux64_rel_ng': set(['defaulttests']),
# commit_queue.py below is a script in depot_tools directory, which has a 'v8_linux64_asan_rel': set(['defaulttests']),
# 'builders' command to retrieve a list of CQ builders from the CQ config. 'v8_linux64_avx2_rel': set(['defaulttests']),
is_win = platform.system() == 'Windows' 'v8_win_rel_ng': set(['defaulttests']),
masters = json.loads(subprocess.check_output( 'v8_win_compile_dbg': set(['defaulttests']),
['commit_queue', 'builders', cq_config_path], shell=is_win)) 'v8_win_nosnap_shared_compile_rel': set(['defaulttests']),
'v8_win64_rel_ng': set(['defaulttests']),
try_config = {} 'v8_mac_rel': set(['defaulttests']),
for master in masters: 'v8_linux_arm_rel': set(['defaulttests']),
try_config.setdefault(master, {}) 'v8_linux_arm64_rel': set(['defaulttests']),
for builder in masters[master]: 'v8_linux_mipsel_compile_rel': set(['defaulttests']),
# Do not trigger presubmit builders, since they're likely to fail 'v8_linux_mips64el_compile_rel': set(['defaulttests']),
# (e.g. OWNERS checks before finished code review), and we're 'v8_android_arm_compile_rel': set(['defaulttests']),
# running local presubmit anyway. 'v8_linux_chromium_gn_rel': set(['defaulttests']),
if 'presubmit' not in builder: },
try_config[master][builder] = ['defaulttests'] }
return try_config
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment