grafana/pkg/cmd/grafana-cli
sam boyer 0fe200ce41
Do codegen and check no-diff of all (non-blacklisted) CUE->TS codegen during CI (#39922)
* Add file blacklist to `grafana-cli cue gen-ts` cmd

* Add CI step checking all cuetsification is done

* Add dummy command to make the next one fail

* Generate drone bits

* Check diff output failure

* Echo list of untracked files, for failure locality

* Move git cleanness checking into script

* Blacklist of cue files is complete and correct

* Remove news panel plugin from cuetsify blacklist

* Dummy commit, check that untracked gen still fail

* Tie off remaining errors

* Re-add barchart to blacklist
* Remove file left around by earlier pipeline
* Commit generated news models.gen.ts

* Include eslint as part of cuetsified output gen

* Update pkg/cmd/grafana-cli/commands/cuetsify_command.go

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

* Update scripts/drone/steps/lib.star

Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com>

* Update drone.yml

* Last fix on .drone.yml

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Maria Alexandra <239999+axelavargas@users.noreply.github.com>
2021-10-08 08:47:55 -04:00
..
commands Do codegen and check no-diff of all (non-blacklisted) CUE->TS codegen during CI (#39922) 2021-10-08 08:47:55 -04:00
logger Plugins: Move plugin installing + uninstalling logic from CLI to plugins package (#33274) 2021-04-26 16:13:40 +02:00
models use sha256 checksum instead of md5 (#30018) 2021-01-04 13:27:47 +01:00
services Plugins: Move plugin installing + uninstalling logic from CLI to plugins package (#33274) 2021-04-26 16:13:40 +02:00
utils Plugins: Move plugin installing + uninstalling logic from CLI to plugins package (#33274) 2021-04-26 16:13:40 +02:00
main.go move main.go logic out of commands (#38555) 2021-08-26 15:42:22 +02:00