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

Expose WAS version #63

Merged
merged 4 commits into from
Jan 10, 2024
Merged

Expose WAS version #63

merged 4 commits into from
Jan 10, 2024

Conversation

stintel
Copy link
Collaborator

@stintel stintel commented Jan 10, 2024

Expose WAS version generated with git describe in container as environment variable.
Access environment variable with pydantic_settings.
Use version in FastAPI metadata.
Expose version on GET /api/info.

@stintel stintel force-pushed the feature/was_version branch 2 times, most recently from 719893a to ba6b853 Compare January 10, 2024 15:36
Expose WAS_VERSION on /api/info so we can show the version in the UI.

Closes: #50
@kristiankielhofner kristiankielhofner merged commit 77bcf14 into main Jan 10, 2024
3 checks passed
@kristiankielhofner kristiankielhofner deleted the feature/was_version branch January 10, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants