Skip to content

Commit 348c2f0

Browse files
authored
chore!: Remove support for RHEL 7 based distributions (#732)
1 parent d51bbda commit 348c2f0

File tree

32 files changed

+205
-657
lines changed

32 files changed

+205
-657
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11
# Changelog
22

3+
## 0.25.0 (Unreleased)
4+
5+
BREAKING CHANGES:
6+
7+
- Remove support for RHEL 7 based distributions (RHEL/CentOS/Oracle Linux 7). CentOS 7 has reached EoL, RHEL 7 has reached EoM, and Oracle Linux 7 will reach EoL shortly. These distributions will not be supported by new NGINX releases moving forward. If you are still using one of these distributions, please consider upgrading. If you still want to use this role for the time being, please use the previous release (0.24.3). Do note that you will only be able to use NGINX versions released as of the date of the aforementioned release (July 11, 2024).
8+
39
## 0.24.3 (July 11, 2024)
410

511
DEPRECATION WARNINGS:
612

7-
- This is the last release that will support RHEL 7 based distributions. If you are using this role to install NGINX on RHEL/CentOS 7, do note that CentOS 7 has reached EoL and RHEL 7 has reached EoM and will not be supported by new NGINX releases moving forward.
13+
- This is the last release that will support RHEL 7 based distributions. If you are using this role to install NGINX on RHEL/CentOS/Oracle Linux 7, do note that CentOS 7 has reached EoL and RHEL 7 has reached EoM and will not be supported by new NGINX releases moving forward.
814
- The NGINX Agent capabilities in this role will be migrated to a separate role sometime in the near future.
915

1016
FEATURES:

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,13 @@ Alpine:
119119
Amazon Linux:
120120
- 2
121121
- 2023
122-
CentOS:
123-
- 7.4+
124122
Debian:
125123
- bullseye (11)
126124
- bookworm (12)
127125
Oracle Linux:
128-
- 7
129126
- 8
130127
- 9
131128
Red Hat:
132-
- 7.4+
133129
- 8
134130
- 9
135131
Rocky Linux:
@@ -159,8 +155,6 @@ Alpine:
159155
Amazon Linux:
160156
- 2
161157
- 2023
162-
CentOS:
163-
- 7.4+
164158
Debian:
165159
- bullseye (11)
166160
- bookworm (12)
@@ -169,11 +163,9 @@ FreeBSD:
169163
- 13
170164
- 14
171165
Oracle Linux:
172-
- 7.4+
173166
- 8.1+
174167
- 9
175168
Red Hat:
176-
- 7.4+
177169
- 8.1+
178170
- 9
179171
Rocky Linux:
@@ -205,17 +197,13 @@ Amazon Linux:
205197
Debian:
206198
- bullseye (11)
207199
- bookwork (12)
208-
CentOS:
209-
- 7.4+
210200
FreeBSD:
211201
- 13
212202
- 14
213203
Oracle Linux:
214-
- 7.4+
215204
- 8
216205
- 9
217206
Red Hat:
218-
- 7
219207
- 8
220208
- 9
221209
Rocky Linux:

defaults/main/main.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ nginx_manage_repo: true
4343
# Specify repository origin for NGINX Open Source.
4444
# Only works if 'nginx_type' is set to 'opensource'.
4545
# Options are 'nginx_repository', 'source' or 'os_repository'.
46-
# When using 'os_repository' on CentOS/RHEL 7 based systems, you will also need to install the EPEL repository (see the 'nginx_install_epel_release' variable below).
4746
# Default is nginx_repository.
4847
nginx_install_from: nginx_repository
4948

defaults/main/selinux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
# Set SELinux enforcing for NGINX (CentOS/Red Hat only) - you may need to open ports on your own
2+
# Set SELinux enforcing for NGINX (Red Hat only) - you may need to open ports on your own
33
nginx_selinux: false
44

55
# Enable enforcing mode if true. Permissive if false (audit only, no enforcing) globally (only works with nginx_selinux: true)

meta/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ galaxy_info:
1717
- name: Debian
1818
versions: [bullseye, bookworm]
1919
- name: EL
20-
versions: ['7', '8', '9']
20+
versions: ['8', '9']
2121
- name: FreeBSD
2222
versions: ['12.1', '12.2', '12.3', '12.4', '13.0', '13.1', '13.2', '14']
2323
- name: OracleLinux
24-
versions: ['7', '8', '9']
24+
versions: ['8', '9']
2525
- name: Ubuntu
2626
versions: [focal, jammy, lunar]
2727
- name: SLES

molecule/agent/cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
- name: Get list of NGINX One dangling instance IDs
2727
ansible.builtin.uri:
28-
url: https://{{ lookup('env', 'ONE_TENANT') }}.console.ves.volterra.io/api/nginx/one/namespaces/default/instances?paginated=false&filter_fields=hostname&filter_ops=IN&filter_values=almalinux-8|almalinux-9|alpine-3.16|alpine-3.17|alpine-3.18|alpine-3.19|amazonlinux-2|centos-7|debian-bullseye|debian-bookworm|oraclelinux-7|oraclelinux-8|oraclelinux-9|rhel-7|rhel-8|rhel-9|rockylinux-8|rockylinux-9|sles-15|ubuntu-focal|ubuntu-jammy
28+
url: https://{{ lookup('env', 'ONE_TENANT') }}.console.ves.volterra.io/api/nginx/one/namespaces/default/instances?paginated=false&filter_fields=hostname&filter_ops=IN&filter_values=almalinux-8|almalinux-9|alpine-3.16|alpine-3.17|alpine-3.18|alpine-3.19|amazonlinux-2|debian-bullseye|debian-bookworm|oraclelinux-8|oraclelinux-9|rhel-8|rhel-9|rockylinux-8|rockylinux-9|sles-15|ubuntu-focal|ubuntu-jammy
2929
method: GET
3030
headers:
3131
Authorization: APIToken {{ lookup('env', 'ONE_API_TOKEN') }}

molecule/agent/molecule.yml

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,6 @@ platforms:
6969
volumes:
7070
- /sys/fs/cgroup:/sys/fs/cgroup:rw
7171
command: /usr/sbin/init
72-
- name: centos-7
73-
image: centos:7
74-
platform: x86_64
75-
dockerfile: ../common/Dockerfile.j2
76-
privileged: true
77-
cgroupns_mode: host
78-
volumes:
79-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
80-
command: /usr/sbin/init
8172
- name: debian-bullseye
8273
image: debian:bullseye-slim
8374
dockerfile: ../common/Dockerfile.j2
@@ -94,15 +85,6 @@ platforms:
9485
volumes:
9586
- /sys/fs/cgroup:/sys/fs/cgroup:rw
9687
command: /sbin/init
97-
- name: oraclelinux-7
98-
image: oraclelinux:7
99-
platform: x86_64
100-
dockerfile: ../common/Dockerfile.j2
101-
privileged: true
102-
cgroupns_mode: host
103-
volumes:
104-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
105-
command: /usr/sbin/init
10688
- name: oraclelinux-8
10789
image: oraclelinux:8
10890
dockerfile: ../common/Dockerfile.j2
@@ -119,15 +101,6 @@ platforms:
119101
volumes:
120102
- /sys/fs/cgroup:/sys/fs/cgroup:rw
121103
command: /usr/sbin/init
122-
- name: rhel-7
123-
image: registry.access.redhat.com/ubi7:7.9
124-
platform: x86_64
125-
dockerfile: ../common/Dockerfile.j2
126-
privileged: true
127-
cgroupns_mode: host
128-
volumes:
129-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
130-
command: /usr/sbin/init
131104
- name: rhel-8
132105
image: redhat/ubi8:8.9
133106
# platform: s390x

molecule/common/Dockerfile.j2

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ RUN \
2525
&& dnf clean all; \
2626
elif [ $(command -v yum) ]; then \
2727
yum makecache fast \
28-
&& yum install -y bash iproute initscripts sudo /usr/bin/python /usr/bin/python2-config vim yum-plugin-ovl \
29-
&& yum install -y http://mirror.centos.org/centos/7/os/x86_64/Packages/yum-plugin-copr-1.1.31-54.el7_8.noarch.rpm http://mirror.centos.org/centos/7/os/x86_64/Packages/libseccomp-2.3.1-4.el7.x86_64.rpm \
28+
&& yum install -y bash iproute initscripts sudo /usr/bin/python /usr/bin/python2-config vim yum-plugin-copr yum-plugin-ovl \
3029
&& yum copr enable -y jsynacek/systemd-backports-for-centos-7 \
3130
&& yum update --disableplugin=priorities -y systemd \
3231
&& sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf \

0 commit comments

Comments
 (0)