jupyterhub / grafana-dashboards

Grafana Dashboards useful for k8s + JupyterHub
https://jupyterhub-grafana.readthedocs.io
BSD 3-Clause "New" or "Revised" License
55 stars 23 forks source link

Fail loudly if `GRAFANA_TOKEN` or `jsonnet` isn't available #124

Closed consideRatio closed 6 months ago

consideRatio commented 6 months ago

The deploy.py script doesn't work if either GRAFANA_TOKEN isn't set, or if jsonnet isn't available on path. This PR makes the failure verbose instead of showing up as an error harder to read later.

It doesn't fail if go-jsonnet isn't detected, but warns - because maybe it works at some time in the future with the non-golang based version of jsonnet for example.

Related