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

Issue 823823002: Use checked-in CQ config to get trybots to launch from PRESUBMIT.py (Closed)

Created:
6 years ago by Paweł Hajdan Jr.
Modified:
5 years, 11 months ago
Reviewers:
Sergiy Byelozyorov
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use checked-in CQ config to get trybots to launch from PRESUBMIT.py BUG=443613 R=sergiyb@chromium.org Committed: https://chromium.googlesource.com/chromium/src/+/ef2afd4850fdac16dcbfedcbd6a2119ea07aeebd

Patch Set 1 #

Patch Set 2 : fixes #

Total comments: 4

Patch Set 3 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -32 lines) Patch
M PRESUBMIT.py View 1 2 1 chunk +13 lines, -32 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Paweł Hajdan Jr.
6 years ago (2014-12-23 13:52:17 UTC) #2
Sergiy Byelozyorov
lgtm w/ comments https://codereview.chromium.org/823823002/diff/20001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/823823002/diff/20001/PRESUBMIT.py#newcode1688 PRESUBMIT.py:1688: import os Why import here and ...
5 years, 12 months ago (2014-12-24 16:12:34 UTC) #3
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/ef2afd4850fdac16dcbfedcbd6a2119ea07aeebd Cr-Commit-Position: refs/heads/master@{#310290}
5 years, 11 months ago (2015-01-07 16:02:03 UTC) #4
Paweł Hajdan Jr.
Committed patchset #3 (id:40001) manually as ef2afd4850fdac16dcbfedcbd6a2119ea07aeebd (presubmit successful).
5 years, 11 months ago (2015-01-07 16:02:09 UTC) #5
Paweł Hajdan Jr.
5 years, 11 months ago (2015-01-07 16:04:27 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/823823002/diff/20001/PRESUBMIT.py
File PRESUBMIT.py (right):

https://codereview.chromium.org/823823002/diff/20001/PRESUBMIT.py#newcode1688
PRESUBMIT.py:1688: import os
On 2014/12/24 16:12:34, Sergiy Byelozyorov wrote:
> Why import here and not on top of the file? Also shouldn't PRESUBMIT.py
scripts
> use input_api? Or is only in infra?

GetPreferredTryMasters unfortunately doesn't get input_api (CheckChangeOnCommit
does).

Also see pre-existing "import re" above on line 1662.

I agree it's ugly and could be improved.

https://codereview.chromium.org/823823002/diff/20001/PRESUBMIT.py#newcode1703
PRESUBMIT.py:1703: 'linux_chromium_chromeos_asan_rel_ng'] = ['defaulttests']
On 2014/12/24 16:12:34, Sergiy Byelozyorov wrote:
> This is a bit hard to read. Can you please split it into two lines?
> 
> tryserver_linux = builders.setdefault('tryserver.chromium.linux', {})
> tryserver_linux['linux_chromium_chromeos_asan_rel_ng'] = ['defaulttests']

Done.

Powered by Google App Engine
This is Rietveld 408576698