go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/bisection/proto/config/config.proto (about) 1 // Copyright 2022 The LUCI Authors. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 syntax = "proto3"; 16 17 package luci.bisection.config; 18 19 import "go.chromium.org/luci/bisection/proto/config/project_config.proto"; 20 21 option go_package = "go.chromium.org/luci/bisection/proto/config;configpb"; 22 23 // Config is the service-wide configuration data for LUCI Bisection 24 // TODO(beining): Remove this global config, use the project_config.proto for project-specific config. 25 message Config { 26 // Configuration data for Gerrit integration for compile failures. 27 // TODO (nqmtuan): Rename this to make clear that this is only used for 28 // compile failures. 29 GerritConfig gerrit_config = 1; 30 // Configuration data for compile failure analysis. 31 // TODO (nqmtuan): Rename this to CompileFailureAnalysisConfig. 32 AnalysisConfig analysis_config = 2; 33 // Configuration data for test failure analysis. 34 TestAnalysisConfig test_analysis_config = 3; 35 } 36 37 // GerritConfig is the configuration data for running analysis 38 message AnalysisConfig { 39 // Whether we should run culprit verification 40 bool culprit_verification_enabled = 1; 41 42 // Whether we should run nthsection analysis 43 bool nthsection_enabled = 2; 44 }