From 6747628b3a698b606b61e4fd71d93374247a97b4 Mon Sep 17 00:00:00 2001 From: kmaus-near Date: Thu, 16 Nov 2023 08:51:14 -0800 Subject: [PATCH 1/2] setting leader node to be accessable to internal traffic only --- infra/modules/leader/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/modules/leader/main.tf b/infra/modules/leader/main.tf index 06928252d..f27fe6cc0 100644 --- a/infra/modules/leader/main.tf +++ b/infra/modules/leader/main.tf @@ -1,7 +1,7 @@ resource "google_cloud_run_v2_service" "leader" { name = var.service_name location = var.region - ingress = "INGRESS_TRAFFIC_ALL" + ingress = "INGRESS_TRAFFIC_INTERNAL_ONLY" template { service_account = var.service_account_email From aade36649c4b70d843eb3536554866e1c9649487 Mon Sep 17 00:00:00 2001 From: Serhii Volovyk Date: Thu, 16 Nov 2023 19:27:11 +0200 Subject: [PATCH 2/2] static string --- integration-tests/src/env/containers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integration-tests/src/env/containers.rs b/integration-tests/src/env/containers.rs index 17cbda85e..54b8d5ac2 100644 --- a/integration-tests/src/env/containers.rs +++ b/integration-tests/src/env/containers.rs @@ -291,7 +291,7 @@ pub struct RelayerConfig { impl<'a> Relayer<'a> { pub const CONTAINER_PORT: u16 = 3000; - pub const TMP_FOLDER_PATH: &str = "./tmp"; + pub const TMP_FOLDER_PATH: &'static str = "./tmp"; pub async fn run( docker_client: &'a DockerClient,