blob: 1cc5e91db97f9ac48bed55fb53fa8872a68d7508 [file] [log] [blame]
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Presubmit script for components/grpc_support/.
for more details about the presubmit API built into depot_tools.
def PostUploadHook(cl, change, output_api):
"""git cl upload will call this hook after the issue is created/modified.
This hook adds an extra line to the CL description in order to run Cronet
tests in addition to CQ bots.
# TODO( Remove this once Cronet bots are deployed on CQ.
try_bots = ['',
return output_api.EnsureCQIncludeTrybotsAreAdded(
cl, try_bots, 'Automatically added Cronet trybots to run tests on CQ.')