Enforce upgrade stop at 16.11

Before upgrading to GitLab/Omnibus 17.0, one must upgrade to
the GitLab/Omnibus 16.11.

Upgrade path documentation:
  https://docs.gitlab.com/ee/update/#upgrade-paths

Relates https://gitlab.com/gitlab-org/gitlab/-/issues/440234

Changelog: changed
This commit is contained in:
Clemens Beck 2024-04-29 15:09:31 +02:00
parent d07c931112
commit 0c8e92a936
No known key found for this signature in database
GPG Key ID: 4EC101F2BFCCFEFA
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ fi
upgrade_check() {
# Minimum version from which jumps are permitted to current version.
# Follows https://docs.gitlab.com/ee/update/index.html#upgrade-paths
MIN_VERSION=16.7
MIN_VERSION=16.11
if [ -n "${OLD_VERSION_STRING}" ] ; then
# Checking

View File

@ -16,7 +16,7 @@ module GitlabCtl
end
def min_version
ENV['MIN_VERSION'] || '16.7'.freeze
ENV['MIN_VERSION'] || '16.11'.freeze
end
end
end