Remove cq_name from cq.cfg, no longer required/allowed

Also add cq PRESUBMIT to validate future changes.

TBR=iannucci@chromium.org
Bug: chromium:892712
Change-Id: Ia2b3fe9550857939843fda738068aabec26942e2
Reviewed-on: https://chromium-review.googlesource.com/c/1289715
Reviewed-by: Scott Graham <scottmg@chromium.org>
This commit is contained in:
Scott Graham 2018-10-18 15:32:12 -07:00
parent 196897eb08
commit 2951fbde52
2 changed files with 19 additions and 1 deletions

19
infra/config/PRESUBMIT.py Normal file
View File

@ -0,0 +1,19 @@
# Copyright 2018 The Crashpad Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
def CheckChangeOnUpload(input_api, output_api):
return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)
def CheckChangeOnCommit(input_api, output_api):
return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)

View File

@ -16,7 +16,6 @@
# documentation of this file format.
version: 1
cq_name: "crashpad"
cq_status_url: "https://chromium-cq-status.appspot.com"
# This is required for gerrit projects.