From 3b95aa5a26d18b249a1e69b2356368c691173143 Mon Sep 17 00:00:00 2001 From: Isma <71719097+Doozers@users.noreply.github.com> Date: Thu, 8 Sep 2022 22:05:18 +0200 Subject: [PATCH] feat: handling of a yolo.json config (#446) * feat: add tree command (build, artifacts) Signed-off-by: ismael FALL * fix(tree): review comments Signed-off-by: ismael FALL * feat(yolo.json): add handling of a yolo.json file to override build's infos Signed-off-by: ismael FALL * fix(yolo.json): apply review Signed-off-by: ismael FALL * fix(yolo.json): lint Signed-off-by: ismael FALL * fix(yolo.json): remove useless for loop Signed-off-by: ismael FALL * fix: remove debug Signed-off-by: ismael FALL * fix: codefactor Signed-off-by: ismael FALL * fix: codefactor Signed-off-by: ismael FALL * feat(yolo.json): preload both project and commit raw version Signed-off-by: ismael FALL Signed-off-by: ismael FALL --- api/yolopb.proto | 13 + go/cmd/yolo/main.go | 2 +- go/gen.sum | 2 +- go/pkg/yolopb/types.go | 14 + go/pkg/yolopb/yolopb.pb.go | 1222 +++++++++++++++++++++++-------- go/pkg/yolostore/store.go | 5 +- go/pkg/yolosvc/driver_github.go | 113 ++- go/pkg/yolosvc/util.go | 11 + 8 files changed, 1067 insertions(+), 315 deletions(-) diff --git a/api/yolopb.proto b/api/yolopb.proto index deb3066f..c49f3a63 100644 --- a/api/yolopb.proto +++ b/api/yolopb.proto @@ -120,6 +120,13 @@ message BuildListFilters { // DB Schemas // +message MetadataOverride { + string branch = 11; + Commit has_commit = 102; + string has_commit_id = 103 [(gogoproto.customname) = "HasCommitID"]; + string has_project_id = 105 [(gogoproto.customname) = "HasProjectID"]; +} + message Build { /// fields @@ -141,6 +148,12 @@ message Build { /// relationships + string raw_branch = 21; + Commit has_raw_commit = 22; + Project has_raw_project = 23; + string has_raw_commit_id = 24 [(gogoproto.customname) = "HasRawCommitID"]; + string has_raw_project_id = 25 [(gogoproto.customname) = "HasRawProjectID"]; + repeated Artifact has_artifacts = 101 [(gogoproto.moretags) = "gorm:\"foreignkey:HasBuildID\""]; Commit has_commit = 102; string has_commit_id = 103 [(gogoproto.customname) = "HasCommitID"]; diff --git a/go/cmd/yolo/main.go b/go/cmd/yolo/main.go index 491d6320..e76adc40 100644 --- a/go/cmd/yolo/main.go +++ b/go/cmd/yolo/main.go @@ -212,7 +212,7 @@ func yolo(args []string) error { gr.Add(func() error { return svc.PkgmanWorker(ctx, opts) }, func(_ error) { cancel() }) } if githubToken != "" { - opts := yolosvc.GithubWorkerOpts{Logger: logger, MaxBuilds: maxBuilds, ClearCache: cc, Once: once, ReposFilter: githubRepos} + opts := yolosvc.GithubWorkerOpts{Logger: logger, MaxBuilds: maxBuilds, ClearCache: cc, Once: once, ReposFilter: githubRepos, Token: githubToken} gr.Add(func() error { return svc.GitHubWorker(ctx, opts) }, func(_ error) { cancel() }) } diff --git a/go/gen.sum b/go/gen.sum index 9d50ff90..b9285197 100644 --- a/go/gen.sum +++ b/go/gen.sum @@ -1,2 +1,2 @@ -b159e501d328d92c4c7a09d4a4bbbe73c2b12de2 ../api/yolopb.proto +47bb442741915360a39f11eb607c44b3b757a42b ../api/yolopb.proto d9b059a1afc43827a435da383eb09f7e8c5d3ce5 Makefile diff --git a/go/pkg/yolopb/types.go b/go/pkg/yolopb/types.go index 74cf6786..2db32d4d 100644 --- a/go/pkg/yolopb/types.go +++ b/go/pkg/yolopb/types.go @@ -3,6 +3,7 @@ package yolopb import ( "net/url" + "github.com/gogo/protobuf/proto" "github.com/stretchr/signature" ) @@ -39,3 +40,16 @@ func (a *Artifact) AddSignedURLs(key string) error { } return nil } + +func (b *Build) ApplyMetadataOverride(override *MetadataOverride) { + bytes, err := override.Marshal() + if err != nil { + return + } + o := &Build{} + err = proto.Unmarshal(bytes, o) + if err != nil { + return + } + proto.Merge(b, o) +} diff --git a/go/pkg/yolopb/yolopb.pb.go b/go/pkg/yolopb/yolopb.pb.go index 511b76f7..195ba098 100644 --- a/go/pkg/yolopb/yolopb.pb.go +++ b/go/pkg/yolopb/yolopb.pb.go @@ -110,7 +110,7 @@ func (x Build_State) String() string { } func (Build_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{5, 0} + return fileDescriptor_a62788fcb176084a, []int{6, 0} } type MergeRequest_State int32 @@ -141,7 +141,7 @@ func (x MergeRequest_State) String() string { } func (MergeRequest_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{8, 0} + return fileDescriptor_a62788fcb176084a, []int{9, 0} } type Entity_Kind int32 @@ -172,7 +172,7 @@ func (x Entity_Kind) String() string { } func (Entity_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{10, 0} + return fileDescriptor_a62788fcb176084a, []int{11, 0} } type Artifact_State int32 @@ -206,7 +206,7 @@ func (x Artifact_State) String() string { } func (Artifact_State) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{11, 0} + return fileDescriptor_a62788fcb176084a, []int{12, 0} } type Artifact_Kind int32 @@ -237,7 +237,7 @@ func (x Artifact_Kind) String() string { } func (Artifact_Kind) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{11, 1} + return fileDescriptor_a62788fcb176084a, []int{12, 1} } type Ping struct { @@ -1018,6 +1018,74 @@ func (m *BuildListFilters_Response) GetProjects() []*Project { return nil } +type MetadataOverride struct { + Branch string `protobuf:"bytes,11,opt,name=branch,proto3" json:"branch,omitempty"` + HasCommit *Commit `protobuf:"bytes,102,opt,name=has_commit,json=hasCommit,proto3" json:"has_commit,omitempty"` + HasCommitID string `protobuf:"bytes,103,opt,name=has_commit_id,json=hasCommitId,proto3" json:"has_commit_id,omitempty"` + HasProjectID string `protobuf:"bytes,105,opt,name=has_project_id,json=hasProjectId,proto3" json:"has_project_id,omitempty"` +} + +func (m *MetadataOverride) Reset() { *m = MetadataOverride{} } +func (m *MetadataOverride) String() string { return proto.CompactTextString(m) } +func (*MetadataOverride) ProtoMessage() {} +func (*MetadataOverride) Descriptor() ([]byte, []int) { + return fileDescriptor_a62788fcb176084a, []int{5} +} +func (m *MetadataOverride) XXX_Unmarshal(b []byte) error { + return m.Unmarshal(b) +} +func (m *MetadataOverride) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { + if deterministic { + return xxx_messageInfo_MetadataOverride.Marshal(b, m, deterministic) + } else { + b = b[:cap(b)] + n, err := m.MarshalToSizedBuffer(b) + if err != nil { + return nil, err + } + return b[:n], nil + } +} +func (m *MetadataOverride) XXX_Merge(src proto.Message) { + xxx_messageInfo_MetadataOverride.Merge(m, src) +} +func (m *MetadataOverride) XXX_Size() int { + return m.Size() +} +func (m *MetadataOverride) XXX_DiscardUnknown() { + xxx_messageInfo_MetadataOverride.DiscardUnknown(m) +} + +var xxx_messageInfo_MetadataOverride proto.InternalMessageInfo + +func (m *MetadataOverride) GetBranch() string { + if m != nil { + return m.Branch + } + return "" +} + +func (m *MetadataOverride) GetHasCommit() *Commit { + if m != nil { + return m.HasCommit + } + return nil +} + +func (m *MetadataOverride) GetHasCommitID() string { + if m != nil { + return m.HasCommitID + } + return "" +} + +func (m *MetadataOverride) GetHasProjectID() string { + if m != nil { + return m.HasProjectID + } + return "" +} + type Build struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" gorm:"primary_key"` YoloID string `protobuf:"bytes,2,opt,name=yolo_id,json=yoloId,proto3" json:"yolo_id,omitempty"` @@ -1034,6 +1102,11 @@ type Build struct { ShortID string `protobuf:"bytes,13,opt,name=short_id,json=shortId,proto3" json:"short_id,omitempty"` VCSTag string `protobuf:"bytes,14,opt,name=vcs_tag,json=vcsTag,proto3" json:"vcs_tag,omitempty"` VCSTagURL string `protobuf:"bytes,15,opt,name=vcs_tag_url,json=vcsTagUrl,proto3" json:"vcs_tag_url,omitempty"` + RawBranch string `protobuf:"bytes,21,opt,name=raw_branch,json=rawBranch,proto3" json:"raw_branch,omitempty"` + HasRawCommit *Commit `protobuf:"bytes,22,opt,name=has_raw_commit,json=hasRawCommit,proto3" json:"has_raw_commit,omitempty"` + HasRawProject *Project `protobuf:"bytes,23,opt,name=has_raw_project,json=hasRawProject,proto3" json:"has_raw_project,omitempty"` + HasRawCommitID string `protobuf:"bytes,24,opt,name=has_raw_commit_id,json=hasRawCommitId,proto3" json:"has_raw_commit_id,omitempty"` + HasRawProjectID string `protobuf:"bytes,25,opt,name=has_raw_project_id,json=hasRawProjectId,proto3" json:"has_raw_project_id,omitempty"` HasArtifacts []*Artifact `protobuf:"bytes,101,rep,name=has_artifacts,json=hasArtifacts,proto3" json:"has_artifacts,omitempty" gorm:"foreignkey:HasBuildID"` HasCommit *Commit `protobuf:"bytes,102,opt,name=has_commit,json=hasCommit,proto3" json:"has_commit,omitempty"` HasCommitID string `protobuf:"bytes,103,opt,name=has_commit_id,json=hasCommitId,proto3" json:"has_commit_id,omitempty"` @@ -1047,7 +1120,7 @@ func (m *Build) Reset() { *m = Build{} } func (m *Build) String() string { return proto.CompactTextString(m) } func (*Build) ProtoMessage() {} func (*Build) Descriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{5} + return fileDescriptor_a62788fcb176084a, []int{6} } func (m *Build) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1181,6 +1254,41 @@ func (m *Build) GetVCSTagURL() string { return "" } +func (m *Build) GetRawBranch() string { + if m != nil { + return m.RawBranch + } + return "" +} + +func (m *Build) GetHasRawCommit() *Commit { + if m != nil { + return m.HasRawCommit + } + return nil +} + +func (m *Build) GetHasRawProject() *Project { + if m != nil { + return m.HasRawProject + } + return nil +} + +func (m *Build) GetHasRawCommitID() string { + if m != nil { + return m.HasRawCommitID + } + return "" +} + +func (m *Build) GetHasRawProjectID() string { + if m != nil { + return m.HasRawProjectID + } + return "" +} + func (m *Build) GetHasArtifacts() []*Artifact { if m != nil { return m.HasArtifacts @@ -1249,7 +1357,7 @@ func (m *Release) Reset() { *m = Release{} } func (m *Release) String() string { return proto.CompactTextString(m) } func (*Release) ProtoMessage() {} func (*Release) Descriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{6} + return fileDescriptor_a62788fcb176084a, []int{7} } func (m *Release) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1381,7 +1489,7 @@ func (m *Commit) Reset() { *m = Commit{} } func (m *Commit) String() string { return proto.CompactTextString(m) } func (*Commit) ProtoMessage() {} func (*Commit) Descriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{7} + return fileDescriptor_a62788fcb176084a, []int{8} } func (m *Commit) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1526,7 +1634,7 @@ func (m *MergeRequest) Reset() { *m = MergeRequest{} } func (m *MergeRequest) String() string { return proto.CompactTextString(m) } func (*MergeRequest) ProtoMessage() {} func (*MergeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{8} + return fileDescriptor_a62788fcb176084a, []int{9} } func (m *MergeRequest) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1744,7 +1852,7 @@ func (m *Project) Reset() { *m = Project{} } func (m *Project) String() string { return proto.CompactTextString(m) } func (*Project) ProtoMessage() {} func (*Project) Descriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{9} + return fileDescriptor_a62788fcb176084a, []int{10} } func (m *Project) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -1890,7 +1998,7 @@ func (m *Entity) Reset() { *m = Entity{} } func (m *Entity) String() string { return proto.CompactTextString(m) } func (*Entity) ProtoMessage() {} func (*Entity) Descriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{10} + return fileDescriptor_a62788fcb176084a, []int{11} } func (m *Entity) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2035,7 +2143,7 @@ func (m *Artifact) Reset() { *m = Artifact{} } func (m *Artifact) String() string { return proto.CompactTextString(m) } func (*Artifact) ProtoMessage() {} func (*Artifact) Descriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{11} + return fileDescriptor_a62788fcb176084a, []int{12} } func (m *Artifact) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2250,7 +2358,7 @@ func (m *Download) Reset() { *m = Download{} } func (m *Download) String() string { return proto.CompactTextString(m) } func (*Download) ProtoMessage() {} func (*Download) Descriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{12} + return fileDescriptor_a62788fcb176084a, []int{13} } func (m *Download) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2321,7 +2429,7 @@ func (m *Batch) Reset() { *m = Batch{} } func (m *Batch) String() string { return proto.CompactTextString(m) } func (*Batch) ProtoMessage() {} func (*Batch) Descriptor() ([]byte, []int) { - return fileDescriptor_a62788fcb176084a, []int{13} + return fileDescriptor_a62788fcb176084a, []int{14} } func (m *Batch) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) @@ -2421,6 +2529,7 @@ func init() { proto.RegisterType((*BuildListFilters)(nil), "yolo.BuildListFilters") proto.RegisterType((*BuildListFilters_Request)(nil), "yolo.BuildListFilters.Request") proto.RegisterType((*BuildListFilters_Response)(nil), "yolo.BuildListFilters.Response") + proto.RegisterType((*MetadataOverride)(nil), "yolo.MetadataOverride") proto.RegisterType((*Build)(nil), "yolo.Build") proto.RegisterType((*Release)(nil), "yolo.Release") proto.RegisterType((*Commit)(nil), "yolo.Commit") @@ -2435,185 +2544,193 @@ func init() { func init() { proto.RegisterFile("yolopb.proto", fileDescriptor_a62788fcb176084a) } var fileDescriptor_a62788fcb176084a = []byte{ - // 2846 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x1b, 0xd7, - 0xb5, 0x37, 0xbf, 0x39, 0x67, 0x48, 0x6a, 0x74, 0x65, 0x3b, 0x13, 0xd9, 0x16, 0x15, 0xe6, 0x25, - 0x71, 0x1c, 0x8b, 0x4c, 0x94, 0xf7, 0xf2,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e, 0x5c, - 0x73, 0xc6, 0xc3, 0xd1, 0x9a, 0x27, 0x74, 0x5a, 0xff, 0xfb, 0xf5, 0x74, 0x25, 0xf5, 0xcd, 0x74, - 0x25, 0xf5, 0x97, 0xe9, 0x4a, 0xea, 0xab, 0x6f, 0x57, 0xae, 0x7d, 0xf3, 0xed, 0xca, 0xb5, 0x3f, - 0x7d, 0xbb, 0x72, 0xed, 0x47, 0x77, 0x3a, 0xd8, 0x0f, 0x8e, 0xeb, 0x01, 0xee, 0xf6, 0x1b, 0xcc, - 0x7b, 0xa3, 0xe7, 0x35, 0x46, 0x07, 0xbd, 0x86, 0xf8, 0x0f, 0x98, 0x4e, 0x9e, 0x73, 0xc5, 0xbb, - 0xff, 0x0c, 0x00, 0x00, 0xff, 0xff, 0xe0, 0xf8, 0xaa, 0x29, 0x12, 0x23, 0x00, 0x00, + // 2966 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0xe3, 0xc6, + 0x15, 0x5f, 0x7d, 0x8b, 0x8f, 0x92, 0x4c, 0x8f, 0x77, 0x37, 0x8c, 0xf7, 0x43, 0x8e, 0xd2, 0x24, + 0x9b, 0xcd, 0xda, 0x4e, 0x9c, 0x26, 0x45, 0x36, 0x4d, 0x5b, 0xc9, 0xf2, 0xae, 0x89, 0xec, 0x87, + 0x4b, 0x7b, 0x13, 0xa4, 0x3d, 0x08, 0x94, 0x38, 0x96, 0x26, 0x96, 0x48, 0x85, 0xa4, 0x6c, 0x38, + 0x87, 0x1e, 0x82, 0xfe, 0x01, 0x01, 0x7a, 0x6b, 0x4f, 0xed, 0x3f, 0xd1, 0x43, 0xd1, 0x5b, 0x51, + 0xa4, 0x05, 0x0a, 0x04, 0xe8, 0xa5, 0x27, 0xb5, 0x50, 0x0a, 0xf4, 0xdc, 0x3d, 0xf4, 0x90, 0x53, + 0x31, 0x6f, 0x86, 0x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xdc, 0xb1, 0x51, 0xfb, 0x6d, 0x16, 0xf2, 0x72, 0xe4, 0xff, 0xc3, 0xe9, 0x14, 0x38, + 0x4d, 0x13, 0x6d, 0x21, 0x91, 0x68, 0x5f, 0x87, 0x12, 0xb2, 0x7f, 0xb8, 0xb9, 0xa4, 0xf1, 0x1a, + 0x55, 0x06, 0x2a, 0x92, 0x66, 0xb4, 0xd9, 0xbc, 0x2d, 0xd0, 0x20, 0xeb, 0xe9, 0xdd, 0xa3, 0xf5, + 0x34, 0x07, 0x83, 0xdc, 0x7b, 0x5e, 0x14, 0x0c, 0x12, 0x69, 0x62, 0xeb, 0x22, 0x61, 0x90, 0xac, + 0xac, 0xb9, 0x73, 0xb1, 0x45, 0x39, 0x16, 0x39, 0xec, 0xfc, 0xc8, 0xf9, 0x97, 0x02, 0xa5, 0xb8, + 0xc6, 0xb3, 0x8d, 0x9f, 0x3a, 0x28, 0xb8, 0x50, 0xe8, 0x23, 0x77, 0x01, 0x1f, 0x45, 0x61, 0x56, + 0xc7, 0x23, 0x80, 0x80, 0x05, 0x7d, 0x8a, 0x38, 0x53, 0x4c, 0xd1, 0x38, 0xa5, 0x2a, 0x9d, 0x02, + 0xb3, 0x78, 0x2e, 0x60, 0x2a, 0x09, 0x60, 0xae, 0x84, 0xf5, 0x35, 0xa0, 0xf1, 0xc9, 0x9b, 0x48, + 0x59, 0x66, 0x27, 0xf9, 0x52, 0x3d, 0x83, 0x2f, 0xef, 0x00, 0x88, 0x71, 0x50, 0xbb, 0x34, 0xd5, + 0x16, 0xe5, 0x1b, 0x6a, 0x0b, 0x85, 0x59, 0x76, 0x3d, 0xad, 0xce, 0x5c, 0x82, 0x3c, 0xf3, 0x5b, + 0x07, 0x6c, 0x28, 0xb6, 0xa5, 0x0d, 0x65, 0x32, 0xae, 0xe6, 0x0c, 0xff, 0x43, 0x63, 0xcb, 0xcc, + 0x31, 0xff, 0x43, 0x36, 0xfc, 0x96, 0xc3, 0x6d, 0x47, 0xb2, 0xb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x25, 0x2e, 0x11, 0xb3, 0x67, 0x5d, 0x22, 0x46, 0x75, 0x5e, 0xee, 0xb8, + 0x3a, 0x2f, 0xea, 0x26, 0x2f, 0x43, 0x21, 0xcc, 0xbb, 0xf9, 0x63, 0xf2, 0x6e, 0xd8, 0x49, 0xde, + 0x81, 0xca, 0xcc, 0x27, 0x01, 0x85, 0x13, 0x33, 0x6e, 0x79, 0x10, 0xff, 0x48, 0xe0, 0xf6, 0x8f, + 0x21, 0x2f, 0xef, 0xb8, 0xe7, 0xa1, 0x2c, 0x21, 0x27, 0x04, 0xda, 0x25, 0x52, 0x96, 0x1f, 0x10, + 0xec, 0xb1, 0x80, 0x6a, 0x29, 0x3c, 0x32, 0x66, 0x5e, 0xa7, 0x4f, 0xd7, 0x0d, 0x2d, 0xcd, 0x71, + 0xdb, 0x60, 0x4e, 0xe0, 0x59, 0x87, 0x5a, 0x86, 0xef, 0x50, 0xee, 0xb3, 0x60, 0x73, 0xd4, 0xd6, + 0xb2, 0x6b, 0x7f, 0xcc, 0x80, 0xca, 0xd3, 0xe6, 0x36, 0xf5, 0xf6, 0x59, 0x87, 0x92, 0x1f, 0x88, + 0xef, 0x4c, 0x88, 0x9c, 0x0d, 0xff, 0xbf, 0x12, 0xde, 0xc3, 0x2e, 0x24, 0x64, 0xf2, 0xcb, 0x93, + 0xf2, 0x67, 0x7f, 0xfd, 0xe7, 0x2f, 0xd2, 0x05, 0x92, 0x5b, 0x1d, 0x72, 0xbb, 0x7b, 0xe1, 0x37, + 0x1e, 0x44, 0x66, 0x07, 0xd1, 0x8a, 0x7c, 0x5c, 0x99, 0x91, 0x4a, 0x2f, 0x73, 0xe8, 0x45, 0x21, + 0x85, 0x55, 0x5f, 0x58, 0x6f, 0xc7, 0x3e, 0x87, 0x20, 0xcf, 0xc5, 0xd0, 0xc1, 0x05, 0x91, 0x37, + 0xfd, 0x68, 0x87, 0x74, 0xb8, 0x80, 0x0e, 0xcb, 0x44, 0x5d, 0x45, 0x30, 0x2d, 0x73, 0x0e, 0x20, + 0xc3, 0xa3, 0xf7, 0xcc, 0xe4, 0xe6, 0x8c, 0x0b, 0x29, 0x8f, 0x86, 0xa8, 0x9e, 0xd8, 0x2f, 0x47, + 0xba, 0x86, 0x23, 0x5d, 0x21, 0x0b, 0xb1, 0x91, 0x96, 0x77, 0xa5, 0xf7, 0xde, 0xec, 0x67, 0x39, + 0xe4, 0xba, 0x64, 0xd7, 0x84, 0x34, 0x1a, 0xed, 0xc6, 0x09, 0xbd, 0x72, 0xac, 0xe7, 0x71, 0xac, + 0x05, 0x32, 0xbf, 0x6a, 0xd3, 0xfd, 0x65, 0x7b, 0x34, 0x18, 0x2e, 0xbb, 0x42, 0xa7, 0xf1, 0xbd, + 0x2f, 0x26, 0x37, 0x53, 0x5f, 0x4e, 0x6e, 0xa6, 0xfe, 0x31, 0xb9, 0x99, 0xfa, 0xfc, 0xab, 0x9b, + 0x97, 0xbe, 0xfc, 0xea, 0xe6, 0xa5, 0xbf, 0x7d, 0x75, 0xf3, 0xd2, 0x4f, 0x6e, 0xb4, 0xa9, 0x17, + 0x1c, 0xae, 0x04, 0xb4, 0xd3, 0x5b, 0xe5, 0xde, 0x57, 0xbb, 0xee, 0xea, 0x70, 0xaf, 0xbb, 0x2a, + 0xbe, 0x69, 0x6a, 0xe7, 0x91, 0x2b, 0xde, 0xfc, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xd0, + 0x32, 0x09, 0xe4, 0x24, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3466,6 +3583,68 @@ func (m *BuildListFilters_Response) MarshalToSizedBuffer(dAtA []byte) (int, erro return len(dAtA) - i, nil } +func (m *MetadataOverride) Marshal() (dAtA []byte, err error) { + size := m.Size() + dAtA = make([]byte, size) + n, err := m.MarshalToSizedBuffer(dAtA[:size]) + if err != nil { + return nil, err + } + return dAtA[:n], nil +} + +func (m *MetadataOverride) MarshalTo(dAtA []byte) (int, error) { + size := m.Size() + return m.MarshalToSizedBuffer(dAtA[:size]) +} + +func (m *MetadataOverride) MarshalToSizedBuffer(dAtA []byte) (int, error) { + i := len(dAtA) + _ = i + var l int + _ = l + if len(m.HasProjectID) > 0 { + i -= len(m.HasProjectID) + copy(dAtA[i:], m.HasProjectID) + i = encodeVarintYolopb(dAtA, i, uint64(len(m.HasProjectID))) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xca + } + if len(m.HasCommitID) > 0 { + i -= len(m.HasCommitID) + copy(dAtA[i:], m.HasCommitID) + i = encodeVarintYolopb(dAtA, i, uint64(len(m.HasCommitID))) + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xba + } + if m.HasCommit != nil { + { + size, err := m.HasCommit.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintYolopb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x6 + i-- + dAtA[i] = 0xb2 + } + if len(m.Branch) > 0 { + i -= len(m.Branch) + copy(dAtA[i:], m.Branch) + i = encodeVarintYolopb(dAtA, i, uint64(len(m.Branch))) + i-- + dAtA[i] = 0x5a + } + return len(dAtA) - i, nil +} + func (m *Build) Marshal() (dAtA []byte, err error) { size := m.Size() dAtA = make([]byte, size) @@ -3571,6 +3750,61 @@ func (m *Build) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0xaa } } + if len(m.HasRawProjectID) > 0 { + i -= len(m.HasRawProjectID) + copy(dAtA[i:], m.HasRawProjectID) + i = encodeVarintYolopb(dAtA, i, uint64(len(m.HasRawProjectID))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xca + } + if len(m.HasRawCommitID) > 0 { + i -= len(m.HasRawCommitID) + copy(dAtA[i:], m.HasRawCommitID) + i = encodeVarintYolopb(dAtA, i, uint64(len(m.HasRawCommitID))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xc2 + } + if m.HasRawProject != nil { + { + size, err := m.HasRawProject.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintYolopb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xba + } + if m.HasRawCommit != nil { + { + size, err := m.HasRawCommit.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintYolopb(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xb2 + } + if len(m.RawBranch) > 0 { + i -= len(m.RawBranch) + copy(dAtA[i:], m.RawBranch) + i = encodeVarintYolopb(dAtA, i, uint64(len(m.RawBranch))) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xaa + } if len(m.VCSTagURL) > 0 { i -= len(m.VCSTagURL) copy(dAtA[i:], m.VCSTagURL) @@ -3612,22 +3846,22 @@ func (m *Build) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x52 } if m.FinishedAt != nil { - n13, err13 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.FinishedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.FinishedAt):]) - if err13 != nil { - return 0, err13 + n16, err16 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.FinishedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.FinishedAt):]) + if err16 != nil { + return 0, err16 } - i -= n13 - i = encodeVarintYolopb(dAtA, i, uint64(n13)) + i -= n16 + i = encodeVarintYolopb(dAtA, i, uint64(n16)) i-- dAtA[i] = 0x4a } if m.StartedAt != nil { - n14, err14 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.StartedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartedAt):]) - if err14 != nil { - return 0, err14 + n17, err17 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.StartedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.StartedAt):]) + if err17 != nil { + return 0, err17 } - i -= n14 - i = encodeVarintYolopb(dAtA, i, uint64(n14)) + i -= n17 + i = encodeVarintYolopb(dAtA, i, uint64(n17)) i-- dAtA[i] = 0x42 } @@ -3639,12 +3873,12 @@ func (m *Build) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x3a } if m.CompletedAt != nil { - n15, err15 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CompletedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CompletedAt):]) - if err15 != nil { - return 0, err15 + n18, err18 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CompletedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CompletedAt):]) + if err18 != nil { + return 0, err18 } - i -= n15 - i = encodeVarintYolopb(dAtA, i, uint64(n15)) + i -= n18 + i = encodeVarintYolopb(dAtA, i, uint64(n18)) i-- dAtA[i] = 0x32 } @@ -3654,22 +3888,22 @@ func (m *Build) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x28 } if m.UpdatedAt != nil { - n16, err16 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) - if err16 != nil { - return 0, err16 + n19, err19 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) + if err19 != nil { + return 0, err19 } - i -= n16 - i = encodeVarintYolopb(dAtA, i, uint64(n16)) + i -= n19 + i = encodeVarintYolopb(dAtA, i, uint64(n19)) i-- dAtA[i] = 0x22 } if m.CreatedAt != nil { - n17, err17 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) - if err17 != nil { - return 0, err17 + n20, err20 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) + if err20 != nil { + return 0, err20 } - i -= n17 - i = encodeVarintYolopb(dAtA, i, uint64(n17)) + i -= n20 + i = encodeVarintYolopb(dAtA, i, uint64(n20)) i-- dAtA[i] = 0x1a } @@ -3795,22 +4029,22 @@ func (m *Release) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x2a } if m.UpdatedAt != nil { - n21, err21 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) - if err21 != nil { - return 0, err21 + n24, err24 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) + if err24 != nil { + return 0, err24 } - i -= n21 - i = encodeVarintYolopb(dAtA, i, uint64(n21)) + i -= n24 + i = encodeVarintYolopb(dAtA, i, uint64(n24)) i-- dAtA[i] = 0x22 } if m.CreatedAt != nil { - n22, err22 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) - if err22 != nil { - return 0, err22 + n25, err25 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) + if err25 != nil { + return 0, err25 } - i -= n22 - i = encodeVarintYolopb(dAtA, i, uint64(n22)) + i -= n25 + i = encodeVarintYolopb(dAtA, i, uint64(n25)) i-- dAtA[i] = 0x1a } @@ -3945,22 +4179,22 @@ func (m *Commit) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x2a } if m.UpdatedAt != nil { - n26, err26 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) - if err26 != nil { - return 0, err26 + n29, err29 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) + if err29 != nil { + return 0, err29 } - i -= n26 - i = encodeVarintYolopb(dAtA, i, uint64(n26)) + i -= n29 + i = encodeVarintYolopb(dAtA, i, uint64(n29)) i-- dAtA[i] = 0x22 } if m.CreatedAt != nil { - n27, err27 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) - if err27 != nil { - return 0, err27 + n30, err30 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) + if err30 != nil { + return 0, err30 } - i -= n27 - i = encodeVarintYolopb(dAtA, i, uint64(n27)) + i -= n30 + i = encodeVarintYolopb(dAtA, i, uint64(n30)) i-- dAtA[i] = 0x1a } @@ -4197,32 +4431,32 @@ func (m *MergeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x32 } if m.MergedAt != nil { - n31, err31 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.MergedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.MergedAt):]) - if err31 != nil { - return 0, err31 + n34, err34 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.MergedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.MergedAt):]) + if err34 != nil { + return 0, err34 } - i -= n31 - i = encodeVarintYolopb(dAtA, i, uint64(n31)) + i -= n34 + i = encodeVarintYolopb(dAtA, i, uint64(n34)) i-- dAtA[i] = 0x2a } if m.UpdatedAt != nil { - n32, err32 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) - if err32 != nil { - return 0, err32 + n35, err35 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) + if err35 != nil { + return 0, err35 } - i -= n32 - i = encodeVarintYolopb(dAtA, i, uint64(n32)) + i -= n35 + i = encodeVarintYolopb(dAtA, i, uint64(n35)) i-- dAtA[i] = 0x22 } if m.CreatedAt != nil { - n33, err33 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) - if err33 != nil { - return 0, err33 + n36, err36 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) + if err36 != nil { + return 0, err36 } - i -= n33 - i = encodeVarintYolopb(dAtA, i, uint64(n33)) + i -= n36 + i = encodeVarintYolopb(dAtA, i, uint64(n36)) i-- dAtA[i] = 0x1a } @@ -4386,22 +4620,22 @@ func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x28 } if m.UpdatedAt != nil { - n35, err35 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) - if err35 != nil { - return 0, err35 + n38, err38 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) + if err38 != nil { + return 0, err38 } - i -= n35 - i = encodeVarintYolopb(dAtA, i, uint64(n35)) + i -= n38 + i = encodeVarintYolopb(dAtA, i, uint64(n38)) i-- dAtA[i] = 0x22 } if m.CreatedAt != nil { - n36, err36 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) - if err36 != nil { - return 0, err36 + n39, err39 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) + if err39 != nil { + return 0, err39 } - i -= n36 - i = encodeVarintYolopb(dAtA, i, uint64(n36)) + i -= n39 + i = encodeVarintYolopb(dAtA, i, uint64(n39)) i-- dAtA[i] = 0x1a } @@ -4522,22 +4756,22 @@ func (m *Entity) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x2a } if m.UpdatedAt != nil { - n37, err37 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) - if err37 != nil { - return 0, err37 + n40, err40 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) + if err40 != nil { + return 0, err40 } - i -= n37 - i = encodeVarintYolopb(dAtA, i, uint64(n37)) + i -= n40 + i = encodeVarintYolopb(dAtA, i, uint64(n40)) i-- dAtA[i] = 0x22 } if m.CreatedAt != nil { - n38, err38 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) - if err38 != nil { - return 0, err38 + n41, err41 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) + if err41 != nil { + return 0, err41 } - i -= n38 - i = encodeVarintYolopb(dAtA, i, uint64(n38)) + i -= n41 + i = encodeVarintYolopb(dAtA, i, uint64(n41)) i-- dAtA[i] = 0x1a } @@ -4753,22 +4987,22 @@ func (m *Artifact) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0x28 } if m.UpdatedAt != nil { - n41, err41 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) - if err41 != nil { - return 0, err41 + n44, err44 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.UpdatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.UpdatedAt):]) + if err44 != nil { + return 0, err44 } - i -= n41 - i = encodeVarintYolopb(dAtA, i, uint64(n41)) + i -= n44 + i = encodeVarintYolopb(dAtA, i, uint64(n44)) i-- dAtA[i] = 0x22 } if m.CreatedAt != nil { - n42, err42 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) - if err42 != nil { - return 0, err42 + n45, err45 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) + if err45 != nil { + return 0, err45 } - i -= n42 - i = encodeVarintYolopb(dAtA, i, uint64(n42)) + i -= n45 + i = encodeVarintYolopb(dAtA, i, uint64(n45)) i-- dAtA[i] = 0x1a } @@ -4833,12 +5067,12 @@ func (m *Download) MarshalToSizedBuffer(dAtA []byte) (int, error) { dAtA[i] = 0xaa } if m.CreatedAt != nil { - n44, err44 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) - if err44 != nil { - return 0, err44 + n47, err47 := github_com_gogo_protobuf_types.StdTimeMarshalTo(*m.CreatedAt, dAtA[i-github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt):]) + if err47 != nil { + return 0, err47 } - i -= n44 - i = encodeVarintYolopb(dAtA, i, uint64(n44)) + i -= n47 + i = encodeVarintYolopb(dAtA, i, uint64(n47)) i-- dAtA[i] = 0x12 } @@ -5249,21 +5483,46 @@ func (m *BuildListFilters_Response) Size() (n int) { return n } -func (m *Build) Size() (n int) { +func (m *MetadataOverride) Size() (n int) { if m == nil { return 0 } var l int _ = l - l = len(m.ID) - if l > 0 { - n += 1 + l + sovYolopb(uint64(l)) - } - l = len(m.YoloID) + l = len(m.Branch) if l > 0 { n += 1 + l + sovYolopb(uint64(l)) } - if m.CreatedAt != nil { + if m.HasCommit != nil { + l = m.HasCommit.Size() + n += 2 + l + sovYolopb(uint64(l)) + } + l = len(m.HasCommitID) + if l > 0 { + n += 2 + l + sovYolopb(uint64(l)) + } + l = len(m.HasProjectID) + if l > 0 { + n += 2 + l + sovYolopb(uint64(l)) + } + return n +} + +func (m *Build) Size() (n int) { + if m == nil { + return 0 + } + var l int + _ = l + l = len(m.ID) + if l > 0 { + n += 1 + l + sovYolopb(uint64(l)) + } + l = len(m.YoloID) + if l > 0 { + n += 1 + l + sovYolopb(uint64(l)) + } + if m.CreatedAt != nil { l = github_com_gogo_protobuf_types.SizeOfStdTime(*m.CreatedAt) n += 1 + l + sovYolopb(uint64(l)) } @@ -5313,6 +5572,26 @@ func (m *Build) Size() (n int) { if l > 0 { n += 1 + l + sovYolopb(uint64(l)) } + l = len(m.RawBranch) + if l > 0 { + n += 2 + l + sovYolopb(uint64(l)) + } + if m.HasRawCommit != nil { + l = m.HasRawCommit.Size() + n += 2 + l + sovYolopb(uint64(l)) + } + if m.HasRawProject != nil { + l = m.HasRawProject.Size() + n += 2 + l + sovYolopb(uint64(l)) + } + l = len(m.HasRawCommitID) + if l > 0 { + n += 2 + l + sovYolopb(uint64(l)) + } + l = len(m.HasRawProjectID) + if l > 0 { + n += 2 + l + sovYolopb(uint64(l)) + } if len(m.HasArtifacts) > 0 { for _, e := range m.HasArtifacts { l = e.Size() @@ -7595,6 +7874,191 @@ func (m *BuildListFilters_Response) Unmarshal(dAtA []byte) error { } return nil } +func (m *MetadataOverride) Unmarshal(dAtA []byte) error { + l := len(dAtA) + iNdEx := 0 + for iNdEx < l { + preIndex := iNdEx + var wire uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowYolopb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + wire |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + fieldNum := int32(wire >> 3) + wireType := int(wire & 0x7) + if wireType == 4 { + return fmt.Errorf("proto: MetadataOverride: wiretype end group for non-group") + } + if fieldNum <= 0 { + return fmt.Errorf("proto: MetadataOverride: illegal tag %d (wire type %d)", fieldNum, wire) + } + switch fieldNum { + case 11: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Branch", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowYolopb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthYolopb + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthYolopb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Branch = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 102: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HasCommit", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowYolopb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthYolopb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthYolopb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.HasCommit == nil { + m.HasCommit = &Commit{} + } + if err := m.HasCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 103: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HasCommitID", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowYolopb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthYolopb + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthYolopb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HasCommitID = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 105: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HasProjectID", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowYolopb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthYolopb + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthYolopb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HasProjectID = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + default: + iNdEx = preIndex + skippy, err := skipYolopb(dAtA[iNdEx:]) + if err != nil { + return err + } + if skippy < 0 { + return ErrInvalidLengthYolopb + } + if (iNdEx + skippy) < 0 { + return ErrInvalidLengthYolopb + } + if (iNdEx + skippy) > l { + return io.ErrUnexpectedEOF + } + iNdEx += skippy + } + } + + if iNdEx > l { + return io.ErrUnexpectedEOF + } + return nil +} func (m *Build) Unmarshal(dAtA []byte) error { l := len(dAtA) iNdEx := 0 @@ -8098,6 +8562,174 @@ func (m *Build) Unmarshal(dAtA []byte) error { } m.VCSTagURL = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 21: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field RawBranch", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowYolopb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthYolopb + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthYolopb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.RawBranch = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 22: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HasRawCommit", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowYolopb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthYolopb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthYolopb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.HasRawCommit == nil { + m.HasRawCommit = &Commit{} + } + if err := m.HasRawCommit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 23: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HasRawProject", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowYolopb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthYolopb + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthYolopb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if m.HasRawProject == nil { + m.HasRawProject = &Project{} + } + if err := m.HasRawProject.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 24: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HasRawCommitID", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowYolopb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthYolopb + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthYolopb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HasRawCommitID = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 25: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field HasRawProjectID", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowYolopb + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthYolopb + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthYolopb + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.HasRawProjectID = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex case 101: if wireType != 2 { return fmt.Errorf("proto: wrong wireType = %d for field HasArtifacts", wireType) diff --git a/go/pkg/yolostore/store.go b/go/pkg/yolostore/store.go index cb56c015..140a0a07 100644 --- a/go/pkg/yolostore/store.go +++ b/go/pkg/yolostore/store.go @@ -4,8 +4,9 @@ import ( "fmt" "berty.tech/yolo/v2/go/pkg/yolopb" - "github.com/jinzhu/gorm" "go.uber.org/zap" + + "github.com/jinzhu/gorm" ) type Store interface { @@ -310,7 +311,9 @@ func (s *store) GetBuildList(bl GetBuildListOpts) ([]*yolopb.Build, error) { query = query. Preload("HasCommit"). + Preload("HasRawCommit"). Preload("HasProject"). + Preload("HasRawProject"). Preload("HasProject.HasOwner"). Preload("HasMergerequest"). Preload("HasMergerequest.HasProject"). diff --git a/go/pkg/yolosvc/driver_github.go b/go/pkg/yolosvc/driver_github.go index a385a462..739e504e 100644 --- a/go/pkg/yolosvc/driver_github.go +++ b/go/pkg/yolosvc/driver_github.go @@ -1,15 +1,23 @@ package yolosvc import ( + "archive/zip" + "bytes" "context" "fmt" + "io" + "net/http" "strings" "time" + "github.com/gogo/protobuf/jsonpb" + //nolint:staticcheck + "berty.tech/yolo/v2/go/pkg/yolopb" + "go.uber.org/zap" + "github.com/google/go-github/v32/github" "github.com/tevino/abool" - "go.uber.org/zap" ) type GithubWorkerOpts struct { @@ -19,6 +27,7 @@ type GithubWorkerOpts struct { ClearCache *abool.AtomicBool Once bool ReposFilter string + Token string } type githubRepoConfig struct { @@ -34,7 +43,7 @@ type githubWorker struct { repoConfigs []githubRepoConfig } -func (worker *githubWorker) ParseConfig() (bool, error) { +func (worker *githubWorker) parseConfig() (bool, error) { if worker.opts.ReposFilter == "" { return false, nil } @@ -66,7 +75,7 @@ func (svc *service) GitHubWorker(ctx context.Context, opts GithubWorkerOpts) err logger: opts.Logger.Named("ghub"), } - shouldRun, err := worker.ParseConfig() + shouldRun, err := worker.parseConfig() if err != nil { svc.logger.Error("invalid config", zap.Error(err)) return fmt.Errorf("%w", err) @@ -187,6 +196,50 @@ func (worker *githubWorker) fetchBaseObjects(ctx context.Context) (*yolopb.Batch return batch, nil } +func getOverrideBuildpb(owner string, repo string, artifactID int64, token string) (*yolopb.MetadataOverride, error) { + override := &yolopb.MetadataOverride{} + + // https://github.com/actions/upload-artifact#zipped-artifact-downloads + req, err := http.NewRequest("GET", fmt.Sprintf("https://api.github.com/repos/%s/%s/actions/artifacts/%d/zip", owner, repo, artifactID), nil) + if err != nil { + return nil, fmt.Errorf("fetch yolo.json: %w", err) + } + + req.Header.Set("Accept", "application/vnd.github+json") + req.Header.Set("Authorization", fmt.Sprintf("Bearer %s", token)) + + res, err := http.DefaultClient.Do(req) + if err != nil { + return nil, fmt.Errorf("fetch yolo.json: %w", err) + } + defer res.Body.Close() + + zipFile, err := io.ReadAll(res.Body) + if err != nil { + return nil, err + } + + bytesReader := bytes.NewReader(zipFile) + zipReader, err := zip.NewReader(bytesReader, int64(len(zipFile))) + if err != nil { + return nil, err + } + + file := zipReader.File[0] + if file != nil && file.Name == "yolo.json" { + unzippedFileBytes, err := readZipFile(file) + if err != nil { + return nil, fmt.Errorf("fetch yolo.json: %w", err) + } + err = jsonpb.Unmarshal(bytes.NewReader(unzippedFileBytes), override) + if err != nil { + return nil, fmt.Errorf("fetch yolo.json: %w", err) + } + return override, nil + } + return nil, fmt.Errorf("fetch yolo.json: missing yolo.json inside artifact") +} + func (worker *githubWorker) fetchRepoActivity(ctx context.Context, repo githubRepoConfig, iteration int, lastFinishedBuild time.Time) (*yolopb.Batch, error) { batch := yolopb.NewBatch() @@ -240,6 +293,7 @@ func (worker *githubWorker) fetchRepoActivity(ctx context.Context, repo githubRe if err != nil { return nil, err } + worker.logger.Debug("github.Actions.ListRepositoryWorkflowRuns", zap.Int("total", len(ret.WorkflowRuns)), zap.Duration("duration", time.Since(before)), @@ -249,6 +303,10 @@ func (worker *githubWorker) fetchRepoActivity(ctx context.Context, repo githubRe // FIXME: parallelize? for _, run := range ret.WorkflowRuns { + overridepb, err := worker.getOverridepb(ctx, repo, *run.ID) + if err != nil { + worker.svc.logger.Warn("parsing yolo.json", zap.Error(err)) + } // FIXME: compare updated_at before doing next calls runs = append(runs, run) @@ -268,9 +326,9 @@ func (worker *githubWorker) fetchRepoActivity(ctx context.Context, repo githubRe if err != nil { return nil, err } - batch.Merge(worker.batchFromWorkflowRun(run, ret)) + batch.Merge(worker.batchFromWorkflowRun(run, ret, overridepb)) } else { - batch.Merge(worker.batchFromWorkflowRun(run, nil)) + batch.Merge(worker.batchFromWorkflowRun(run, nil, overridepb)) } } } @@ -323,6 +381,21 @@ func (worker *githubWorker) fetchRepoActivity(ctx context.Context, repo githubRe return batch, nil } +func (worker *githubWorker) getOverridepb(ctx context.Context, repo githubRepoConfig, runID int64) (*yolopb.MetadataOverride, error) { + // check for yolo.json + opts := &github.ListOptions{} + retArti, _, err := worker.svc.ghc.Actions.ListWorkflowRunArtifacts(ctx, repo.owner, repo.repo, runID, opts) + if err != nil { + return nil, err + } + for _, arti := range retArti.Artifacts { + if arti.GetName() == "yolo.json" { + return getOverrideBuildpb(repo.owner, repo.repo, *arti.ID, worker.opts.Token) + } + } + return nil, nil +} + func (worker *githubWorker) batchFromWorkflowRunArtifact(run *github.WorkflowRun, artifact *github.Artifact) *yolopb.Batch { batch := yolopb.NewBatch() @@ -345,25 +418,31 @@ func (worker *githubWorker) batchFromWorkflowRunArtifact(run *github.WorkflowRun return batch } -func (worker *githubWorker) batchFromWorkflowRun(run *github.WorkflowRun, prs []*github.PullRequest) *yolopb.Batch { +func (worker *githubWorker) batchFromWorkflowRun(run *github.WorkflowRun, prs []*github.PullRequest, override *yolopb.MetadataOverride) *yolopb.Batch { batch := yolopb.NewBatch() createdAt := run.GetCreatedAt().Time updatedAt := run.GetUpdatedAt().Time commitURL := run.GetHeadRepository().GetHTMLURL() + "/commit/" + run.GetHeadSHA() newBuild := yolopb.Build{ - ID: run.GetHTMLURL(), - ShortID: fmt.Sprintf("%d", run.GetID()), - CreatedAt: &createdAt, - UpdatedAt: &updatedAt, - HasCommitID: run.GetHeadSHA(), - Branch: run.GetHeadBranch(), - Driver: yolopb.Driver_GitHub, - CommitURL: commitURL, - HasProjectID: run.GetRepository().GetHTMLURL(), - Message: run.GetHeadCommit().GetMessage(), + ID: run.GetHTMLURL(), + ShortID: fmt.Sprintf("%d", run.GetID()), + CreatedAt: &createdAt, + UpdatedAt: &updatedAt, + HasRawCommitID: run.GetHeadSHA(), + HasCommitID: run.GetHeadSHA(), + RawBranch: run.GetHeadBranch(), + Branch: run.GetHeadBranch(), + Driver: yolopb.Driver_GitHub, + CommitURL: commitURL, + HasRawProjectID: run.GetRepository().GetHTMLURL(), + HasProjectID: run.GetRepository().GetHTMLURL(), + Message: run.GetHeadCommit().GetMessage(), + } + + if override != nil { + newBuild.ApplyMetadataOverride(override) } - if run.GetConclusion() != "" { newBuild.FinishedAt = &updatedAt // maybe we can have a more accurate date? } diff --git a/go/pkg/yolosvc/util.go b/go/pkg/yolosvc/util.go index 14c6959c..c58f08c4 100644 --- a/go/pkg/yolosvc/util.go +++ b/go/pkg/yolosvc/util.go @@ -1,9 +1,11 @@ package yolosvc import ( + "archive/zip" "crypto/md5" "encoding/hex" "fmt" + "io" "path/filepath" "regexp" @@ -67,3 +69,12 @@ func guessMissingBuildInfo(build *yolopb.Build) { build.VCSTagURL = fmt.Sprintf("%s/tree/%s", build.HasProjectID, build.VCSTag) } } + +func readZipFile(zf *zip.File) ([]byte, error) { + f, err := zf.Open() + if err != nil { + return nil, err + } + defer f.Close() + return io.ReadAll(f) +}