mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-01-31 09:06:48 +00:00
cf5a2e5fe6
* imported chart * ci * docs * added myself as maintainer * helm-docs update * bump up action version * typo fix * fix official webste * fix allegro ai website
13 lines
558 B
Bash
Executable File
13 lines
558 B
Bash
Executable File
#!/bin/bash
|
|
|
|
CHART_DIRS="$(git diff --find-renames --name-only "$(git rev-parse --abbrev-ref HEAD)" remotes/origin/main -- 'charts' | grep '[cC]hart.yaml' | sed -e 's#/[Cc]hart.yaml##g')"
|
|
HELM_DOCS_VERSION="1.5.0"
|
|
|
|
curl --silent --show-error --fail --location --output /tmp/helm-docs.tar.gz https://github.com/norwoodj/helm-docs/releases/download/v"${HELM_DOCS_VERSION}"/helm-docs_"${HELM_DOCS_VERSION}"_Linux_x86_64.tar.gz
|
|
tar -xf /tmp/helm-docs.tar.gz helm-docs
|
|
|
|
for CHART_DIR in ${CHART_DIRS}; do
|
|
./helm-docs -c ${CHART_DIR}
|
|
git diff --exit-code
|
|
done
|