Add version to controller info response

This change adds the GARM server version to the controller info response.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
Gabriel Adrian Samfira 2024-07-05 11:40:22 +00:00
parent dcee09281b
commit 42ae3c52d1
10 changed files with 43 additions and 16 deletions

View file

@ -594,6 +594,8 @@ type ControllerInfo struct {
// runners to pick up the job before GARM attempts to allocate a new runner, thus avoiding
// the need to potentially scale down runners later.
MinimumJobAgeBackoff uint `json:"minimum_job_age_backoff"`
// Version is the version of the GARM controller.
Version string `json:"version"`
}
type GithubCredentials struct {