From 589d2bff2c86e01019d4a12462d5f0c30f8c64b9 Mon Sep 17 00:00:00 2001 From: Clemens Beck Date: Thu, 18 Apr 2024 09:37:20 +0200 Subject: [PATCH 1/2] Require upgrade stop at 16.11/chart 7.11 GitLab 16.11/chart 8.11 is an required upgrade stop for 17.0/8.0. https://docs.gitlab.com/ee/update/#upgrade-paths Changelog: changed --- doc/releases/8_0.md | 18 ++++++++++++++++++ templates/_runcheck.tpl | 6 +++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 doc/releases/8_0.md diff --git a/doc/releases/8_0.md b/doc/releases/8_0.md new file mode 100644 index 0000000000..8de62cabbd --- /dev/null +++ b/doc/releases/8_0.md @@ -0,0 +1,18 @@ +--- +stage: Enablement +group: Distribution +info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#designated-technical-writers +--- + +# GitLab Cloud Native Chart 8.0 + +Along with the `17.0` release of GitLab, we have bumped the chart version to `8.0`. + +## Summary of major changes + +- Support for PostgreSQL 13 has been removed. Make sure you are running PostgreSQL 14 or newer before upgrading. + +## Upgrade path from 6.x + +In order to upgrade to the `8.0` version of the chart, you first need to upgrade to the latest `7.11.x` +release of the chart. Check the [version mapping details](../installation/version_mappings.md) for the latest patch. diff --git a/templates/_runcheck.tpl b/templates/_runcheck.tpl index 66437ea46b..b1270f645f 100644 --- a/templates/_runcheck.tpl +++ b/templates/_runcheck.tpl @@ -35,8 +35,8 @@ if [ -d "${secrets_dir}" ]; then fi fi fi -MIN_VERSION=16.7 -CHART_MIN_VERSION=7.7 +MIN_VERSION=16.11 +CHART_MIN_VERSION=7.11 # Remove 'v' prefix from GitLab version if present (set in Chart.yaml appVersions) GITLAB_VERSION=${GITLAB_VERSION#v} @@ -78,7 +78,7 @@ if ( ! greater_version "$OLD_MINOR_VERSION" "$MIN_VERSION" ) || ( ! greater_vers notify "It is required to upgrade to the latest ${CHART_MIN_VERSION}.x version first before proceeding." # Link to upgrade docs if it is a major version jump if [ "${OLD_MAJOR_VERSION}" -lt "${NEW_MAJOR_VERSION}" ] || [ "${OLD_CHART_MAJOR_VERSION}" -lt "${NEW_CHART_MAJOR_VERSION}" ]; then - notify "Please follow the upgrade documentation at https://docs.gitlab.com/charts/releases/7_0.html" + notify "Please follow the upgrade documentation at https://docs.gitlab.com/charts/releases/8_0.html" notify "and upgrade to GitLab Helm Chart version ${CHART_MIN_VERSION}.x before upgrading to ${CHART_VERSION}." fi exit 1 -- GitLab From 61551dd918284f78b9d1855270ed7a3d43204617 Mon Sep 17 00:00:00 2001 From: Achilleas Pipinellis Date: Sun, 21 Apr 2024 11:35:22 +0000 Subject: [PATCH 2/2] Apply 1 suggestion(s) to 1 file(s) --- doc/releases/8_0.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/releases/8_0.md b/doc/releases/8_0.md index 8de62cabbd..db48d1ce96 100644 --- a/doc/releases/8_0.md +++ b/doc/releases/8_0.md @@ -14,5 +14,5 @@ Along with the `17.0` release of GitLab, we have bumped the chart version to `8. ## Upgrade path from 6.x -In order to upgrade to the `8.0` version of the chart, you first need to upgrade to the latest `7.11.x` +To upgrade to the `8.0` version of the chart, you first need to upgrade to the latest `7.11.x` release of the chart. Check the [version mapping details](../installation/version_mappings.md) for the latest patch. -- GitLab