From 7ec98194aecaebd8f0c319a748647a25694612e9 Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Thu, 21 Nov 2024 14:20:16 -0600 Subject: [PATCH] improved Readme to include dependency update and added step to chart ci test Signed-off-by: Alfredo Gutierrez --- .github/workflows/helm-charts.yaml | 4 ++++ charts/hedera-block-node/README.md | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/helm-charts.yaml b/.github/workflows/helm-charts.yaml index 44b0fa223..655b20c95 100644 --- a/.github/workflows/helm-charts.yaml +++ b/.github/workflows/helm-charts.yaml @@ -65,6 +65,10 @@ jobs: if: steps.list-changed.outputs.changed == 'true' uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 + - name: Update chart dependency + if: steps.list-changed.outputs.changed == 'true' + run: helm dependency update charts/hedera-block-node + - name: Run chart-testing (install) if: steps.list-changed.outputs.changed == 'true' run: ct install --config ct.yaml diff --git a/charts/hedera-block-node/README.md b/charts/hedera-block-node/README.md index b59626252..82428b239 100644 --- a/charts/hedera-block-node/README.md +++ b/charts/hedera-block-node/README.md @@ -25,7 +25,8 @@ helm template --name-template my-bn hedera-block-node/ --dry-run --output-dir ou To install the chart: ```bash helm repo add hedera-block-node https://hashgraph.github.io/hedera-block-node/charts -helm install "${RELEASE}" hedera-block-node/hedera-block-node -f +helm dependency update charts/hedera-block-node +helm install "${RELEASE}" charts/hedera-block-node -f ``` *Note:* If using the chart directly after cloning the github repo, there is no need to add the repo. and install can be directly. Assuming you are at the root folder of the repo.