Skip to content

Commit e766393

Browse files
committed
feat: allow control of build timeout via api
1 parent 43d11f3 commit e766393

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

proto/depot/core/v1/project.proto

+10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
syntax = "proto3";
22
package depot.core.v1;
33

4+
import "google/protobuf/struct.proto";
45
import "google/protobuf/timestamp.proto";
56

67
service ProjectService {
@@ -74,6 +75,7 @@ message CreateProjectRequest {
7475
string region_id = 3;
7576
optional CachePolicy cache_policy = 4;
7677
optional Hardware hardware = 5;
78+
optional NullableInt32 max_build_duration_minutes = 6;
7779
}
7880

7981
message CreateProjectResponse {
@@ -86,6 +88,7 @@ message UpdateProjectRequest {
8688
optional string region_id = 3;
8789
optional CachePolicy cache_policy = 4;
8890
optional Hardware hardware = 5;
91+
optional NullableInt32 max_build_duration_minutes = 6;
8992
}
9093

9194
message UpdateProjectResponse {
@@ -218,3 +221,10 @@ message DeleteTokenRequest {
218221
}
219222

220223
message DeleteTokenResponse {}
224+
225+
message NullableInt32 {
226+
oneof kind {
227+
google.protobuf.NullValue null = 1;
228+
int32 value = 2;
229+
}
230+
}

0 commit comments

Comments
 (0)