Skip to content

Commit

Permalink
moving helm lint to seperate workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Jaydip Gabani <gabanijaydip@gmail.com>
  • Loading branch information
JaydipGabani committed Sep 9, 2024
1 parent 5527126 commit ee9a75a
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 19 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/helm-lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: check-manifest
on:
push:
paths:
- "cmd/**"
- "manifest_staging/**"
pull_request:
paths:
- "cmd/**"
- "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"
if: install

- name: Lint Helm charts
run: |
helm lint manifest_staging/charts/gatekeeper/
helm lint cmd/build/helmify/static/
19 changes: 0 additions & 19 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,22 +213,3 @@ jobs:
name: generatorexpansion-logs
path: |
logs-*.json
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"
if: install

- name: Lint Helm charts
run: |
helm lint manifest_staging/charts/gatekeeper/

0 comments on commit ee9a75a

Please sign in to comment.