Skip to content

Commit 012aae3

Browse files
authored
Update 1.25.1 supported distributions (#632)
1 parent 3c43233 commit 012aae3

File tree

25 files changed

+479
-312
lines changed

25 files changed

+479
-312
lines changed

.ansible-lint

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
skip_list:
33
- name[template]
44
- yaml[line-length]
5+
- schema[meta]

.github/workflows/molecule.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ jobs:
6262
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
6363
uses: actions/checkout@v3
6464

65-
- name: Set up Docker QEMU
66-
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
67-
uses: docker/setup-qemu-action@v2
68-
with:
69-
platforms: aarch64,s390x
65+
# - name: Set up Docker QEMU
66+
# if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
67+
# uses: docker/setup-qemu-action@v2
68+
# with:
69+
# platforms: aarch64,s390x
7070

7171
- name: Set up Python 3
7272
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
@@ -78,7 +78,7 @@ jobs:
7878
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
7979
run: pip3 install -r .github/workflows/requirements/requirements_molecule.txt
8080

81-
- name: Install Ansible collection dependencies
81+
- name: Install Ansible core collection dependencies
8282
if: ${{ !(contains(matrix.scenario, 'plus')) || (env.NGINX_CRT != 0 && env.NGINX_KEY != 0) }}
8383
run: ansible-galaxy install -r .github/workflows/requirements/requirements_ansible.yml
8484

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
---
22
collections:
33
- name: ansible.posix
4-
version: 1.5.2
4+
version: 1.5.4
55
- name: community.general
66
version: 6.4.0
77
- name: community.crypto # Only required if you plan to install NGINX Plus
8-
version: 2.13.0
8+
version: 2.14.1
99
- name: community.docker # Only required if you plan to use Molecule
10-
version: 3.4.5
10+
version: 3.4.7
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
ansible-core==2.15.0
2+
jinja2==3.1.2
3+
ansible-compat==4.1.2
4+
yamllint==1.32.0
25
ansible-lint==6.16.2
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
ansible-core==2.15.0
22
jinja2==3.1.2
3-
ansible-compat==3.0.2
4-
ansible-lint==6.16.2
5-
yamllint==1.32.0
3+
# ansible-compat==4.1.2
64
molecule==5.0.1
75
molecule-plugins[docker]==23.4.1
86
docker==6.1.3

CHANGELOG.md

Lines changed: 27 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,28 @@
44

55
FEATURES:
66

7+
- Add Alpine Linux 3.18, Debian bookworm, and Ubuntu kinetic/lunar to the list of NGINX OSS tested and supported distributions.
8+
- Remove Alpine Linux 3.14 from the list of NGINX OSS tested and supported distributions.
79
- Remove Alpine Linux 3.13 from the list of NGINX Plus tested and supported distributions.
810

911
ENHANCEMENTS:
1012

1113
- Refactor the OSS BSD installation process to consolidate tasks and avoid Ansible Lint warnings.
1214
- Refactor handlers to avoid Ansible Lint warnings.
1315
- Enable SELinux configuration tasks on Oracle Linux OS.
14-
- Bump the Ansible `ansible.posix` collection to `1.5.2`, `community.general` collection to `6.4.0`, `community.crypto` collection to `2.13.0` and `community.docker` collection to `3.4.5`.
15-
- Oracle Linux 8 requires python library package `python3.11-cryptography` for validating the NGINX Plus repository certificate.
16+
- Bump the Ansible `ansible.posix` collection to `1.5.4`, `community.general` collection to `6.4.0`, `community.crypto` collection to `2.14.1` and `community.docker` collection to `3.4.7`.
17+
- Oracle Linux 8 requires the Python `python3.11-cryptography` package for validating the NGINX Plus repository certificate.
18+
19+
BUG FIXES:
20+
21+
- Fix an issue with the platform validation logic whereas distro versions ending in `*.*0` would not be correctly identified.
1622

1723
CI/CD:
1824

19-
- Split Ansible Lint into its own GH actions job since Molecule no longer runs linters natively.
25+
- Comment out the platform parameter out of Molecule tests. QEMU based tests are failing when trying to test the newest supported distros.
26+
- Split Ansible Lint into its own GitHub Actions job since Molecule no longer runs linters natively.
2027
- Replace `molecule[docker]` with `molecule` and `molecule-plugins[docker]`.
21-
- Explicitly set the `ansible-compat` version.
28+
- Explicitly set the `ansible-compat` version (commented out for the time being whilst waiting for a new release of Molecule).
2229
- Add pre-releases to Release Drafter.
2330

2431
## 0.24.0 (January 29, 2023)
@@ -44,7 +51,8 @@ FEATURES:
4451
- Validate that various role variables have been set to one of the allowed values.
4552
- Add support for the newer `ndk` and `set-misc` NGINX Plus dynamic modules and remove old code checks for distributions that are no longer supported.
4653
- Add AlmaLinux, Oracle Linux and Rocky Linux to the list of NGINX OSS and NGINX Plus tested and supported distributions.
47-
- Add Alpine Linux 3.17 to the NGINX list of tested and supported platforms (and remove Alpine Linux 3.13 from the list of NGINX OSS supported distributions).
54+
- Add Alpine Linux 3.17 to the NGINX list of tested and supported platforms.
55+
- Remove Alpine Linux 3.13 from the list of NGINX OSS supported distributions.
4856

4957
ENHANCEMENTS:
5058

@@ -59,14 +67,14 @@ BUG FIXES:
5967
- Specifying a module version would result in an invalid package name on Alpine Linux.
6068
- Fix the NGINX installation process when installing NGINX from a distribution's package repository in CentOS/RHEL 7 based distributions.
6169
- Fix an issue when installing the GeoIP2 module on an UBI 7 container where the the `libmaxminddb` package dependency might not be available via `yum` (if it's not available, `libmaxminddb` is installed from an external source).
62-
- GitHub actions should now correctly skip \*plus\* scenarios only when the NGINX Plus license secrets are not present.
70+
- GitHub Actions should now correctly skip \*plus\* scenarios only when the NGINX Plus license secrets are not present.
6371
- Update the versions of the various packages required to build NGINX from source. The version of `zlib` listed in the role was no longer available.
64-
- The `ignore-tags` GitHub actions key does not exist. Replace it with the correct key, `tags-ignore`.
72+
- The `ignore-tags` GitHub Actions key does not exist. Replace it with the correct key, `tags-ignore`.
6573
- Remove the `arch` option from the Debian family NGINX repository source. In its current form this prevented the role from working any platforms beyond `x86_64`/`amd64` and `aarch64`/`arm64`.
6674

6775
TESTS:
6876

69-
- Update GitHub actions to run on Ubuntu 22.04 (and thus support `cgroups` v2).
77+
- Update GitHub Actions to run on Ubuntu 22.04 (and thus support `cgroups` v2).
7078
- Explicitly specify `x86_64`/`amd64` as the platform used in the Amazon Linux 2/CentOS/Oracle Linux/RHEL 7/SLES 15 Molecule Docker images. This will ensure that tests work when run on different host architectures (e.g. newer Macbooks with `aarch64`/`arm64` processors) when running tests in distributions that only support `x86_64`/`amd64` (either due to lack of support for a `cgroups` v2 backport or due to lack of builds for `aarch64`/`arm64`).
7179
- Explicitly test some distributions using `aarch64` and `s390x` as the Molecule platform. This should ensure the role works as intended across the various architectures that are officially supported.
7280
- Combine the `module` Molecule scenario with the `default` scenario.
@@ -99,7 +107,7 @@ BUG FIXES:
99107

100108
TESTS:
101109

102-
- Update GitHub actions to only skip \*plus\* scenarios when the NGINX Plus license secrets are not present (it used to only run the NGINX Plus test scenarios during internal PRs).
110+
- Update GitHub Actions to only skip \*plus\* scenarios when the NGINX Plus license secrets are not present (it used to only run the NGINX Plus test scenarios during internal PRs).
103111
- Add SLES 15 to all Molecule tests.
104112
- Create downgrade and upgrade tests for NGINX Plus.
105113
- Remove Yamllint (Ansible Lint now incorporates Yamllint).
@@ -117,7 +125,7 @@ ENHANCEMENTS:
117125
- Bump the Ansible `community.general` collection to `4.7.0` and `community.docker` collection to `2.3.0`.
118126
- Streamline configuring SELinux.
119127
- Add `TimeoutStartSec` parameter to Systemd template.
120-
- Update Dependabot to trigger updates at the same time across all NGINX core roles at the same time and to avoid triggering release drafter on GitHub actions dependency updates.
128+
- Update Dependabot to trigger updates at the same time across all NGINX core roles at the same time and to avoid triggering release drafter on GitHub Actions dependency updates.
121129

122130
BUG FIXES:
123131

@@ -175,7 +183,7 @@ BUG FIXES:
175183
ENHANCEMENTS:
176184

177185
- Change Dependabot frequency from daily to weekly.
178-
- Minor touch-up of GitHub actions workflows.
186+
- Minor touch-up of GitHub Actions workflows.
179187

180188
## 0.21.2 (October 7, 2021)
181189

@@ -227,7 +235,7 @@ BREAKING CHANGES:
227235
ENHANCEMENTS:
228236

229237
- Replace Ansible base with Ansible core. Ansible core will be the "core" Ansible release moving forward from Ansible `2.11`.
230-
- Update GitHub actions to add a workflow dispatch option.
238+
- Update GitHub Actions to add a workflow dispatch option.
231239
- Replace "yes"/"no" boolean values with "true"/"false" to comply with YAML spec `1.2`.
232240
- Bump the Ansible `community.general` collection to `3.2.0` and `community.docker` collection to `1.7.0`.
233241

@@ -258,12 +266,12 @@ FEATURES:
258266

259267
ENHANCEMENTS:
260268

261-
- Only run GitHub actions Galaxy CI/CD workflow when a new release is published.
269+
- Only run GitHub Actions Galaxy CI/CD workflow when a new release is published.
262270
- Add Alpine `3.13` to the list of NGINX Plus supported platforms.
263-
- Specify GitHub actions Ubuntu release.
271+
- Specify GitHub Actions Ubuntu release.
264272
- Minor GitHub template tweaks, including the creation of a SECURITY doc.
265273
- Add Molecule NGINX OSS tests for Alpine 3.13, remove Molecule tests for Debian stretch, and update list of supported platforms.
266-
- Update Ansible base to `2.10.8`, Ansible Lint to `5.0.7`, Molecule to `3.3.0`, yamllint to `1.26.1` and Docker Python SDK to `5.0.0`.
274+
- Update Ansible base to `2.10.8`, Ansible Lint to `5.0.7`, Molecule to `3.3.0`, Yamllint to `1.26.1` and Docker Python SDK to `5.0.0`.
267275
- Consolidate Molecule testing scenarios to address changes introduced in Ansible Lint `5.*`.
268276
- Override of systemd `Restart` value by using proper `nginx_service_restart` variable.
269277

@@ -276,7 +284,7 @@ BUG FIXES:
276284

277285
ENHANCEMENTS:
278286

279-
- The GitHub actions Molecule CI/CD workflow should now correctly avoid running 'plus' related tests on external PRs.
287+
- The GitHub Actions Molecule CI/CD workflow should now correctly avoid running 'plus' related tests on external PRs.
280288
- Update Ansible base to `2.10.4`, Ansible to `2.10.5`, Molecule to `3.2.2` and Docker Python SDK to `4.4.1`.
281289
- Update copyright notice.
282290

@@ -288,7 +296,7 @@ BREAKING CHANGES:
288296

289297
ENHANCEMENTS:
290298

291-
The GitHub actions Molecule CI/CD workflow is no longer run on a new release (this is not necessary since it already runs on every push).
299+
The GitHub Actions Molecule CI/CD workflow is no longer run on a new release (this is not necessary since it already runs on every push).
292300

293301
## 0.18.2 (December 22, 2020)
294302

@@ -297,7 +305,7 @@ ENHANCEMENTS:
297305
- Update Molecule to `3.2.1` and Docker Python SDK to `4.4.0`.
298306
- Add Alpine `3.12` to supported platforms for NGINX Plus.
299307
- Remove Alpine `3.9` and CentOS/RHEL `6` from supported platforms due to EOL.
300-
- Replace TravisCI with GitHub actions.
308+
- Replace TravisCI with GitHub Actions.
301309

302310
## 0.18.1 (November 17, 2020)
303311

@@ -335,7 +343,7 @@ ENHANCEMENTS:
335343

336344
- Add survey to README.
337345
- Improve README structure and use tables where relevant.
338-
- Update Ansible (now Ansible base) to `2.10.3`, Ansible (now Ansible Community Distribution) to `2.10.3`, Ansible Lint to `4.3.7`, Molecule to `3.1.5`, and yamllint to `1.25.0`.
346+
- Update Ansible (now Ansible base) to `2.10.3`, Ansible (now Ansible Community Distribution) to `2.10.3`, Ansible Lint to `4.3.7`, Molecule to `3.1.5`, and Yamllint to `1.25.0`.
339347
- Optimize NGINX Plus install/remove tasks.
340348

341349
BUG FIXES:

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ If you wish to install NGINX Plus using this role, you will need to obtain an NG
2525
---
2626
collections:
2727
- name: ansible.posix
28-
version: 1.5.2
28+
version: 1.5.4
2929
- name: community.general
30-
version: 6.6.0
30+
version: 6.4.0
3131
- name: community.crypto # Only required if you plan to install NGINX Plus
32-
version: 2.13.0
32+
version: 2.14.1
3333
- name: community.docker # Only required if you plan to use Molecule (see below)
34-
version: 3.4.5
34+
version: 3.4.7
3535
```
3636
3737
**Note:** You can alternatively install the Ansible community distribution (what is known as the "old" Ansible) if you don't want to manage individual collections.
@@ -92,16 +92,17 @@ AlmaLinux:
9292
- 8
9393
- 9
9494
Alpine:
95-
- 3.14
9695
- 3.15
9796
- 3.16
9897
- 3.17
98+
- 3.18
9999
Amazon Linux:
100100
- 2
101101
CentOS:
102102
- 7.4+
103103
Debian:
104104
- bullseye (11)
105+
- bookworm (12)
105106
Oracle Linux:
106107
- 7
107108
- 8
@@ -117,10 +118,10 @@ SUSE/SLES:
117118
- 12
118119
- 15
119120
Ubuntu:
120-
- bionic (18.04)
121121
- focal (20.04)
122-
- impish (21.10)
123122
- jammy (22.04)
123+
- kinetic (22.10)
124+
- lunar (23.04)
124125
```
125126

126127
### NGINX Plus

meta/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ galaxy_info:
1515
- name: Amazon Linux
1616
versions: ['2', '2023']
1717
- name: Debian
18-
versions: [bullseye]
18+
versions: [bullseye, bookworm]
1919
- name: EL
2020
versions: ['7', '8', '9']
2121
- name: FreeBSD
2222
versions: ['12.1']
2323
- name: Ubuntu
24-
versions: [bionic, focal, impish, jammy]
24+
versions: [focal, jammy, kinetic, lunar]
2525
- name: SLES
2626
versions: ['12', '15']
2727

0 commit comments

Comments
 (0)