Skip to content

Version information in Panel #97

@Orciument

Description

@Orciument

We should display the version and other metadata for the panel, bot, and database, if available.

This should make it easier to differentiate between version without needing to open the docker-compose file.
And finding issues with misstagged images.

The following Data should be displayed for the Panel and the Bot:

  • Git Commit Sha, at the active branch at time of build
  • Docker Image Tag
  • Date+Timestamp when Image was created (ISO 8601 Datetime, but usually with the minutes and seconds always being set to 0, to improve docker layer caching a bit)
  • runtime platform. Normally set to DOCKER, if it is unset, then we know it isn't Docker (likely just a jar)

All this information is already being backed into the panel and bot images.

The Panel needs a page/section to display this information.

The Backend needs an endpoint to serve its version information.

It also needs to gather the version information from the database.
That is possible with SELECT VERSION()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions