ci: test against values.schema.json
@@ -102,6 +102,17 @@ jobs:
(cd helm-chart && chartpress)
git --no-pager diff --color=always
+ - name: Generate values.schema.json from schema.yaml
+ if: matrix.test == 'helm'
+ run: |
+ tools/generate-json-schema.py
+
+ - name: "Helm template --validate (with lint-and-validate-values.yaml)"
+ if: matrix.test == 'helm'
+ run: |
+ helm template --validate binderhub-test helm-chart/binderhub \
+ --values tools/templates/lint-and-validate-values.yaml
+
- name: Validate the chart against the k8s API
if: matrix.test == 'helm'
run: |
