Skip to content

Commit 3523d15

Browse files
authored
Add support for RHEL9 (#517)
1 parent fc588e2 commit 3523d15

File tree

14 files changed

+62
-3
lines changed

14 files changed

+62
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ FEATURES:
66

77
* Add support for NGINX OSS on Ubuntu jammy (22.04).
88
* Add CODEOWNERS file.
9+
* Add support for NGINX OSS on RHEL 9.
910

1011
ENHANCEMENTS:
1112

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Debian:
8787
Red Hat:
8888
- 7.4+
8989
- 8
90+
- 9
9091
SUSE/SLES:
9192
- 12
9293
- 15

meta/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ galaxy_info:
2424
versions:
2525
- '7'
2626
- '8'
27+
- '9'
2728
- name: FreeBSD
2829
versions:
2930
- '12.1'

molecule/default/molecule.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ platforms:
6262
volumes:
6363
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
6464
command: "/usr/sbin/init"
65+
- name: rhel-9
66+
image: registry.access.redhat.com/ubi9/ubi:9.0.0
67+
dockerfile: ../common/Dockerfile.j2
68+
privileged: true
69+
volumes:
70+
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
71+
command: "/usr/sbin/init"
6572
- name: debian-buster
6673
image: debian:buster-slim
6774
dockerfile: ../common/Dockerfile.j2

molecule/downgrade/molecule.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ platforms:
3434
volumes:
3535
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
3636
command: "/usr/sbin/init"
37+
- name: rhel-9
38+
image: registry.access.redhat.com/ubi9/ubi:9.0.0
39+
dockerfile: ../common/Dockerfile.j2
40+
privileged: true
41+
volumes:
42+
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
43+
command: "/usr/sbin/init"
3744
- name: debian-buster
3845
image: debian:buster-slim
3946
dockerfile: ../common/Dockerfile.j2

molecule/downgrade/prepare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
when: ansible_facts['os_family'] == "Debian"
1313
- name: Set repo if Red Hat
1414
ansible.builtin.set_fact:
15-
version: "-1.21.5-1.{{ (ansible_facts['distribution'] == 'Amazon') | ternary('amzn2', ('el' + ansible_facts['distribution_major_version'] | string)) }}.ngx"
15+
version: "-1.21.6-1.{{ (ansible_facts['distribution'] == 'Amazon') | ternary('amzn2', ('el' + ansible_facts['distribution_major_version'] | string)) }}.ngx"
1616
when: ansible_facts['os_family'] == "RedHat"
1717
tasks:
1818
- name: Install NGINX

molecule/module/molecule.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ platforms:
6262
volumes:
6363
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
6464
command: "/usr/sbin/init"
65+
- name: rhel-9
66+
image: registry.access.redhat.com/ubi9/ubi:9.0.0
67+
dockerfile: ../common/Dockerfile.j2
68+
privileged: true
69+
volumes:
70+
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
71+
command: "/usr/sbin/init"
6572
- name: debian-buster
6673
image: debian:buster-slim
6774
dockerfile: ../common/Dockerfile.j2

molecule/plus/molecule.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ platforms:
6262
volumes:
6363
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
6464
command: "/usr/sbin/init"
65+
- name: rhel-9
66+
image: registry.access.redhat.com/ubi9/ubi:9.0.0
67+
dockerfile: ../common/Dockerfile.j2
68+
privileged: true
69+
volumes:
70+
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
71+
command: "/usr/sbin/init"
6572
- name: debian-buster
6673
image: debian:buster-slim
6774
dockerfile: ../common/Dockerfile.j2

molecule/source/molecule.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ platforms:
6262
volumes:
6363
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
6464
command: "/usr/sbin/init"
65+
- name: rhel-9
66+
image: registry.access.redhat.com/ubi9/ubi:9.0.0
67+
dockerfile: ../common/Dockerfile.j2
68+
privileged: true
69+
volumes:
70+
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
71+
command: "/usr/sbin/init"
6572
- name: debian-buster
6673
image: debian:buster-slim
6774
dockerfile: ../common/Dockerfile.j2

molecule/uninstall/molecule.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,13 @@ platforms:
6262
volumes:
6363
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
6464
command: "/usr/sbin/init"
65+
- name: rhel-9
66+
image: registry.access.redhat.com/ubi9/ubi:9.0.0
67+
dockerfile: ../common/Dockerfile.j2
68+
privileged: true
69+
volumes:
70+
- "/sys/fs/cgroup:/sys/fs/cgroup:rw"
71+
command: "/usr/sbin/init"
6572
- name: debian-buster
6673
image: debian:buster-slim
6774
dockerfile: ../common/Dockerfile.j2

0 commit comments

Comments
 (0)