blob: 2f40bba906f20e5153a096221bc1bd72c75ad2b7 [file] [log] [blame]
// Copyright 2020 The Pigweed 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
//
// https://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.
syntax = "proto3";
package recipes.pigweed.recipes;
message Project {
// Name of the project, e.g., "pigweed".
string name = 1;
// Include tryjobs with result_visibility COMMENT_LEVEL_RESTRICTED.
bool include_restricted = 2;
// Include tryjobs with result_visibility COMMENT_LEVEL_FULL.
bool include_unrestricted = 3;
// Name of the CQ file. Defaults to "commit-queue.cfg".
string cq_config_name = 4;
}
message RecipeTestingOptions {
// List of projects to use when searching for tryjobs.
repeated Project projects = 1;
// Launch tryjobs through Buildbucket API instead of led.
bool use_buildbucket = 2;
}
message InputProperties {
// Exit after unit tests complete.
bool unittest_only = 1;
// Include public tryjobs.
bool include_public = 2;
// Include private tryjobs.
bool include_private = 3;
// LUCI projects to scan for tryjobs.
repeated string projects = 4;
RecipeTestingOptions recipe_testing_options = 5;
}