From a12ff7b8dac15e8413b3579c2727834610870b56 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 13 Aug 2026 19:31:07 +0400 Subject: [PATCH 1/2] test: helm-docs --- scripts/helm-docs.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/scripts/helm-docs.sh b/scripts/helm-docs.sh index dd5ed058d..d7e282400 100755 --- a/scripts/helm-docs.sh +++ b/scripts/helm-docs.sh @@ -1,12 +1,16 @@ #!/bin/bash ## Reference: https://github.com/norwoodj/helm-docs -set -eux -CHART_DIR="$(cd "$(dirname "$0")/.." && pwd)" -echo "$CHART_DIR" +set -x +REPO_ROOT="${1:-$(cd "$(dirname "$0")/.." && pwd)}" +WORKDIR="${2}" + +echo "$REPO_ROOT" +echo "$WORKDIR" echo "Running Helm-Docs" docker run \ - -v "$CHART_DIR:/helm-docs" \ + -v "$REPO_ROOT:/helm-docs" \ + -w "/helm-docs/$WORKDIR" \ -u $(id -u) \ --rm \ jnorwood/helm-docs:v1.9.1 From a01ccc619fd40f63e73d0d1a04a4e6c876bbc473 Mon Sep 17 00:00:00 2001 From: Mikhail Klimko Date: Thu, 13 Aug 2026 19:34:36 +0400 Subject: [PATCH 2/2] test: helm-docs --- charts/gitops-runtime/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/gitops-runtime/Chart.yaml b/charts/gitops-runtime/Chart.yaml index 32e2e28f4..08c4e8d04 100644 --- a/charts/gitops-runtime/Chart.yaml +++ b/charts/gitops-runtime/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: 0.1.72 description: A Helm chart for Codefresh gitops runtime name: gitops-runtime -version: 0.0.0 +version: 0.0.1 home: https://github.com/codefresh-io/gitops-runtime-helm icon: https://avatars1.githubusercontent.com/u/11412079?v=3 keywords: