-
Notifications
You must be signed in to change notification settings - Fork 5
/
.pre-commit-hooks.yaml
30 lines (30 loc) · 1.47 KB
/
.pre-commit-hooks.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
- id: helm-deps
name: Helm Dependency Update
entry: bash -c 'find . -name Chart.yaml | xargs -I% bash -c "dirname %" | xargs -t -I% helm dep up %'
language: system
pass_filenames: false
- id: helm-deps-build
name: Helm Dependency Build
entry: bash -c 'find . -name Chart.yaml | xargs -I% bash -c "dirname %" | xargs -t -I% helm dep build %'
language: system
pass_filenames: false
- id: helm-lint
name: Helm Lint
entry: bash -c 'find . -name Chart.yaml | xargs -I% bash -c "dirname %" | xargs -t -I% helm lint %'
language: system
pass_filenames: false
- id: kubepug-minimum
name: KubePug - k8s v1.15 minimum
entry: bash -c 'find . -name Chart.yaml | xargs -I% bash -c "dirname %" | xargs -t -I% bash -c "helm template % --kube-version 1.15 | kubepug --error-on-deprecated --error-on-deleted --k8s-version v1.15.0 --input-file=-"'
language: system
pass_filenames: false
- id: kubepug-recommended
name: KubePug - k8s v1.21 recommended
entry: bash -c 'find . -name Chart.yaml | xargs -I% bash -c "dirname %" | xargs -t -I% bash -c "helm template % --kube-version 1.21 | kubepug --error-on-deprecated --error-on-deleted --k8s-version v1.21.0 --input-file=-"'
language: system
pass_filenames: false
- id: kubepug-latest
name: KubePug - k8s latest
entry: bash -c 'find . -name Chart.yaml | xargs -I% bash -c "dirname %" | xargs -t -I% bash -c "helm template % | kubepug --error-on-deprecated --error-on-deleted --input-file=-"'
language: system
pass_filenames: false