From a0302e9c5bed2c95c1545f9318486b008ca55dd3 Mon Sep 17 00:00:00 2001 From: Lenin Mehedy Date: Tue, 9 Apr 2024 13:45:42 +1000 Subject: [PATCH 1/5] fix: return chart-path correctly when chart-directory is specified Signed-off-by: Lenin Mehedy --- src/commands/base.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/base.mjs b/src/commands/base.mjs index 9e997f625..8deb79718 100644 --- a/src/commands/base.mjs +++ b/src/commands/base.mjs @@ -27,6 +27,7 @@ export class BaseCommand extends ShellRunner { if (chartDir) { const chartPath = `${chartDir}/${chartReleaseName}` await this.helm.dependency('update', chartPath) + return chartPath } return `${chartRepo}/${chartReleaseName}` From 0181e7d6e919ae771b3b744ab4bbcaf5577f513e Mon Sep 17 00:00:00 2001 From: Lenin Mehedy Date: Wed, 10 Apr 2024 07:10:42 +1000 Subject: [PATCH 2/5] fix: update to latest FST chart version v0.24.3 Signed-off-by: Lenin Mehedy --- version.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.mjs b/version.mjs index a7ec6aa39..9aa58c78b 100644 --- a/version.mjs +++ b/version.mjs @@ -21,5 +21,5 @@ export const JAVA_VERSION = '21.0.1+12' export const HELM_VERSION = 'v3.14.2' -export const FST_CHART_VERSION = 'v0.24.2' +export const FST_CHART_VERSION = 'v0.24.3' export const HEDERA_PLATFORM_VERSION = 'v0.47.0' From 8bc9d727530f944f5c5e9dac54e09bc58ca73467 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 9 Apr 2024 21:27:39 +0000 Subject: [PATCH 3/5] auto update README.md Signed-off-by: Lenin Mehedy --- README.md | 51 ++++++++++++++++++--------------------------------- 1 file changed, 18 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 1cc645e4c..1954eebb1 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ You can now use your cluster with: kubectl cluster-info --context kind-solo -Thanks for using kind! 😊 +Have a nice day! 👋 ``` You may now view pods in your cluster using `k9s -A` as below: @@ -178,9 +178,9 @@ Kubernetes Namespace : solo ✔ Clean up temp files ✔ Generate gossip keys ✔ Backup old files -✔ TLS key for node: node2 ✔ TLS key for node: node0 ✔ TLS key for node: node1 +✔ TLS key for node: node2 ✔ Generate gRPC TLS keys ✔ Finalize ``` @@ -260,16 +260,16 @@ Kubernetes Namespace : solo ********************************************************************************** ✔ Initialize ✔ Check network pod: node0 -✔ Check network pod: node1 ✔ Check network pod: node2 +✔ Check network pod: node1 ✔ Identify network pods ✔ Copy configuration files ✔ Copy Gossip keys to staging ✔ Copy gRPC TLS keys to staging ✔ Prepare config.txt for the network ✔ Prepare staging directory -✔ Node: node0 ✔ Node: node2 +✔ Node: node0 ✔ Node: node1 ✔ Fetch platform software into network nodes ✔ Copy Gossip keys @@ -282,10 +282,10 @@ Kubernetes Namespace : solo ✔ Copy configuration files ✔ Copy configuration files ✔ Set file permissions -✔ Node: node1 -✔ Set file permissions ✔ Node: node0 ✔ Set file permissions +✔ Node: node1 +✔ Set file permissions ✔ Node: node2 ✔ Setup network nodes ✔ Finalize @@ -308,13 +308,13 @@ Kubernetes Cluster : kind-solo Kubernetes Namespace : solo ********************************************************************************** ✔ Initialize -✔ Check network pod: node1 ✔ Check network pod: node0 +✔ Check network pod: node1 ✔ Check network pod: node2 ✔ Identify network pods +✔ Start node: node2 ✔ Start node: node1 ✔ Start node: node0 -✔ Start node: node2 ✔ Starting nodes ✔ Check node: node0 ✔ Check node: node1 @@ -345,13 +345,9 @@ Kubernetes Namespace : solo ✔ Prepare address book ✔ Deploy mirror-node ✔ Enable mirror-node -✔ Check Postgres DB -✔ Check Importer -✔ Check REST API -✔ Check Web3 -✔ Check GRPC -✔ Check Hedera Explorer -✔ Check Mirror node components are ACTIVE +*********************************** ERROR ***************************************** +Error starting node: Expected number of pod (1) not found status.phase=Running app.kubernetes.io/component=postgresql,app.kubernetes.io/name=postgres [maxAttempts = 900] +*********************************************************************************** ``` * Deploy a JSON RPC relay @@ -372,15 +368,9 @@ Kubernetes Namespace : solo ********************************************************************************** ✔ Initialize ✔ Prepare chart values - - *** Deployed Relays *** -------------------------------------------------------------------------------- - - fullstack-deployment [fullstack-deployment-0.24.2] - - relay-node0-node1 [hedera-json-rpc-relay-0.26.0-SNAPSHOT] - - relay-node0-node1-node2 [hedera-json-rpc-relay-0.26.0-SNAPSHOT] - - -✔ Deploy JSON RPC Relay +*********************************** ERROR ***************************************** +Error installing relays +*********************************************************************************** ``` You may view the list of pods using `k9s` as below: @@ -450,14 +440,9 @@ Kubernetes Namespace : solo ********************************************************************************** ✔ Initialize ✔ Prepare chart values - - *** Deployed Relays *** -------------------------------------------------------------------------------- - - fullstack-deployment [fullstack-deployment-0.24.2] - - relay-node0-node1 [hedera-json-rpc-relay-0.26.0-SNAPSHOT] - - -✔ Deploy JSON RPC Relay +*********************************** ERROR ***************************************** +Error installing relays +*********************************************************************************** ``` ### Example - 2: Deploy a standalone test network (version `0.47.0-alpha.0`) @@ -516,9 +501,9 @@ Kubernetes Namespace : solo ✔ Gossip pem key for node: node2 ✔ Generate gossip keys ✔ Backup old files +✔ TLS key for node: node2 ✔ TLS key for node: node0 ✔ TLS key for node: node1 -✔ TLS key for node: node2 ✔ Generate gRPC TLS keys ✔ Finalize ``` From c5533af5180561a2f295a9eceb1eb5c99b9dab48 Mon Sep 17 00:00:00 2001 From: Lenin Mehedy Date: Wed, 10 Apr 2024 11:36:12 +1000 Subject: [PATCH 4/5] Revert "auto update README.md" This reverts commit 1f11fddb899309a01ddda1097fd4c3908cb7307f. Signed-off-by: Lenin Mehedy --- README.md | 51 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 1954eebb1..1cc645e4c 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ You can now use your cluster with: kubectl cluster-info --context kind-solo -Have a nice day! 👋 +Thanks for using kind! 😊 ``` You may now view pods in your cluster using `k9s -A` as below: @@ -178,9 +178,9 @@ Kubernetes Namespace : solo ✔ Clean up temp files ✔ Generate gossip keys ✔ Backup old files +✔ TLS key for node: node2 ✔ TLS key for node: node0 ✔ TLS key for node: node1 -✔ TLS key for node: node2 ✔ Generate gRPC TLS keys ✔ Finalize ``` @@ -260,16 +260,16 @@ Kubernetes Namespace : solo ********************************************************************************** ✔ Initialize ✔ Check network pod: node0 -✔ Check network pod: node2 ✔ Check network pod: node1 +✔ Check network pod: node2 ✔ Identify network pods ✔ Copy configuration files ✔ Copy Gossip keys to staging ✔ Copy gRPC TLS keys to staging ✔ Prepare config.txt for the network ✔ Prepare staging directory -✔ Node: node2 ✔ Node: node0 +✔ Node: node2 ✔ Node: node1 ✔ Fetch platform software into network nodes ✔ Copy Gossip keys @@ -282,10 +282,10 @@ Kubernetes Namespace : solo ✔ Copy configuration files ✔ Copy configuration files ✔ Set file permissions -✔ Node: node0 -✔ Set file permissions ✔ Node: node1 ✔ Set file permissions +✔ Node: node0 +✔ Set file permissions ✔ Node: node2 ✔ Setup network nodes ✔ Finalize @@ -308,13 +308,13 @@ Kubernetes Cluster : kind-solo Kubernetes Namespace : solo ********************************************************************************** ✔ Initialize -✔ Check network pod: node0 ✔ Check network pod: node1 +✔ Check network pod: node0 ✔ Check network pod: node2 ✔ Identify network pods -✔ Start node: node2 ✔ Start node: node1 ✔ Start node: node0 +✔ Start node: node2 ✔ Starting nodes ✔ Check node: node0 ✔ Check node: node1 @@ -345,9 +345,13 @@ Kubernetes Namespace : solo ✔ Prepare address book ✔ Deploy mirror-node ✔ Enable mirror-node -*********************************** ERROR ***************************************** -Error starting node: Expected number of pod (1) not found status.phase=Running app.kubernetes.io/component=postgresql,app.kubernetes.io/name=postgres [maxAttempts = 900] -*********************************************************************************** +✔ Check Postgres DB +✔ Check Importer +✔ Check REST API +✔ Check Web3 +✔ Check GRPC +✔ Check Hedera Explorer +✔ Check Mirror node components are ACTIVE ``` * Deploy a JSON RPC relay @@ -368,9 +372,15 @@ Kubernetes Namespace : solo ********************************************************************************** ✔ Initialize ✔ Prepare chart values -*********************************** ERROR ***************************************** -Error installing relays -*********************************************************************************** + + *** Deployed Relays *** +------------------------------------------------------------------------------- + - fullstack-deployment [fullstack-deployment-0.24.2] + - relay-node0-node1 [hedera-json-rpc-relay-0.26.0-SNAPSHOT] + - relay-node0-node1-node2 [hedera-json-rpc-relay-0.26.0-SNAPSHOT] + + +✔ Deploy JSON RPC Relay ``` You may view the list of pods using `k9s` as below: @@ -440,9 +450,14 @@ Kubernetes Namespace : solo ********************************************************************************** ✔ Initialize ✔ Prepare chart values -*********************************** ERROR ***************************************** -Error installing relays -*********************************************************************************** + + *** Deployed Relays *** +------------------------------------------------------------------------------- + - fullstack-deployment [fullstack-deployment-0.24.2] + - relay-node0-node1 [hedera-json-rpc-relay-0.26.0-SNAPSHOT] + + +✔ Deploy JSON RPC Relay ``` ### Example - 2: Deploy a standalone test network (version `0.47.0-alpha.0`) @@ -501,9 +516,9 @@ Kubernetes Namespace : solo ✔ Gossip pem key for node: node2 ✔ Generate gossip keys ✔ Backup old files -✔ TLS key for node: node2 ✔ TLS key for node: node0 ✔ TLS key for node: node1 +✔ TLS key for node: node2 ✔ Generate gRPC TLS keys ✔ Finalize ``` From c8cf1c8018b0d0a1879158ade798072279922db9 Mon Sep 17 00:00:00 2001 From: Lenin Mehedy Date: Wed, 10 Apr 2024 11:36:28 +1000 Subject: [PATCH 5/5] silence node depreciation warning Signed-off-by: Lenin Mehedy --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index bbf0ed4df..5e8fe98f9 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "scripts": { "test": "NODE_OPTIONS=--experimental-vm-modules JEST_SUITE_NAME='Unit Tests' jest --runInBand --detectOpenHandles --forceExit --coverage --coverageDirectory='coverage/unit' --testPathIgnorePatterns=\".*/e2e/.*\"", "test-e2e": "NODE_OPTIONS=--experimental-vm-modules JEST_SUITE_NAME='Jest E2E Tests' JEST_JUNIT_OUTPUT_NAME='junit-e2e.xml' jest --runInBand --detectOpenHandles --forceExit --coverage --coverageDirectory='coverage/e2e' --testPathIgnorePatterns=\\\".*/unit/.*\\\"", - "solo": "NODE_OPTIONS=--experimental-vm-modules node solo.mjs", + "solo": "NODE_OPTIONS=--experimental-vm-modules node --no-deprecation solo.mjs", "check": "remark . --quiet --frail && eslint .", "format": "remark . --quiet --frail --output && eslint --fix ." },