diff options
author | prasadv <prasadv@chromium.org> | 2015-05-29 09:21:41 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-05-29 16:22:52 +0000 |
commit | 21b44a7d9c5b8e116ac9b7499c6c1cf281e3d4c1 (patch) | |
tree | 8f583ff990dfcb43fbe5215bc85814b3ce5b5dc4 | |
parent | b777fe906e0846a1fcd6d01e3626768a1533e30b (diff) | |
download | chromium_src-21b44a7d9c5b8e116ac9b7499c6c1cf281e3d4c1.zip chromium_src-21b44a7d9c5b8e116ac9b7499c6c1cf281e3d4c1.tar.gz chromium_src-21b44a7d9c5b8e116ac9b7499c6c1cf281e3d4c1.tar.bz2 |
Make commit-queue perf tryjobs to check for requesters from CQ and CQ experimental.
BUG=493377
Review URL: https://codereview.chromium.org/1155993005
Cr-Commit-Position: refs/heads/master@{#331983}
-rwxr-xr-x | tools/run-bisect-perf-regression.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/run-bisect-perf-regression.py b/tools/run-bisect-perf-regression.py index ece0635..b0fdf4c 100755 --- a/tools/run-bisect-perf-regression.py +++ b/tools/run-bisect-perf-regression.py @@ -42,8 +42,9 @@ BUILDBOT_BUILDERNAME = 'BUILDBOT_BUILDERNAME' BENCHMARKS_JSON_FILE = 'benchmarks.json' # This is used to identify tryjobs triggered by the commit queue. -_COMMIT_QUEUE_USER = ('5071639625-1lppvbtck1morgivc6sq4dul7klu27sd' - '@developer.gserviceaccount.com') +_COMMIT_QUEUE_USERS = [ + '5071639625-1lppvbtck1morgivc6sq4dul7klu27sd@developer.gserviceaccount.com', + 'commit-bot@chromium.org'] class Goma(object): @@ -857,7 +858,7 @@ def main(): # If there are no changes to config file, then check if the request is # from the commit queue, if so then run the modified Telemetry benchmarks for # the patch. - if opts.build_properties.get('requester') == _COMMIT_QUEUE_USER: + if opts.build_properties.get('requester') in _COMMIT_QUEUE_USERS: return _SetupAndRunPerformanceTest( config={}, path_to_goma=opts.path_to_goma, is_cq_tryjob=True) |