From 099483913b9822ff3bd89207b3fd7295918d28e6 Mon Sep 17 00:00:00 2001 From: Billy Batista Date: Tue, 17 Dec 2024 17:00:20 -0500 Subject: [PATCH 1/3] feat: add support for 32x64 hardware --- proto/depot/core/v1/project.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/depot/core/v1/project.proto b/proto/depot/core/v1/project.proto index b3f6c0b..b33a624 100644 --- a/proto/depot/core/v1/project.proto +++ b/proto/depot/core/v1/project.proto @@ -122,6 +122,8 @@ enum Hardware { HARDWARE_8X8 = 3; // 8 CPU and 16GB of memory. HARDWARE_8X16 = 4; + // 32 CPU and 64GB of memory. + HARDWARE_32X64 = 5; } message ListTrustPoliciesRequest { From 3822e60f2bf58e6e85328cc67d510d854d718b82 Mon Sep 17 00:00:00 2001 From: Billy Batista Date: Wed, 18 Dec 2024 14:19:08 -0500 Subject: [PATCH 2/3] chore: document which Hardware options are supported by aws builders Not my favorite solution, but we can't break ProjectService for users --- proto/depot/core/v1/project.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/proto/depot/core/v1/project.proto b/proto/depot/core/v1/project.proto index b33a624..a136bb0 100644 --- a/proto/depot/core/v1/project.proto +++ b/proto/depot/core/v1/project.proto @@ -112,17 +112,17 @@ message CachePolicy { // Hardware represents the hardware configuration of a project. enum Hardware { - // By default is 16 CPU and 32GB of memory. + // By default is 16 CPU and 32GB of memory. Supported by AWS builders. HARDWARE_UNSPECIFIED = 0; - // 16 CPU and 32GB of memory. + // 16 CPU and 32GB of memory. Supported by AWS builders. HARDWARE_16X32 = 1; // 4 CPU and 4GB of memory. HARDWARE_4X4 = 2; // 8 CPU and 8GB of memory. HARDWARE_8X8 = 3; - // 8 CPU and 16GB of memory. + // 8 CPU and 16GB of memory. Supported by AWS builders. HARDWARE_8X16 = 4; - // 32 CPU and 64GB of memory. + // 32 CPU and 64GB of memory. Supported by AWS builders. HARDWARE_32X64 = 5; } From a5fa68b17e3c5b2bf5b6323803ecb14dd0d90258 Mon Sep 17 00:00:00 2001 From: Billy Batista Date: Wed, 18 Dec 2024 14:23:01 -0500 Subject: [PATCH 3/3] feat: add 64x128 as well beeg builder --- proto/depot/core/v1/project.proto | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proto/depot/core/v1/project.proto b/proto/depot/core/v1/project.proto index a136bb0..f9ec17d 100644 --- a/proto/depot/core/v1/project.proto +++ b/proto/depot/core/v1/project.proto @@ -124,6 +124,8 @@ enum Hardware { HARDWARE_8X16 = 4; // 32 CPU and 64GB of memory. Supported by AWS builders. HARDWARE_32X64 = 5; + // 64 CPU and 128GB of memory. Supported by AWS builders. + HARDWARE_64X128 = 6; } message ListTrustPoliciesRequest {