grafana / mimir

Grafana Mimir provides horizontally scalable, highly available, multi-tenant, long-term storage for Prometheus.
https://grafana.com/oss/mimir/
GNU Affero General Public License v3.0
4.18k stars 537 forks source link

Inject test license into ct install test of GEM #2689

Open krajorama opened 2 years ago

krajorama commented 2 years ago

Is your feature request related to a problem? Please describe.

Currently we install GEM without license in CI: there are many logs saying:

level=warn ts=2022-08-02T07:40:01.681249292Z caller=manager.go:169 msg="unable to load local license" error="error parsing license token: square/go-jose: compact JWS format must have three parts"

This means that we cannot test some features of GEM even if we wanted to.

Describe the solution you'd like

Describe alternatives you've considered

N/A

Additional context

N/A

mattmendick commented 2 years ago

If we want to test something that requires a license, will need to do this, but closing for now because it doesn't provide much value on its own.

dimitarvdimitrov commented 2 years ago

we currently don't test the graphite components in GEM because they require a license. I think it's good to test those, but doesn't block anything. Should I create an issue for testing graphite?

dimitarvdimitrov commented 1 year ago

apparently graphite web was broken in the helm chart since September (see https://github.com/grafana/mimir/pull/5061). I am reopening this and will try to get a license so we can at least some-test the admin API and graphite.