Skip to content

Commit

Permalink
Merge pull request #44 from premiscale/kubelinter-path
Browse files Browse the repository at this point in the history
Update kubelinter.yml
  • Loading branch information
emmeowzing authored May 19, 2024
2 parents 25ae0a0 + a834008 commit 9e6b327
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions src/jobs/helm/test/kubelinter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: |+
Run kubelinter against all Helm charts in a project.
Run kubelinter against Helm charts in a project.
executor: << parameters.executor >>
resource_class: << parameters.resource-class >>
parameters:
Expand Down Expand Up @@ -27,6 +27,10 @@ parameters:
description: Executor image to run as.
default: default
type: executor
path:
description: Path under which kubelinter should look for Helm charts.
default: .
type: string
steps:
- checkout
- run:
Expand All @@ -40,14 +44,14 @@ steps:
steps:
- run:
name: kubelinter
description: Run kubelinter against all charts in a repository.
description: Run kubelinter
command: |+
kubelinter lint . --exclude << parameters.exclude >>
kubelinter lint << parameters.path >> --exclude << parameters.exclude >>
- unless:
condition: << parameters.exclude >>
steps:
- run:
name: kubelinter
description: Run kubelinter against all charts in a repository.
description: Run kubelinter
command: |+
kubelinter lint .
kubelinter lint << parameters.path >>

0 comments on commit 9e6b327

Please sign in to comment.