From c3c651e56b4fe7054f8dd6a1e7f7010c43a028df Mon Sep 17 00:00:00 2001 From: Rustie Lin Date: Thu, 2 Mar 2023 11:15:34 -0800 Subject: [PATCH] [tf/gha] build on push to preview branch and bump machine type (#6872) * [gha] build on push to preview branch * [tf] update instance types for preview --- .github/workflows/docker-build-test.yaml | 1 + terraform/aptos-node-testnet/aws/variables.tf | 2 +- terraform/aptos-node-testnet/gcp/variables.tf | 2 +- terraform/aptos-node/aws/variables.tf | 2 +- terraform/aptos-node/gcp/variables.tf | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docker-build-test.yaml b/.github/workflows/docker-build-test.yaml index 8b29cae88b90e..4d55104e517d0 100644 --- a/.github/workflows/docker-build-test.yaml +++ b/.github/workflows/docker-build-test.yaml @@ -47,6 +47,7 @@ on: # build on main branch OR when a PR is labeled with `CICD:build-images` # experimental branches - performance_benchmark - quorum-store + - preview # cancel redundant builds concurrency: diff --git a/terraform/aptos-node-testnet/aws/variables.tf b/terraform/aptos-node-testnet/aws/variables.tf index 1c99b794005c6..5394dc9af48f8 100644 --- a/terraform/aptos-node-testnet/aws/variables.tf +++ b/terraform/aptos-node-testnet/aws/variables.tf @@ -174,7 +174,7 @@ variable "utility_instance_type" { variable "validator_instance_type" { description = "Instance type used for validator and fullnodes" - default = "c6i.4xlarge" + default = "c6i.16xlarge" } ### Forge diff --git a/terraform/aptos-node-testnet/gcp/variables.tf b/terraform/aptos-node-testnet/gcp/variables.tf index 2282251867725..1bf14cb7e8a86 100644 --- a/terraform/aptos-node-testnet/gcp/variables.tf +++ b/terraform/aptos-node-testnet/gcp/variables.tf @@ -116,7 +116,7 @@ variable "utility_instance_type" { variable "validator_instance_type" { description = "Instance type used for validator and fullnodes" - default = "n2-standard-32" + default = "t2d-standard-48" } ### Addons diff --git a/terraform/aptos-node/aws/variables.tf b/terraform/aptos-node/aws/variables.tf index 828241a8db4d9..a4c2625ed5e87 100644 --- a/terraform/aptos-node/aws/variables.tf +++ b/terraform/aptos-node/aws/variables.tf @@ -177,7 +177,7 @@ variable "utility_instance_enable_taint" { variable "validator_instance_type" { description = "Instance type used for validator and fullnodes" - default = "c6i.8xlarge" + default = "c6i.16xlarge" } variable "validator_instance_num" { diff --git a/terraform/aptos-node/gcp/variables.tf b/terraform/aptos-node/gcp/variables.tf index e4b00606ef20b..2dde4821c7580 100644 --- a/terraform/aptos-node/gcp/variables.tf +++ b/terraform/aptos-node/gcp/variables.tf @@ -102,7 +102,7 @@ variable "utility_instance_disk_size_gb" { variable "validator_instance_type" { description = "Instance type used for validator and fullnodes" - default = "n2-standard-32" + default = "t2d-standard-48" } variable "validator_instance_num" {