Skip to content

Commit

Permalink
Merge pull request #133 from berty/dev/moul/new-build-filters2
Browse files Browse the repository at this point in the history
  • Loading branch information
moul authored Apr 29, 2020
2 parents b2bac27 + 669ea01 commit 4b8abaf
Show file tree
Hide file tree
Showing 4 changed files with 730 additions and 265 deletions.
17 changes: 16 additions & 1 deletion api/yolopb.proto
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,22 @@ message BuildList {
repeated string artifact_id = 6 [(gogoproto.customname) = "ArtifactID"];

// filter by build driver (GitHub, CircleCI, ...)
Driver build_driver = 7;
repeated Driver build_driver = 7;

// filter by state of build (passed, running, failed, etc)
repeated Build.State build_state = 8;

// filter on builds for a specific merge request
repeated string mergerequest_id = 9 [(gogoproto.customname) = "MergeRequestID"];

// filter on builds linked to the merge requests opened by a specific author
repeated string mergerequest_author_id = 10 [(gogoproto.customname) = "MergeRequestAuthorID"];

// filter on builds with a linked merge request
bool with_mergerequest = 11;

// filter on builds with a linked merge request of a specific state
repeated MergeRequest.State mergerequest_state = 12;
}
message Response {
repeated Build builds = 1;
Expand Down
2 changes: 1 addition & 1 deletion gen.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4b8abaf

Please sign in to comment.