Update api to implement runners (fixes #1)

This commit is contained in:
2023-01-09 00:56:52 -07:00
parent 027d707f07
commit ead0aeff2e
7 changed files with 374 additions and 26 deletions
+16
View File
@@ -0,0 +1,16 @@
syntax = "proto3";
package api.v2;
option go_package = "git.ohea.xyz/cursorius/pipeline-api/go/api/v2;apiv2";
message ReleaseRunnerRequest {
string id = 1;
}
message ReleaseRunnerResponse {
}
service ReleaseRunnerService {
rpc ReleaseRunner(ReleaseRunnerRequest) returns (ReleaseRunnerResponse) {}
}
+1
View File
@@ -7,6 +7,7 @@ option go_package = "git.ohea.xyz/cursorius/pipeline-api/go/api/v2;apiv2";
message RunCommandRequest {
string id = 1;
string command = 2;
repeated string args = 3;
}
message RunCommandResponse {