infra: Remove lucicfg tint LUCI project was removed in https://crrev.com/i/8910517 Cleaning the configs to not get bothered when code searching. No-Try: true No-Presubmit: true Change-Id: Ic9b2e4f11e6ac3d614f1926acf1b5a2b18802775 Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/284095 Auto-Submit: Junji Watanabe <jwata@google.com> Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org> Kokoro: Yuly Novikov <ynovikov@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
diff --git a/infra/config/PRESUBMIT.py b/infra/config/PRESUBMIT.py deleted file mode 100644 index 6f2e2a0..0000000 --- a/infra/config/PRESUBMIT.py +++ /dev/null
@@ -1,25 +0,0 @@ -# Copyright 2021 The Tint Authors -# -# 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. - -USE_PYTHON3 = True - - -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/infra/config/README.md b/infra/config/README.md deleted file mode 100644 index a93b7f2..0000000 --- a/infra/config/README.md +++ /dev/null
@@ -1 +0,0 @@ -This directory contains configurations for infra services.
diff --git a/infra/config/global/generated/project.cfg b/infra/config/global/generated/project.cfg deleted file mode 100644 index 4fb6b3f..0000000 --- a/infra/config/global/generated/project.cfg +++ /dev/null
@@ -1,15 +0,0 @@ -# Auto-generated by lucicfg. -# Do not modify manually. -# -# For the schema of this file, see ProjectCfg message: -# https://config.luci.app/schemas/projects:project.cfg - -name: "tint" -access: "group:all" -lucicfg { - version: "1.46.2" - package_dir: ".." - config_dir: "generated" - entry_point: "main.star" - experiments: "crbug.com/1182002" -}
diff --git a/infra/config/global/generated/realms.cfg b/infra/config/global/generated/realms.cfg deleted file mode 100644 index d7d3f38..0000000 --- a/infra/config/global/generated/realms.cfg +++ /dev/null
@@ -1,37 +0,0 @@ -# Auto-generated by lucicfg. -# Do not modify manually. -# -# For the schema of this file, see RealmsCfg message: -# https://config.luci.app/schemas/projects:realms.cfg - -realms { - name: "@root" - bindings { - role: "role/buildbucket.reader" - principals: "group:all" - } - bindings { - role: "role/configs.reader" - principals: "group:all" - } - bindings { - role: "role/configs.validator" - principals: "user:tint-try-builder@chops-service-accounts.iam.gserviceaccount.com" - } - bindings { - role: "role/logdog.reader" - principals: "group:all" - } - bindings { - role: "role/logdog.writer" - principals: "group:luci-logdog-chromium-writers" - } - bindings { - role: "role/scheduler.owner" - principals: "group:project-tint-admins" - } - bindings { - role: "role/scheduler.reader" - principals: "group:all" - } -}
diff --git a/infra/config/global/main.star b/infra/config/global/main.star deleted file mode 100755 index 2967ca2..0000000 --- a/infra/config/global/main.star +++ /dev/null
@@ -1,57 +0,0 @@ -#!/usr/bin/env lucicfg -# -# Copyright 2021 The Tint Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. -# -""" -main.star: lucicfg configuration for Tint's standalone builers. -""" - -# Use LUCI Scheduler BBv2 names and add Scheduler realms configs. -lucicfg.enable_experiment("crbug.com/1182002") - -luci.builder.defaults.experiments.set({ - "luci.recipes.use_python3": 100, -}) - -lucicfg.config(fail_on_warnings = True) - -luci.project( - name = "tint", - buildbucket = "cr-buildbucket.appspot.com", - logdog = "luci-logdog.appspot.com", - milo = "luci-milo.appspot.com", - notify = "luci-notify.appspot.com", - scheduler = "luci-scheduler.appspot.com", - swarming = "chromium-swarm.appspot.com", - acls = [ - acl.entry( - roles = [ - acl.PROJECT_CONFIGS_READER, - acl.LOGDOG_READER, - acl.BUILDBUCKET_READER, - acl.SCHEDULER_READER, - ], - groups = "all", - ), - acl.entry( - roles = [ - acl.SCHEDULER_OWNER, - ], - groups = "project-tint-admins", - ), - acl.entry( - roles = [ - acl.LOGDOG_WRITER, - ], - groups = "luci-logdog-chromium-writers", - ), - ], - bindings = [ - luci.binding( - roles = "role/configs.validator", - users = "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com", - ), - ], -)