Commit 6be9c2da authored by Sergiy Byelozyorov's avatar Sergiy Byelozyorov Committed by Commit Bot

Only run git-cl-try if there are bots to trigger to avoid triggering CQ dry-run

R=machenbach@chromium.org

Bug: chromium:616879
Change-Id: Ice9927dd4bbaf72141c6693e4afaf57a362f515b
Reviewed-on: https://chromium-review.googlesource.com/884281Reviewed-by: 's avatarMichael Achenbach <machenbach@chromium.org>
Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#50852}
parent c077ff54
......@@ -105,9 +105,11 @@ def main():
'update_depot_tools', shell=True, stderr=subprocess.STDOUT, cwd=V8_BASE)
buildbot_bots = [bot for bot in options.bots if bot not in SWARMING_BOTS]
if buildbot_bots:
_trigger_bots('master.internal.client.v8', buildbot_bots, options)
swarming_bots = [bot for bot in options.bots if bot in SWARMING_BOTS]
if swarming_bots:
_trigger_bots('luci.v8-internal', swarming_bots, options)
......
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