Skip to content
10 changes: 7 additions & 3 deletions charts/cf-runtime/.ci/helm-docs.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
#!/bin/bash
## Reference: https://github.com/norwoodj/helm-docs
set -eux
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
set -x
REPO_ROOT="${1:-$(cd "$(dirname "$0")/../../.." && pwd)}"
WORKDIR="${2}"

echo "$REPO_ROOT"
echo "$WORKDIR"

echo "Running Helm-Docs"
docker run \
-v "$REPO_ROOT:/helm-docs" \
-w "/helm-docs/$WORKDIR" \
-u $(id -u) \
--rm \
--entrypoint /bin/sh \
Expand All @@ -15,4 +19,4 @@ docker run \
helm-docs \
--chart-search-root=charts \
--template-files=./_templates.gotmpl \
--template-files=README.md.gotmpl \
--template-files=README.md.gotmpl \
2 changes: 1 addition & 1 deletion charts/cf-runtime/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
description: A Helm chart for Codefresh Runner
name: cf-runtime
version: 10.5.1
version: 10.5.2
keywords:
- codefresh
- runner
Expand Down
Loading