blob: 5d64ca566ba25d62f2989b9e70c0e2d48f6cc4d4 [file] [log] [blame]
// Copyright 2020 The Chromium OS 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 project_mgmt;
option go_package = "go.chromium.org/chromiumos/infra/proto/go/project_mgmt";
// Defines ACLs for a project's builders.
message BuildbucketAcls {
// A list of LUCI Auth Service groups that can view a project's builds.
repeated string buildbucket_readers = 1;
}
// Defines the metadata for a project, which ultimately controls how this
// project is managed throughout the infrastructure.
message Project {
// Defines the git-repo path for the project.
string repo = 1;
// Defines the path that stores all of the project configuration.
// Relative to the git-repo
string config_path = 2;
// Defines the path the repo is checked out to in the source tree, i.e. the
// "path" attribute in the manifest.
string repo_checkout_path = 3;
// Defines ACLs for a project's builders.
BuildbucketAcls buildbucket_acls = 4;
}
message ProjectList {
repeated Project value = 1;
}