grafana/scripts/ci
Mariell Hoversholm 076456d80e
fix: never include enterprise imports (#124044)
* fix: never include enterprise imports

The imports only need to exist for tooling's sake. It doesn't actually help the binary at all: the code that actually needs it will import it already, and thus bring it into the binary. This means we can persist all the import usage locations' build tags and similar by simply never using the actual imports files in OSS.

* fix: include Grafana imports as well

In some cases, Grafana Enterprise depends on code from apps in Grafana.
This means we need to keep imports from Grafana as well, otherwise go.mod will be inconsistent depending on whether you
have Enterprise linked.
2026-05-04 14:54:38 +02:00
..
backend-tests Fix pkgs-with-tests-named.sh matching tests from subdirectories (#119501) 2026-03-04 16:18:17 +01:00
generate-enterprise-imports fix: never include enterprise imports (#124044) 2026-05-04 14:54:38 +02:00