.github/renovate-entrypoint.sh
1
#!/usr/bin/env bash
2
set -euo pipefail
4
# The shared home-operations preset attaches helm-docs as a post-upgrade task
5
# and Renovate's container does not carry it, while `mise run generate-check`
6
# fails on a chart README that was not regenerated. The version is pinned and
7
# Renovate updates it here like any other dependency.
9
# renovate: datasource=github-releases depName=norwoodj/helm-docs
10
HELM_DOCS_VERSION=1.14.2
11
curl -fsSL \
12
"https://github.com/norwoodj/helm-docs/releases/download/v${HELM_DOCS_VERSION#v}/helm-docs_${HELM_DOCS_VERSION#v}_Linux_x86_64.tar.gz" \
13
| tar -xz -C /usr/local/bin helm-docs
14
helm-docs --version
16
runuser -u ubuntu renovate