add lint on chart before release (#9570)
Signed-off-by: James Strong <strong.james.e@gmail.com>
This commit is contained in:
parent
1bf5317969
commit
254b814985
1 changed files with 12 additions and 0 deletions
12
.github/workflows/helm.yaml
vendored
12
.github/workflows/helm.yaml
vendored
|
@ -25,6 +25,18 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
|
||||||
|
|
||||||
|
- name: Run Artifact Hub lint
|
||||||
|
run: |
|
||||||
|
wget https://github.com/artifacthub/hub/releases/download/v1.5.0/ah_1.5.0_linux_amd64.tar.gz
|
||||||
|
echo 'ad0e44c6ea058ab6b85dbf582e88bad9fdbc64ded0d1dd4edbac65133e5c87da *ah_1.5.0_linux_amd64.tar.gz' | shasum -c
|
||||||
|
tar -xzvf ah_1.5.0_linux_amd64.tar.gz ah
|
||||||
|
./ah lint -p charts/ingress-nginx || exit 1
|
||||||
|
rm -f ./ah ./ah_1.5.0_linux_amd64.tar.gz
|
||||||
|
|
||||||
|
- name: Lint
|
||||||
|
run: |
|
||||||
|
./build/run-in-docker.sh ./hack/verify-chart-lint.sh
|
||||||
|
|
||||||
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
|
- uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
|
||||||
id: filter
|
id: filter
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue