Fix WebRTC version updater bot.

No-Presubmit: True
Bug: webrtc:13373
Change-Id: If668e01f426d19d8d90328cb358a131425b23047
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/238168
Auto-Submit: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Christoffer Jansson <jansson@google.com>
Reviewed-by: Christoffer Jansson <jansson@google.com>
Cr-Commit-Position: refs/heads/main@{#35373}
This commit is contained in:
Mirko Bonadei 2021-11-18 08:59:03 +01:00 committed by WebRTC LUCI CQ
parent 7b0c6a3ae5
commit 7500552a8f
2 changed files with 4 additions and 3 deletions

View File

@ -646,7 +646,7 @@ def _UploadCL(commit_queue_mode):
cmd.extend(['--send-mail', '--cc', NOTIFY_EMAIL])
elif commit_queue_mode >= 1:
logging.info('Starting CQ dry run...')
cmd.extend(['--cq-dry-run'])
cmd.extend(['-o', 'label=Commit-Queue+1'])
extra_env = {
'EDITOR': 'true',
'SKIP_GCE_AUTH_FOR_GIT': '1',

View File

@ -131,10 +131,11 @@ def _UploadCL(commit_queue_mode):
'--cc=""', '--bypass-watchlist']
if commit_queue_mode >= 2:
logging.info('Sending the CL to the CQ...')
cmd.extend(['--use-commit-queue'])
cmd.extend(['-o', 'label=Bot-Commit+1'])
cmd.extend(['-o', 'label=Commit-Queue+2'])
elif commit_queue_mode >= 1:
logging.info('Starting CQ dry run...')
cmd.extend(['--cq-dry-run'])
cmd.extend(['-o', 'label=Commit-Queue+1'])
subprocess.check_call(cmd)