forked from fluxcd/flux-get-started
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
31 lines (30 loc) · 769 Bytes
/
config.yml
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
31
version: 2.1
jobs:
validate-yamls:
docker:
- image: stefanprodan/hrval:v2.9.0
steps:
- checkout
- run:
name: Validate workloads
environment:
KUBE_VER: "1.16.0"
command: |
kubeval --strict --ignore-missing-schemas --kubernetes-version ${KUBE_VER} -d namespaces,workloads,releases
- run:
name: Validate releases
environment:
IGNORE_VALUES: "false"
KUBE_VER: "1.16.0"
HELM_VER: "v2"
command: |
hrval releases/ $IGNORE_VALUES $KUBE_VER $HELM_VER
workflows:
version: 2
validate:
jobs:
- validate-yamls:
filters:
branches:
ignore:
- gh-pages