Notify a rotation about autoroll CLs
Also don't keep dry-run-only CLs as work-in-progress. No-Try: True Bug: chromium:836566 Change-Id: I3008845396d09c751443755f96a5d571389e1d2e Reviewed-on: https://webrtc-review.googlesource.com/c/104620 Reviewed-by: Patrik Höglund <phoglund@webrtc.org> Commit-Queue: Oleh Prypin <oprypin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25046}
This commit is contained in:
parent
75e3647a76
commit
e6708f31a0
@ -70,6 +70,8 @@ ANDROID_DEPS_END = r'=== ANDROID_DEPS Generated Code End ==='
|
||||
# Location of automically gathered android deps.
|
||||
ANDROID_DEPS_PATH = 'src/third_party/android_deps/'
|
||||
|
||||
NOTIFY_EMAIL = 'webrtc-trooper@grotations.appspotmail.com'
|
||||
|
||||
|
||||
sys.path.append(os.path.join(CHECKOUT_SRC_DIR, 'build'))
|
||||
import find_depot_tools
|
||||
@ -592,10 +594,11 @@ def _UploadCL(commit_queue_mode):
|
||||
- 1: Run trybots but do not submit to CQ.
|
||||
- 0: Skip CQ, upload only.
|
||||
"""
|
||||
cmd = ['git', 'cl', 'upload', '--force', '--bypass-hooks']
|
||||
cmd = ['git', 'cl', 'upload', '--force', '--bypass-hooks', '--send-mail']
|
||||
cmd.extend(['--cc', NOTIFY_EMAIL])
|
||||
if commit_queue_mode >= 2:
|
||||
logging.info('Sending the CL to the CQ...')
|
||||
cmd.extend(['--use-commit-queue', '--send-mail'])
|
||||
cmd.extend(['--use-commit-queue'])
|
||||
elif commit_queue_mode >= 1:
|
||||
logging.info('Starting CQ dry run...')
|
||||
cmd.extend(['--cq-dry-run'])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user