-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reintroduce helm-docs step in ci (#8164)
- Loading branch information
1 parent
39e721d
commit 922e27f
Showing
1 changed file
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,6 +137,17 @@ jobs: | |
run: | | ||
./build/run-in-docker.sh ./hack/verify-chart-lint.sh | ||
- name: Run helm-docs | ||
run: | | ||
GOBIN=$PWD GO111MODULE=on go install github.com/norwoodj/helm-docs/cmd/[email protected] | ||
./helm-docs --chart-search-root=${GITHUB_WORKSPACE}/charts | ||
DIFF=$(git diff ${GITHUB_WORKSPACE}/charts/ingress-nginx/README.md) | ||
if [ ! -z "$DIFF" ]; then | ||
echo "Please use helm-docs in your clone, of your fork, of the project, and commit a updated README.md for the chart. https://github.com/kubernetes/ingress-nginx/blob/main/RELEASE.md#d-edit-the-valuesyaml-and-run-helm-docs" | ||
fi | ||
git diff --exit-code | ||
rm -f ./helm-docs | ||
- name: fix permissions | ||
run: | | ||
sudo mkdir -p $HOME/.kube | ||
|