From 75931ef2403b322bc1471013447e916bc9b9829b Mon Sep 17 00:00:00 2001 From: William Batista Date: Mon, 21 Oct 2024 11:55:16 -0400 Subject: [PATCH] feat: add the ability to share builds --- proto/depot/build/v1/build.proto | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/proto/depot/build/v1/build.proto b/proto/depot/build/v1/build.proto index 235fdbf..95d1974 100644 --- a/proto/depot/build/v1/build.proto +++ b/proto/depot/build/v1/build.proto @@ -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 { @@ -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 {}