Skip to content

Commit 4f7f0d0

Browse files
committed
feat!: Remove Alpine Linux 3.17 support for NGINX Open Source (#830)
1 parent c2292d1 commit 4f7f0d0

File tree

12 files changed

+27
-91
lines changed

12 files changed

+27
-91
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ BREAKING CHANGES:
77
- NGINX Plus requires a JWT license starting with R33. Make sure you include the path to the base64 encoded JWT license using the new `nginx_license['jwt']` parameter.
88
- 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).
99
- Remove support for installing NGINX Open Source and NGINX Plus on Alpine Linux 3.16.
10+
- Remove support for installing NGINX Open Source on Alpine Linux 3.17.
1011
- Remove support for installing NGINX Open Source on Ubuntu mantic.
1112
- No longer omit `allow_downgrade` module parameter when running Ansible versions lower than `2.12`.
1213

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,6 @@ AlmaLinux:
167167
- 8
168168
- 9
169169
Alpine:
170-
- 3.17
171170
- 3.18
172171
- 3.19
173172
- 3.20

molecule/agent/molecule.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ platforms:
1818
volumes:
1919
- /sys/fs/cgroup:/sys/fs/cgroup:rw
2020
command: /usr/sbin/init
21-
- name: alpine-3.17
22-
image: alpine:3.17
23-
dockerfile: ../common/Dockerfile.j2
24-
privileged: true
25-
cgroupns_mode: host
26-
volumes:
27-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
28-
command: /sbin/init
2921
- name: alpine-3.18
3022
image: alpine:3.18
3123
dockerfile: ../common/Dockerfile.j2

molecule/default/molecule.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ platforms:
1818
volumes:
1919
- /sys/fs/cgroup:/sys/fs/cgroup:rw
2020
command: /usr/sbin/init
21-
- name: alpine-3.17
22-
image: alpine:3.17
23-
dockerfile: ../common/Dockerfile.j2
24-
privileged: true
25-
cgroupns_mode: host
26-
volumes:
27-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
28-
command: /sbin/init
2921
- name: alpine-3.18
3022
image: alpine:3.18
3123
dockerfile: ../common/Dockerfile.j2

molecule/distribution/molecule.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ platforms:
1818
volumes:
1919
- /sys/fs/cgroup:/sys/fs/cgroup:rw
2020
command: /usr/sbin/init
21-
- name: alpine-3.17
22-
image: alpine:3.17
23-
dockerfile: ../common/Dockerfile.j2
24-
privileged: true
25-
cgroupns_mode: host
26-
volumes:
27-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
28-
command: /sbin/init
2921
- name: alpine-3.18
3022
image: alpine:3.18
3123
dockerfile: ../common/Dockerfile.j2

molecule/downgrade/converge.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44
pre_tasks:
55
- name: Set repo if Alpine
66
ansible.builtin.set_fact:
7-
version: =1.27.1-r1
7+
version: =1.27.2-r1
88
cacheable: true
99
when: ansible_facts['os_family'] == "Alpine"
1010
- name: Set repo if Debian
1111
ansible.builtin.set_fact:
12-
version: =1.27.1-1~{{ ansible_facts['distribution_release'] }}
12+
version: =1.27.2-1~{{ ansible_facts['distribution_release'] }}
1313
cacheable: true
1414
when: ansible_facts['os_family'] == "Debian"
1515
- name: Set repo if Red Hat
1616
ansible.builtin.set_fact:
17-
version: -1.27.1-1.{{ (ansible_facts['distribution'] == "Amazon") | ternary(('amzn' + ansible_facts['distribution_major_version'] | string), ('el' + ansible_facts['distribution_major_version'] | string)) }}.ngx
17+
version: -1.27.2-1.{{ (ansible_facts['distribution'] == "Amazon") | ternary(('amzn' + ansible_facts['distribution_major_version'] | string), ('el' + ansible_facts['distribution_major_version'] | string)) }}.ngx
1818
cacheable: true
1919
when: ansible_facts['os_family'] == "RedHat"
2020
- name: Set repo if SLES
2121
ansible.builtin.set_fact:
22-
version: =1.27.1-1.sles{{ ansible_facts['distribution_major_version'] }}.ngx
22+
version: =1.27.2-1.sles{{ ansible_facts['distribution_major_version'] }}.ngx
2323
cacheable: true
2424
when: ansible_facts['os_family'] == "Suse"
2525
tasks:

molecule/downgrade/molecule.yml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
driver:
33
name: docker
4-
platforms: # Ubuntu oracular only has one version of NGINX OSS available (at the moment) so it's impossible to test the downgrade scenario
4+
platforms:
55
- name: almalinux-8
66
image: almalinux:8
77
dockerfile: ../common/Dockerfile.j2
@@ -18,14 +18,6 @@ platforms: # Ubuntu oracular only has one version of NGINX OSS available (at the
1818
volumes:
1919
- /sys/fs/cgroup:/sys/fs/cgroup:rw
2020
command: /usr/sbin/init
21-
- name: alpine-3.17
22-
image: alpine:3.17
23-
dockerfile: ../common/Dockerfile.j2
24-
privileged: true
25-
cgroupns_mode: host
26-
volumes:
27-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
28-
command: /sbin/init
2921
- name: alpine-3.18
3022
image: alpine:3.18
3123
dockerfile: ../common/Dockerfile.j2
@@ -165,14 +157,14 @@ platforms: # Ubuntu oracular only has one version of NGINX OSS available (at the
165157
volumes:
166158
- /sys/fs/cgroup:/sys/fs/cgroup:rw
167159
command: /sbin/init
168-
# - name: ubuntu-oracular
169-
# image: ubuntu:oracular
170-
# dockerfile: ../common/Dockerfile.j2
171-
# privileged: true
172-
# cgroupns_mode: host
173-
# volumes:
174-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
175-
# command: /sbin/init
160+
- name: ubuntu-oracular
161+
image: ubuntu:oracular
162+
dockerfile: ../common/Dockerfile.j2
163+
privileged: true
164+
cgroupns_mode: host
165+
volumes:
166+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
167+
command: /sbin/init
176168
provisioner:
177169
name: ansible
178170
log: true

