-
Notifications
You must be signed in to change notification settings - Fork 7
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
Display the version number somewhere #2289
Comments
My notes from last year: First tried using react-git-info but because the .git folder is at the top level it isn't available in the Docker image for the UI build. What can I do about that? I need to run the git command in the Dockerfile, but make sure it works in both k8s and docker-compose. And I need it to also work for local dev where you might not be using docker. Hmm, seems unlikely. Can do as an arg to the Dockerfile but would then require people to use Docker for all dev, including running unit tests. |
Is your feature request related to a problem? Please describe.
A few hours of debugging recently could have been prevented if it'd been obvious that a Kubernetes configuration change to deploy a new version of g.h hadn't stuck and the old version was still live in production.
Describe the solution you'd like
The version number should be shown on the UI. Ideally this would be the commit sha in dev, and the git tag in prod.
Describe alternatives you've considered
Spending hours debugging.
The text was updated successfully, but these errors were encountered: