-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (39 loc) · 1.37 KB
/
zz_generated.json_schema_validation.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# DO NOT EDIT. Generated with:
#
#
# This workflow validates the JSON schema of the cluster-app, which is located in
# `helm/*/values.schema.json`, using schemalint. It also ensures that the `values.yaml`
# file located in `helm/*/values.yaml` is generated with helm-values-gen, using the
# defaults defined in the JSON schema.
name: JSON schema validation
on:
pull_request:
branches:
- master
- main
paths:
- 'helm/**/values.yaml'
- 'helm/**/values.schema.json'
push: {}
jobs:
validate:
name: Verify values.schema.json with schemalint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Run schemalint
id: run-schemalint
uses: giantswarm/schemalint/actions/verify-helm-schema@79be66ce4ed5c6154615f68e9b97ab3110b62968 # v2.5.1
with:
rule-set: 'cluster-app'
generate:
name: Check that values.yaml is generated from values.schema.json with helm-values-gen
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Run helm-values-gen
id: run-helm-values-gen
uses: giantswarm/helm-values-gen/actions/ensure-generated@bb33e5f342b2026c9ba36073a4f2fdc74495f8c4 # v1.0.3