Skip to content

Allow overriding GITALY_SERVER_VERSION in the env

Toon Claes requested to merge toon-gitaly-version into master

What does this MR do and why?

The version of Gitaly is specified in the GITALY_SERVER_VERSION file in the root of this project. For testing purposes it might be useful if this can be easily overridden.

This change will read $GITALY_SERVER_VERSION from the environment, and if it's set it ignores the file but uses the version specified in the environment variable.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports