Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Apr 13, 2024

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Apr 13, 2024

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

@consideRatio consideRatio changed the title Fail if GRAFANA_TOKEN or jsonnet isn't available Fail loudly if GRAFANA_TOKEN or jsonnet isn't available Apr 13, 2024
@consideRatio consideRatio merged commit 9ca195d into jupyterhub:main Apr 13, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Let deploy.py fail verbosively if jsonnet - golang version - isn't on path
1 participant