-
Notifications
You must be signed in to change notification settings - Fork 763
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adding helm lint ci test (#3536)
Signed-off-by: Jaydip Gabani <[email protected]>
- Loading branch information
1 parent
5de3edb
commit b4d2d2c
Showing
1 changed file
with
33 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: check-helm-lint | ||
on: | ||
push: | ||
paths: | ||
- "cmd/build/helmify/static/**" | ||
- "manifest_staging/**" | ||
pull_request: | ||
paths: | ||
- "cmd/build/helmify/static/**" | ||
- "manifest_staging/**" | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
helm_lint_test: | ||
name: "Helm lint" | ||
runs-on: ubuntu-22.04 | ||
timeout-minutes: 15 | ||
|
||
steps: | ||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | ||
|
||
- name: Set up Helm | ||
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0 | ||
with: | ||
version: "3.14.1" | ||
id: install | ||
|
||
- name: Lint Helm charts | ||
run: | | ||
helm lint manifest_staging/charts/gatekeeper/ | ||
helm lint cmd/build/helmify/static/ |