Make validate-schema CLI command work vs. disk (#36863)
* Make validate-schema CLI command work vs. disk Previously, `grafana-cli cue validate-schema` would only validate the CUE files that had been included at compile time. Now, the command requires passing a grafana checkout root path, and will actually check against live files on disk. * Exempt validateScuemata from sec linter * Nit: validateScuemata is a simpler, better name * Try to fix validate-scuemata build step
This commit is contained in:
+1
-1
@@ -1076,6 +1076,6 @@ def validate_scuemata():
|
||||
'build-backend',
|
||||
],
|
||||
'commands': [
|
||||
'./bin/linux-amd64/grafana-cli cue validate-schema',
|
||||
'./bin/linux-amd64/grafana-cli cue validate-schema --grafana-root .',
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user