diff --git a/PRESUBMIT.py b/PRESUBMIT.py new file mode 100644 index 000000000..01ec0eed2 --- /dev/null +++ b/PRESUBMIT.py @@ -0,0 +1,11 @@ +# Copyright 2018 The PDFium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + + +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) diff --git a/cr-buildbucket.cfg b/cr-buildbucket.cfg index fc0c16b11..84ea590d0 100644 --- a/cr-buildbucket.cfg +++ b/cr-buildbucket.cfg @@ -59,9 +59,9 @@ acl_sets { } } -bucket { +buckets { name: "luci.libyuv.ci" - acl_sets: "ci + acl_sets: "ci" swarming { hostname: "chromium-swarm.appspot.com" builder_defaults { @@ -219,7 +219,7 @@ bucket { } } -bucket { +buckets { name: "luci.libyuv.try" acl_sets: "try" swarming { diff --git a/luci-milo.cfg b/luci-milo.cfg index 35839f106..445f95d01 100644 --- a/luci-milo.cfg +++ b/luci-milo.cfg @@ -179,7 +179,7 @@ consoles { repo_url: "https://chromium.googlesource.com/libyuv/libyuv/" refs: "refs/heads/master" manifest_name: "REVISION" - builder_view_only: + builder_view_only: true builders { name: "buildbucket/luci.libyuv.ci/android"