mirror of
https://github.com/kyverno/kyverno.git
synced 2024-12-14 11:57:48 +00:00
feat: lint Helm charts for Artifact Hub (#6758)
Signed-off-by: Liang Deng <283304489@qq.com> Co-authored-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
parent
b4a4e3a4f3
commit
0be5255be9
2 changed files with 24 additions and 0 deletions
12
.github/workflows/helm-release.yaml
vendored
12
.github/workflows/helm-release.yaml
vendored
|
@ -24,6 +24,18 @@ jobs:
|
|||
- name: Run chart-testing (lint)
|
||||
run: ct lint --target-branch=main --check-version-increment=false
|
||||
|
||||
linter-artifacthub:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: artifacthub/ah
|
||||
options: --user root
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
|
||||
- name: Run ah lint
|
||||
working-directory: ./charts/
|
||||
run: ah lint
|
||||
|
||||
create-release:
|
||||
runs-on: ubuntu-latest
|
||||
needs: helm-tests
|
||||
|
|
12
.github/workflows/helm-test.yaml
vendored
12
.github/workflows/helm-test.yaml
vendored
|
@ -42,3 +42,15 @@ jobs:
|
|||
- name: Debug failure
|
||||
if: failure()
|
||||
uses: ./.github/actions/kyverno-logs
|
||||
|
||||
linter-artifacthub:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: artifacthub/ah
|
||||
options: --user root
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0
|
||||
- name: Run ah lint
|
||||
working-directory: ./charts/
|
||||
run: ah lint
|
||||
|
|
Loading…
Reference in a new issue