molecule/source/molecule.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ platforms:
1818
volumes:
1919
- /sys/fs/cgroup:/sys/fs/cgroup:rw
2020
command: /usr/sbin/init
21-
- name: alpine-3.17
22-
image: alpine:3.17
23-
dockerfile: ../common/Dockerfile.j2
24-
privileged: true
25-
cgroupns_mode: host
26-
volumes:
27-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
28-
command: /sbin/init
2921
- name: alpine-3.18
3022
image: alpine:3.18
3123
dockerfile: ../common/Dockerfile.j2

molecule/stable/molecule.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ platforms:
1818
volumes:
1919
- /sys/fs/cgroup:/sys/fs/cgroup:rw
2020
command: /usr/sbin/init
21-
- name: alpine-3.17
22-
image: alpine:3.17
23-
dockerfile: ../common/Dockerfile.j2
24-
privileged: true
25-
cgroupns_mode: host
26-
volumes:
27-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
28-
command: /sbin/init
2921
- name: alpine-3.18
3022
image: alpine:3.18
3123
dockerfile: ../common/Dockerfile.j2

molecule/uninstall/molecule.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ platforms:
1818
volumes:
1919
- /sys/fs/cgroup:/sys/fs/cgroup:rw
2020
command: /usr/sbin/init
21-
- name: alpine-3.17
22-
image: alpine:3.17
23-
dockerfile: ../common/Dockerfile.j2
24-
privileged: true
25-
cgroupns_mode: host
26-
volumes:
27-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
28-
command: /sbin/init
2921
- name: alpine-3.18
3022
image: alpine:3.18
3123
dockerfile: ../common/Dockerfile.j2

molecule/upgrade/molecule.yml

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
driver:
33
name: docker
4-
platforms: # Ubuntu oracular only has one version of NGINX OSS available (at the moment) so it's impossible to test the upgrade scenario
4+
platforms:
55
- name: almalinux-8
66
image: almalinux:8
77
dockerfile: ../common/Dockerfile.j2
@@ -18,14 +18,6 @@ platforms: # Ubuntu oracular only has one version of NGINX OSS available (at the
1818
volumes:
1919
- /sys/fs/cgroup:/sys/fs/cgroup:rw
2020
command: /usr/sbin/init
21-
- name: alpine-3.17
22-
image: alpine:3.17
23-
dockerfile: ../common/Dockerfile.j2
24-
privileged: true
25-
cgroupns_mode: host
26-
volumes:
27-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
28-
command: /sbin/init
2921
- name: alpine-3.18
3022
image: alpine:3.18
3123
dockerfile: ../common/Dockerfile.j2
@@ -165,14 +157,14 @@ platforms: # Ubuntu oracular only has one version of NGINX OSS available (at the
165157
volumes:
166158
- /sys/fs/cgroup:/sys/fs/cgroup:rw
167159
command: /sbin/init
168-
# - name: ubuntu-oracular
169-
# image: ubuntu:oracular
170-
# dockerfile: ../common/Dockerfile.j2
171-
# privileged: true
172-
# cgroupns_mode: host
173-
# volumes:
174-
# - /sys/fs/cgroup:/sys/fs/cgroup:rw
175-
# command: /sbin/init
160+
- name: ubuntu-oracular
161+
image: ubuntu:oracular
162+
dockerfile: ../common/Dockerfile.j2
163+
privileged: true
164+
cgroupns_mode: host
165+
volumes:
166+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
167+
command: /sbin/init
176168
provisioner:
177169
name: ansible
178170
log: true

molecule/upgrade/prepare.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
pre_tasks:
55
- name: Set repo if Alpine
66
ansible.builtin.set_fact:
7-
version: =1.27.1-r1
7+
version: =1.27.2-r1
88
when: ansible_facts['os_family'] == "Alpine"
99
- name: Set repo if Debian
1010
ansible.builtin.set_fact:
11-
version: =1.27.1-1~{{ ansible_facts['distribution_release'] }}
11+
version: =1.27.2-1~{{ ansible_facts['distribution_release'] }}
1212
when: ansible_facts['os_family'] == "Debian"
1313
- name: Set repo if Red Hat
1414
ansible.builtin.set_fact:
15-
version: -1.27.1-1.{{ (ansible_facts['distribution'] == "Amazon") | ternary(('amzn' + ansible_facts['distribution_major_version'] | string), ('el' + ansible_facts['distribution_major_version'] | string)) }}.ngx
15+
version: -1.27.2-1.{{ (ansible_facts['distribution'] == "Amazon") | ternary(('amzn' + ansible_facts['distribution_major_version'] | string), ('el' + ansible_facts['distribution_major_version'] | string)) }}.ngx
1616
when: ansible_facts['os_family'] == "RedHat"
1717
- name: Set repo if SLES
1818
ansible.builtin.set_fact:
19-
version: =1.27.1-1.sles{{ ansible_facts['distribution_major_version'] }}.ngx
19+
version: =1.27.2-1.sles{{ ansible_facts['distribution_major_version'] }}.ngx
2020
when: ansible_facts['os_family'] == "Suse"
2121
tasks:
2222
- name: Install NGINX

0 commit comments

Comments
 (0)