Skip to content

Commit

Permalink
Switch to helm-docs docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
ccremer committed Apr 13, 2020
1 parent cfbda09 commit b83fc51
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .ci/helm-docs.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
#!/bin/bash
set -euo pipefail

HELM_DOCS_VERSION="0.11.1"

# install helm-docs
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
HELM_DOCS_VERSION="v0.12.0"

# validate docs
./helm-docs
docker run --rm -v $(pwd):/src -w /src -u $(id -u) jnorwood/helm-docs:${HELM_DOCS_VERSION}
git diff --exit-code

0 comments on commit b83fc51

Please sign in to comment.