Skip to content

Commit 41c2f24

Browse files
strongjzJames Strong
authored andcommitted
add lint on chart before release (#9570)
Signed-off-by: James Strong <[email protected]>
1 parent fb2223b commit 41c2f24

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/helm.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,18 @@ jobs:
2525
- name: Checkout
2626
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
2727

28+
- name: Run Artifact Hub lint
29+
run: |
30+
wget https://github.com/artifacthub/hub/releases/download/v1.5.0/ah_1.5.0_linux_amd64.tar.gz
31+
echo 'ad0e44c6ea058ab6b85dbf582e88bad9fdbc64ded0d1dd4edbac65133e5c87da *ah_1.5.0_linux_amd64.tar.gz' | shasum -c
32+
tar -xzvf ah_1.5.0_linux_amd64.tar.gz ah
33+
./ah lint -p charts/ingress-nginx || exit 1
34+
rm -f ./ah ./ah_1.5.0_linux_amd64.tar.gz
35+
36+
- name: Lint
37+
run: |
38+
./build/run-in-docker.sh ./hack/verify-chart-lint.sh
39+
2840
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
2941
id: filter
3042
with:

0 commit comments

Comments
 (0)