From 17177b2b446957fe404216c375b5efe4c0b96d7c Mon Sep 17 00:00:00 2001 From: Gytis Ivaskevicius Date: Wed, 21 Aug 2024 12:12:09 +0300 Subject: [PATCH 1/3] chore: disable submit-api on sanchonet --- nix/cardano-services/deployments/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/nix/cardano-services/deployments/default.nix b/nix/cardano-services/deployments/default.nix index a25ca050ce7..aa4363d3aac 100644 --- a/nix/cardano-services/deployments/default.nix +++ b/nix/cardano-services/deployments/default.nix @@ -856,9 +856,7 @@ in providers = { backend = { enabled = true; - env.USE_SUBMIT_API = "true"; - env.USE_BLOCKFROST = lib.mkForce "false"; - env.SUBMIT_API_URL = "http://${final.namespace}-cardano-core.${final.namespace}.svc.cluster.local:8090"; + env.USE_SUBMIT_API = "false"; env.NODE_ENV = "production"; }; stake-pool-provider.enabled = true; @@ -892,9 +890,7 @@ in providers = { backend = { enabled = true; - env.USE_SUBMIT_API = "true"; - env.USE_BLOCKFROST = lib.mkForce "false"; - env.SUBMIT_API_URL = "http://${final.namespace}-cardano-core.${final.namespace}.svc.cluster.local:8090"; + env.USE_SUBMIT_API = "false"; env.NODE_ENV = "production"; }; stake-pool-provider.enabled = true; From 908b2fc0593351f78eb1964a50004786fcc47266 Mon Sep 17 00:00:00 2001 From: Gytis Ivaskevicius Date: Fri, 23 Aug 2024 18:05:54 +0300 Subject: [PATCH 2/3] chore: promote live-preprod@eu-central-1 to live --- nix/cardano-services/deployments/default.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nix/cardano-services/deployments/default.nix b/nix/cardano-services/deployments/default.nix index aa4363d3aac..b3b3c66a76e 100644 --- a/nix/cardano-services/deployments/default.nix +++ b/nix/cardano-services/deployments/default.nix @@ -623,7 +623,6 @@ in cardano-services = { ingresOrder = 98; }; - backend.hostnames = ["${final.namespace}.${final.region}.${baseUrl}"]; }; }; From 7e6c6918ef7ac2459b1347b3c8b152344d71c5fd Mon Sep 17 00:00:00 2001 From: Gytis Ivaskevicius Date: Tue, 27 Aug 2024 17:35:32 +0300 Subject: [PATCH 3/3] chore: remove explicit routes definition on live-preview@eu-central-1 --- nix/cardano-services/deployments/default.nix | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/nix/cardano-services/deployments/default.nix b/nix/cardano-services/deployments/default.nix index b3b3c66a76e..0cfe83012ac 100644 --- a/nix/cardano-services/deployments/default.nix +++ b/nix/cardano-services/deployments/default.nix @@ -715,22 +715,6 @@ in cardano-services = { ingresOrder = 98; }; - backend.routes = let - inherit (oci.meta) versions; - in - lib.concatLists [ - (map (v: "/v${v}/health") versions.root) - (map (v: "/v${v}/live") versions.root) - (map (v: "/v${v}/meta") versions.root) - (map (v: "/v${v}/ready") versions.root) - (map (v: "/v${v}/asset") versions.assetInfo) - (map (v: "/v${v}/chain-history") versions.chainHistory) - (map (v: "/v${v}/network-info") versions.networkInfo) - (map (v: "/v${v}/rewards") versions.rewards) - (map (v: "/v${v}/tx-submit") versions.txSubmit) - (map (v: "/v${v}/utxo") versions.utxo) - (map (v: "/v${v}/handle") versions.handle) - ]; }; };