Skip to content

Commit 83be4eb

Browse files
authored
Merge pull request #8600 from z63d/fix-helm-docs-gha
Update helm-docs & improve output
2 parents cc3f091 + f45f7f4 commit 83be4eb

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

.github/workflows/pr.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,14 @@ jobs:
5959
- name: Checkout
6060
uses: actions/[email protected]
6161
- name: Run helm-docs
62-
uses: docker://jnorwood/helm-docs:v1.3.0
62+
uses: docker://jnorwood/helm-docs:v1.14.2
6363
- name: Check for changes
64-
run: git diff --quiet charts/*/README.md
64+
run: |
65+
if ! git diff --exit-code charts/*/README.md; then
66+
echo "ERROR: Helm chart README.md files are out of date"
67+
echo "Run from charts/: docker run --rm --volume \"\$(pwd):/helm-docs\" -u \$(id -u) jnorwood/helm-docs:v1.14.2"
68+
exit 1
69+
fi
6570
6671
name: Lint and Test Charts
6772
on: pull_request

charts/vertical-pod-autoscaler/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.0
18+
version: 0.1.1
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/vertical-pod-autoscaler/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WARNING: This chart is currently under development and is not ready for producti
44

55
Automatically adjust resources for your workloads
66

7-
![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square)
7+
![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square)
88
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
99
![AppVersion: 1.5.0](https://img.shields.io/badge/AppVersion-1.5.0-informational?style=flat-square)
1010

@@ -15,8 +15,8 @@ The Vertical Pod Autoscaler (VPA) automatically adjusts the CPU and memory resou
1515

1616
| Name | Email | Url |
1717
| ---- | ------ | --- |
18-
| adrianmoisey | [email protected] | |
19-
| omerap12 | [email protected] | |
18+
| adrianmoisey | <[email protected]> | |
19+
| omerap12 | <[email protected]> | |
2020

2121
## Values
2222

0 commit comments

Comments
 (0)