blob: b4576914c7574b7a7a186a8016e6fc6c7841c4a2 [file] [log] [blame]
// Copyright 2022 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
syntax = "proto3";
package recipe_modules.fuchsia.recipe_testing;
message Project {
// Name of the project, e.g., "fuchsia".
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;
// Buckets to exclude from recipe testing. Uses glob-style matching.
repeated string excluded_buckets = 5;
// Builders to exclude from recipe testing. Uses glob-style matching.
repeated string excluded_builders = 6;
// Include tryjobs where the first location filter is not an exclude rule.
bool include_path_filtered = 7;
// Repositories whose presubmit builders should be included. If empty, all
// repositories with entries in commit-queue.cfg will be considered.
//
// This is useful for including only repositories considered to be critical
// and excluding tryjobs for other repositories that might be less
// well-maintained and more likely to cause false rejections.
//
// Example value: "https://fuchsia.googlesource.com/foo".
repeated string included_repos = 8;
}
message Options {
// List of projects to use when searching for tryjobs.
repeated Project projects = 1;
// Launch tryjobs through Buildbucket API instead of led. Tryjobs will be
// buildbucket builds either way, this only affects how they're launched.
bool use_buildbucket = 2;
}