Skip to content

Commit

Permalink
Merge pull request #14 from depot/billy/feat/share-proto
Browse files Browse the repository at this point in the history
feat: add the ability to share builds
  • Loading branch information
billyb2 authored Oct 21, 2024
2 parents 952fd0c + 75931ef commit ccac06d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions proto/depot/build/v1/build.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ package depot.build.v1;
service BuildService {
rpc CreateBuild(CreateBuildRequest) returns (CreateBuildResponse);
rpc FinishBuild(FinishBuildRequest) returns (FinishBuildResponse);
rpc ShareBuild(ShareBuildRequest) returns (ShareBuildResponse);
rpc StopSharingBuild(StopSharingBuildRequest) returns (StopSharingBuildResponse);
}

message CreateBuildRequest {
Expand All @@ -30,3 +32,17 @@ message FinishBuildRequest {
}

message FinishBuildResponse {}

message ShareBuildRequest {
string build_id = 1;
}

message ShareBuildResponse {
string share_url = 1;
}

message StopSharingBuildRequest {
string build_id = 1;
}

message StopSharingBuildResponse {}

0 comments on commit ccac06d

Please sign in to comment.