grafana/pkg/schema
Dimitris Sotirakis 2e0dc835cf
Scuemata: Add test to validate devenv resources (#35810)
* Add test for devenv resources

* Refactor validation tests for grokkability

* Devenv dashboards error-tracking script

* Refactor to use cueerrors.Details()

* Further test refinement

* Close major elements of dashboard schema

* Centralize dashboard validation tests

General dashboard validation testing belongs in the load package.

* Better names for error context on glue CUE code

* Fixup validate-resource

Do only one of base or dist, and fix copied docs.

* Skip the devenv test

* Remove test for validateResources

* Fix shellcheck

* Backend linter

Co-authored-by: sam boyer <sdboyer@grafana.com>
2021-07-15 20:08:03 -04:00
..
load Scuemata: Add test to validate devenv resources (#35810) 2021-07-15 20:08:03 -04:00
testdata/trimapplydefaults refactory to move trim/apply default into schema.go (#33754) 2021-05-12 15:38:00 +08:00
schema_test.go refactory to move trim/apply default into schema.go (#33754) 2021-05-12 15:38:00 +08:00
schema.go Scuemata: Add test to validate devenv resources (#35810) 2021-07-15 20:08:03 -04:00