project_mgmt: Add gs_bucket for Project and Program.
- Will initially be used for logging stdout logs from project
and program builds. In the future, could be used for other
artifacts.
BUG=chromium:1067000
TEST=./generate.sh
Change-Id: Ib61294fe076051c1bd59d13fcd9748c40b57362b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2137466
Commit-Queue: Andrew Lamb <andrewlamb@chromium.org>
Tested-by: Andrew Lamb <andrewlamb@chromium.org>
Reviewed-by: David Burger <dburger@chromium.org>
diff --git a/go/project_mgmt/program.pb.go b/go/project_mgmt/program.pb.go
index 22823d6..86ad11c 100644
--- a/go/project_mgmt/program.pb.go
+++ b/go/project_mgmt/program.pb.go
@@ -23,7 +23,7 @@
// Defines the metadata for a program, which ultimately controls how this
// program is managed throughout the infrastructure.
//
-// NEXT ID: 6
+// NEXT ID: 7
type Program struct {
// Defines the human-readable name for the program.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
@@ -36,10 +36,12 @@
// "path" attribute in the manifest.
RepoCheckoutPath string `protobuf:"bytes,4,opt,name=repo_checkout_path,json=repoCheckoutPath,proto3" json:"repo_checkout_path,omitempty"`
// Defines projects within this program.
- Projects *ProjectList `protobuf:"bytes,5,opt,name=projects,proto3" json:"projects,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ Projects *ProjectList `protobuf:"bytes,5,opt,name=projects,proto3" json:"projects,omitempty"`
+ // The Google Storage bucket for artifacts from the program's builds.
+ GsBucket string `protobuf:"bytes,6,opt,name=gs_bucket,json=gsBucket,proto3" json:"gs_bucket,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
}
func (m *Program) Reset() { *m = Program{} }
@@ -102,6 +104,13 @@
return nil
}
+func (m *Program) GetGsBucket() string {
+ if m != nil {
+ return m.GsBucket
+ }
+ return ""
+}
+
type ProgramList struct {
Value []*Program `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@@ -149,21 +158,22 @@
func init() { proto.RegisterFile("project_mgmt/program.proto", fileDescriptor_3321a169ccc78e39) }
var fileDescriptor_3321a169ccc78e39 = []byte{
- // 248 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x90, 0x4d, 0x4b, 0xc4, 0x30,
- 0x10, 0x86, 0xa9, 0xbb, 0xeb, 0xc7, 0xd4, 0x83, 0x04, 0x84, 0xba, 0x17, 0x97, 0x3d, 0x15, 0x94,
- 0x04, 0x56, 0x14, 0xf1, 0xa8, 0x57, 0x0f, 0xa5, 0x47, 0x2f, 0x25, 0x86, 0x6e, 0x1a, 0x35, 0x9d,
- 0x90, 0xa6, 0xfe, 0x35, 0xff, 0x9e, 0x4c, 0x52, 0xa5, 0xb0, 0xb7, 0x99, 0xf7, 0x79, 0x32, 0xbc,
- 0x04, 0xd6, 0xce, 0xe3, 0x47, 0xab, 0x42, 0x63, 0xb5, 0x0d, 0xc2, 0x79, 0xd4, 0x5e, 0x5a, 0xee,
- 0x3c, 0x06, 0x64, 0xe7, 0x73, 0xb6, 0x3e, 0x30, 0x69, 0x49, 0xe6, 0xf6, 0x27, 0x83, 0x93, 0x2a,
- 0xbd, 0x65, 0x0c, 0x96, 0xbd, 0xb4, 0x6d, 0x91, 0x6d, 0xb2, 0xf2, 0xac, 0x8e, 0x33, 0x65, 0xbe,
- 0x75, 0x58, 0x1c, 0xa5, 0x8c, 0x66, 0x76, 0x0d, 0xb9, 0xc2, 0x7e, 0x6f, 0x74, 0xe3, 0x64, 0xe8,
- 0x8a, 0x45, 0x44, 0x90, 0xa2, 0x4a, 0x86, 0x8e, 0xdd, 0x02, 0x23, 0xb1, 0x51, 0x5d, 0xab, 0x3e,
- 0x71, 0x0c, 0xc9, 0x5b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f, 0x7f, 0x01,
+ 0x00, 0x00, 0xff, 0xff, 0x54, 0x4f, 0xc2, 0xe4, 0x9b, 0x01, 0x00, 0x00,
}
diff --git a/go/project_mgmt/project.pb.go b/go/project_mgmt/project.pb.go
index 5886690..87e3680 100644
--- a/go/project_mgmt/project.pb.go
+++ b/go/project_mgmt/project.pb.go
@@ -117,7 +117,7 @@
// Defines the metadata for a project, which ultimately controls how this
// project is managed throughout the infrastructure.
//
-// NEXT ID: 7
+// NEXT ID: 8
type Project struct {
// Defines the human-readable name for the project.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
@@ -132,10 +132,12 @@
// Defines ACLs for a project's builders.
BuildbucketAcls *BuildbucketAcls `protobuf:"bytes,5,opt,name=buildbucket_acls,json=buildbucketAcls,proto3" json:"buildbucket_acls,omitempty"`
// Define the project's local_manifest.
- LocalManifest *LocalManifest `protobuf:"bytes,6,opt,name=local_manifest,json=localManifest,proto3" json:"local_manifest,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
+ LocalManifest *LocalManifest `protobuf:"bytes,6,opt,name=local_manifest,json=localManifest,proto3" json:"local_manifest,omitempty"`
+ // The Google Storage bucket for artifacts from the project's builds.
+ GsBucket string `protobuf:"bytes,7,opt,name=gs_bucket,json=gsBucket,proto3" json:"gs_bucket,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
}
func (m *Project) Reset() { *m = Project{} }
@@ -205,6 +207,13 @@
return nil
}
+func (m *Project) GetGsBucket() string {
+ if m != nil {
+ return m.GsBucket
+ }
+ return ""
+}
+
type ProjectList struct {
Value []*Project `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
@@ -254,27 +263,28 @@
func init() { proto.RegisterFile("project_mgmt/project.proto", fileDescriptor_18d734e2ff24bda5) }
var fileDescriptor_18d734e2ff24bda5 = []byte{
- // 344 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x92, 0x4f, 0x4b, 0xc3, 0x30,
- 0x18, 0xc6, 0xe9, 0xfe, 0xba, 0xb7, 0x9b, 0x1b, 0x11, 0xa1, 0x2a, 0xe2, 0xa8, 0x97, 0x81, 0xd2,
- 0xc0, 0x04, 0x11, 0x6f, 0xd6, 0x8b, 0x87, 0x89, 0xa3, 0xe0, 0xc5, 0x4b, 0x49, 0xb3, 0xac, 0xad,
- 0x4b, 0x9b, 0x92, 0xa6, 0x7e, 0x0c, 0x3f, 0xb3, 0x34, 0xcd, 0xb0, 0xdb, 0x2d, 0xef, 0xf3, 0x3c,
- 0xfd, 0xf5, 0xed, 0xd3, 0xc0, 0x65, 0x21, 0xc5, 0x37, 0xa3, 0x2a, 0xcc, 0xe2, 0x4c, 0x61, 0x33,
- 0x78, 0x85, 0x14, 0x4a, 0xa0, 0x71, 0xdb, 0x73, 0x7d, 0x98, 0xfa, 0x55, 0xca, 0x37, 0x51, 0x45,
- 0x77, 0x4c, 0xbd, 0x50, 0x5e, 0x22, 0x0c, 0x67, 0xd1, 0xbf, 0x14, 0x4a, 0x46, 0x36, 0x4c, 0x96,
- 0x8e, 0x35, 0xef, 0x2e, 0x46, 0x01, 0x6a, 0x59, 0x41, 0xe3, 0xb8, 0x1f, 0x30, 0x59, 0x09, 0x4a,
- 0xf8, 0x3b, 0xc9, 0xd3, 0x2d, 0x2b, 0x15, 0xba, 0x80, 0x13, 0xc9, 0x0a, 0x11, 0x56, 0x92, 0x3b,
- 0xd6, 0xdc, 0x5a, 0x8c, 0x82, 0x61, 0x3d, 0x7f, 0x4a, 0x8e, 0x6e, 0x61, 0x92, 0x99, 0x58, 0x58,
- 0x10, 0x95, 0x38, 0x1d, 0xed, 0x8f, 0xf7, 0xe2, 0x9a, 0xa8, 0xc4, 0xfd, 0xed, 0xc0, 0x70, 0xdd,
- 0x6c, 0x89, 0x10, 0xf4, 0x72, 0x92, 0x31, 0xc3, 0xd1, 0xe7, 0x5a, 0xab, 0x79, 0xe6, 0x59, 0x7d,
- 0x46, 0x37, 0x60, 0x53, 0x91, 0x6f, 0xd3, 0xb8, 0xc1, 0x76, 0xb5, 0x05, 0x8d, 0x54, 0x43, 0xd1,
- 0x3d, 0x20, 0xbd, 0x14, 0x4d, 0x18, 0xdd, 0x89, 0xca, 0xbc, 0xbe, 0xa7, 0x73, 0xb3, 0xda, 0x79,
- 0x35, 0x86, 0x4e, 0xbf, 0xc1, 0xac, 0x5d, 0x02, 0xa1, 0xbc, 0x74, 0xfa, 0x73, 0x6b, 0x61, 0x2f,
- 0xaf, 0xbd, 0x76, 0x81, 0xde, 0x51, 0x7b, 0xc1, 0x34, 0x3a, 0xaa, 0xd3, 0x87, 0x53, 0x5e, 0xb7,
- 0x13, 0xee, 0x3f, 0xd1, 0x19, 0x68, 0xce, 0xd5, 0x21, 0xe7, 0xa0, 0xc1, 0x60, 0xc2, 0xdb, 0xa3,
- 0xfb, 0x0c, 0xb6, 0xe9, 0x63, 0x95, 0x96, 0x0a, 0xdd, 0x41, 0xff, 0x87, 0xf0, 0x8a, 0xe9, 0x7f,
- 0x62, 0x2f, 0xcf, 0x0f, 0x49, 0x26, 0x19, 0x34, 0x19, 0xff, 0xe9, 0xeb, 0x31, 0x16, 0x1e, 0x4d,
- 0xa4, 0xc8, 0xd2, 0x2a, 0xf3, 0x84, 0x8c, 0xf1, 0x7e, 0x10, 0x25, 0x4e, 0xf3, 0xad, 0x24, 0x58,
- 0xdf, 0x0c, 0x1c, 0x0b, 0xdc, 0x06, 0x45, 0x03, 0x2d, 0x3f, 0xfc, 0x05, 0x00, 0x00, 0xff, 0xff,
- 0xa3, 0x36, 0x19, 0xd9, 0x4e, 0x02, 0x00, 0x00,
+ // 362 bytes of a gzipped FileDescriptorProto
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0xe3, 0x1c, 0x6b, 0x02, 0x00, 0x00,
}
diff --git a/src/project_mgmt/program.proto b/src/project_mgmt/program.proto
index 5802e4a..53e83ab 100644
--- a/src/project_mgmt/program.proto
+++ b/src/project_mgmt/program.proto
@@ -13,7 +13,7 @@
// Defines the metadata for a program, which ultimately controls how this
// program is managed throughout the infrastructure.
//
-// NEXT ID: 6
+// NEXT ID: 7
message Program {
// Defines the human-readable name for the program.
string name = 1;
@@ -27,6 +27,8 @@
string repo_checkout_path = 4;
// Defines projects within this program.
ProjectList projects = 5;
+ // The Google Storage bucket for artifacts from the program's builds.
+ string gs_bucket = 6;
}
message ProgramList {
diff --git a/src/project_mgmt/project.proto b/src/project_mgmt/project.proto
index e1c6dcd..200662a 100644
--- a/src/project_mgmt/project.proto
+++ b/src/project_mgmt/project.proto
@@ -28,7 +28,7 @@
// Defines the metadata for a project, which ultimately controls how this
// project is managed throughout the infrastructure.
//
-// NEXT ID: 7
+// NEXT ID: 8
message Project {
// Defines the human-readable name for the project.
string name = 1;
@@ -44,6 +44,8 @@
BuildbucketAcls buildbucket_acls = 5;
// Define the project's local_manifest.
LocalManifest local_manifest = 6;
+ // The Google Storage bucket for artifacts from the project's builds.
+ string gs_bucket = 7;
}
message ProjectList {