sam boyer
e61bc33163
Move dashboard scuemata to grafana-schema ( #38470 )
...
* Relocate dashboard scuemata to grafana-schema
* Update assorted tests, vars with dashboard path
* Remove crufty commented var
* Not sure...why that failed
* Remove prefix from base dashboard path var
* Move cue/ui remnants into grafana-schema
* Update import paths in plugin models
* Remove mudball, add package statements
* Remove cuegen.sh
Wooooo we ain't got no codegen
* Revert "Remove mudball, add package statements"
This reverts commit 9bed3098f1 .
* Tidy up all the cue files
* Move dashboard scuemata into scuemata/ subdir
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-08-25 06:55:04 -04:00
Dimitris Sotirakis
4c8ce8a450
Scuemata: Checking json validity by enabling skipped tests ( #34385 )
...
* Make sure we don't skip any tests - refactoring
* Remove commented lines
* Move test folder
2021-06-04 08:18:03 +02:00
Dimitris Sotirakis
bfcf82f861
Scuemata: Add grafana-cli command to validate resources against scuemata ( #33852 )
...
* Add validate-resource cli command
* Fixes according to reviewer's comments
2021-05-18 10:30:13 +03:00
Dimitris Sotirakis
b9eab37149
Scuemata: Add MergeFS implementation to enable iteration for multiple filesystems ( #33989 )
...
* Add MergeFS implementation to enable iteration to multiple filesystems
* Fix linting
* Fix misplaced close file
* Move mergefs functionality into tests
* Fix linting
* Add mergefs test
* Dummy commit - remove
* Test fixes - renaming
* Fix ReadDir
# Keeps first filesystem's overridden file
* Fixes according to reviewer's comments
* Remove dummy test
* Remove walkdir
* Small test refactoring
2021-05-18 09:22:31 +03:00
Dimitris Sotirakis
ff262ed3fb
Scuemata: Simplify grafana-cli cue validation tests ( #33913 )
...
* Simplify tests
* Make PanelFieldConfig optional in missing panel scenario
2021-05-11 15:11:17 +03:00
Dimitris Sotirakis
47af158ddb
Scuemata: Add grafana-cli command to validate basic scuemata ( #33523 )
...
* Add grafana-cli command to validate basic scuemata
* Fix c/p outdated message
* Fix linting - naming
* Add basic testing
* Add cue schema validation
* Add tests
* Fix linting errors
* Remove code - refactored tests
* Remove unnecessary files - leftovers
* Fix linting
* Try adding public folder in testdata
2021-05-06 18:21:08 +02:00
Arve Knudsen
62485898e4
grafana-cli: Fix security issue ( #28888 )
...
* grafana-cli: Fix security issue
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
* grafana-cli: Add and improve tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com >
2021-01-15 17:50:50 +01:00
Andrej Ocenas
8c49d27705
CLI: Allow installing custom binary plugins ( #17551 )
...
Make sure all data is sent to API to be able to select correct archive version.
2019-07-29 10:44:58 +02:00
Daniel Lee
56c965e5df
cli: chmod 755 for backend plugin binaries
...
Fixes #15500 . Does a simple filename check if the binary names ends
with _linux_amd64 or _darwin_amd64 then sets the file mode to 755.
2019-02-18 15:05:34 +01:00