Set Bot-Commit and Commit-Queue.

Bug: chromium:1283158
Change-Id: Ie93ea0aac310e980fbb5918beb938e8e7e704189
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/3358581
Reviewed-by: Christoffer Jansson <jansson@chromium.org>
Commit-Queue: Mirko Bonadei <mbonadei@chromium.org>
This commit is contained in:
Mirko Bonadei 2021-12-29 09:15:26 +01:00 committed by libyuv LUCI CQ
parent 6862f18e73
commit b91df1a02e

View File

@ -418,10 +418,11 @@ def _UploadCL(commit_queue_mode):
cmd = ['git', 'cl', 'upload', '--force', '--bypass-hooks', '--send-mail']
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'])
extra_env = {
'EDITOR': 'true',
'SKIP_GCE_AUTH_FOR_GIT': '1',