Skip to content

chore!: Remove support for RHEL 7 based distributions #732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# Changelog

## 0.25.0 (Unreleased)

BREAKING CHANGES:

- 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).

## 0.24.3 (July 11, 2024)

DEPRECATION WARNINGS:

- 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.
- 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.
- The NGINX Agent capabilities in this role will be migrated to a separate role sometime in the near future.

FEATURES:
Expand Down
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,13 @@ Alpine:
Amazon Linux:
- 2
- 2023
CentOS:
- 7.4+
Debian:
- bullseye (11)
- bookworm (12)
Oracle Linux:
- 7
- 8
- 9
Red Hat:
- 7.4+
- 8
- 9
Rocky Linux:
Expand Down Expand Up @@ -159,8 +155,6 @@ Alpine:
Amazon Linux:
- 2
- 2023
CentOS:
- 7.4+
Debian:
- bullseye (11)
- bookworm (12)
Expand All @@ -169,11 +163,9 @@ FreeBSD:
- 13
- 14
Oracle Linux:
- 7.4+
- 8.1+
- 9
Red Hat:
- 7.4+
- 8.1+
- 9
Rocky Linux:
Expand Down Expand Up @@ -205,17 +197,13 @@ Amazon Linux:
Debian:
- bullseye (11)
- bookwork (12)
CentOS:
- 7.4+
FreeBSD:
- 13
- 14
Oracle Linux:
- 7.4+
- 8
- 9
Red Hat:
- 7
- 8
- 9
Rocky Linux:
Expand Down
1 change: 0 additions & 1 deletion defaults/main/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ nginx_manage_repo: true
# Specify repository origin for NGINX Open Source.
# Only works if 'nginx_type' is set to 'opensource'.
# Options are 'nginx_repository', 'source' or 'os_repository'.
# 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).
# Default is nginx_repository.
nginx_install_from: nginx_repository

Expand Down
2 changes: 1 addition & 1 deletion defaults/main/selinux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# Set SELinux enforcing for NGINX (CentOS/Red Hat only) - you may need to open ports on your own
# Set SELinux enforcing for NGINX (Red Hat only) - you may need to open ports on your own
nginx_selinux: false

# Enable enforcing mode if true. Permissive if false (audit only, no enforcing) globally (only works with nginx_selinux: true)
Expand Down
4 changes: 2 additions & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ galaxy_info:
- name: Debian
versions: [bullseye, bookworm]
- name: EL
versions: ['7', '8', '9']
versions: ['8', '9']
- name: FreeBSD
versions: ['12.1', '12.2', '12.3', '12.4', '13.0', '13.1', '13.2', '14']
- name: OracleLinux
versions: ['7', '8', '9']
versions: ['8', '9']
- name: Ubuntu
versions: [focal, jammy, lunar]
- name: SLES
Expand Down
2 changes: 1 addition & 1 deletion molecule/agent/cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

- name: Get list of NGINX One dangling instance IDs
ansible.builtin.uri:
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
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
method: GET
headers:
Authorization: APIToken {{ lookup('env', 'ONE_API_TOKEN') }}
Expand Down
27 changes: 0 additions & 27 deletions molecule/agent/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,6 @@ platforms:
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /usr/sbin/init
- name: centos-7
image: centos:7
platform: x86_64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /usr/sbin/init
- name: debian-bullseye
image: debian:bullseye-slim
dockerfile: ../common/Dockerfile.j2
Expand All @@ -94,15 +85,6 @@ platforms:
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /sbin/init
- name: oraclelinux-7
image: oraclelinux:7
platform: x86_64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /usr/sbin/init
- name: oraclelinux-8
image: oraclelinux:8
dockerfile: ../common/Dockerfile.j2
Expand All @@ -119,15 +101,6 @@ platforms:
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /usr/sbin/init
- name: rhel-7
image: registry.access.redhat.com/ubi7:7.9
platform: x86_64
dockerfile: ../common/Dockerfile.j2
privileged: true
cgroupns_mode: host
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
command: /usr/sbin/init
- name: rhel-8
image: redhat/ubi8:8.9
# platform: s390x
Expand Down
3 changes: 1 addition & 2 deletions molecule/common/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ RUN \
&& dnf clean all; \
elif [ $(command -v yum) ]; then \
yum makecache fast \
&& yum install -y bash iproute initscripts sudo /usr/bin/python /usr/bin/python2-config vim yum-plugin-ovl \
&& 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 \
&& yum install -y bash iproute initscripts sudo /usr/bin/python /usr/bin/python2-config vim yum-plugin-copr yum-plugin-ovl \
&& yum copr enable -y jsynacek/systemd-backports-for-centos-7 \
&& yum update --disableplugin=priorities -y systemd \
&& sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf \
Expand Down
Loading
Loading