Don't use Gem::Version for comparing gitlab version
Problem
We should not use Gem::Version
for verifying the GitLab version. This may only work incidentally; this was built for Ruby gems, not GitLab releases. We don't know how this might change in the future or what peculiarities it might apply internally that are specific to Ruby gems.
Proposal
We have ReleaseTools::Version specific class to do that
This is a prerequisite, so we can introduce support for checking the minimum GitLab version for Cloud Connector services: https://gitlab.com/gitlab-org/customers-gitlab-com/-/merge_requests/9087
We should Add Gitlab Version from release_tools and replace the usage of Gem::Version
and use Gitlab::Version
.
Result
Next steps (if any)
How will we measure success?
Edited by Nikola Milojevic