From 56a84b7685215c0e44b141369dc372fad03aa4e5 Mon Sep 17 00:00:00 2001
From: Clemens Beck <cbeck@gitlab.com>
Date: Fri, 22 Nov 2024 13:57:09 +0100
Subject: [PATCH] Clarify deprecation for Red Hat Enterprise Linux 7

In https://gitlab.com/gitlab-org/gitlab/-/merge_requests/169713+ we
have deprecated Omnibus builds for RHEL 7 compatible operating systems.

We have never explicitly listed RHEL 7 as a supported operating
system, but should include it in the deprecations to avoid confusion.

https://docs.gitlab.com/ee/administration/package_information/supported_os.html#red-hat-enterprise-linux
---
 data/deprecations/17-8-deprecate-rhel-7.yml | 12 ++++++++++++
 doc/update/deprecations.md                  | 19 +++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 data/deprecations/17-8-deprecate-rhel-7.yml

diff --git a/data/deprecations/17-8-deprecate-rhel-7.yml b/data/deprecations/17-8-deprecate-rhel-7.yml
new file mode 100644
index 0000000000000..1ae7f10c15b98
--- /dev/null
+++ b/data/deprecations/17-8-deprecate-rhel-7.yml
@@ -0,0 +1,12 @@
+- title: "Support for Red Hat Enterprise Linux 7"  # (required) Clearly explain the change, or planned change. For example, "The `confidential` field for a `Note` is deprecated" or "CI/CD job names will be limited to 250 characters."
+  announcement_milestone: "17.6"  # (required) The milestone when this feature was first announced as deprecated.
+  removal_milestone: "17.8"  # (required) The milestone when this feature is planned to be removed
+  breaking_change: false  # (required) Change to false if this is not a breaking change.
+  reporter: clemensbeck  # (required) GitLab username of the person reporting the change
+  stage: systems  # (required) String value of the stage that the feature was created in. e.g., Growth
+  issue_url: https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8714
+  body: |  # (required) Do not modify this line, instead modify the lines below.
+    Red Hat Enterprise Linux (RHEL) 7 reached [end of maintenance support in June 2024](https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux/rhel-7-end-of-maintenance).
+
+    Therefore, we will longer publish Linux packages for RHEL 7 and RHEL 7 compatible operating systems.
+    Users should upgrade to RHEL 8 for continued support.
diff --git a/doc/update/deprecations.md b/doc/update/deprecations.md
index 4a171efa49a92..6e8ce973f641a 100644
--- a/doc/update/deprecations.md
+++ b/doc/update/deprecations.md
@@ -1311,6 +1311,25 @@ PiOS Bullseye for continued support.
 
 <div class="deprecation " data-milestone="17.8">
 
+### Support for Red Hat Enterprise Linux 7
+
+<div class="deprecation-notes">
+
+- Announced in GitLab <span class="milestone">17.6</span>
+- Removal in GitLab <span class="milestone">17.8</span>
+- To discuss this change or learn more, see the [deprecation issue](https://gitlab.com/gitlab-org/omnibus-gitlab/-/issues/8714).
+
+</div>
+
+Red Hat Enterprise Linux (RHEL) 7 reached [end of maintenance support in June 2024](https://www.redhat.com/en/technologies/linux-platforms/enterprise-linux/rhel-7-end-of-maintenance).
+
+Therefore, we will longer publish Linux packages for RHEL 7 and RHEL 7 compatible operating systems.
+Users should upgrade to RHEL 8 for continued support.
+
+</div>
+
+<div class="deprecation " data-milestone="17.8">
+
 ### Support for Scientific Linux 7
 
 <div class="deprecation-notes">
-- 
GitLab