Skip to content

Commit d2f9185

Browse files
authored
Test on CentOS Stream 10 (#515)
1 parent a090f7c commit d2f9185

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

molecule/default/install-rpm.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,17 @@
88
name:
99
- java-17-openjdk
1010
state: present
11-
when: ansible_distribution != 'Amazon'
11+
when: ansible_distribution != 'Amazon' and (ansible_distribution != 'CentOS' or ansible_distribution_major_version != '10')
1212
- package:
1313
name:
1414
- java-17-amazon-corretto
1515
state: present
1616
when: ansible_distribution == 'Amazon'
17+
- package:
18+
name:
19+
- java-21-openjdk
20+
state: present
21+
when: ansible_distribution == 'CentOS' and ansible_distribution_major_version == '10'
1722
- file:
1823
path: /var/tmp/target/credentials
1924
state: directory

molecule/default/molecule.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,14 @@ platforms:
7171
- /sys/fs/cgroup:/sys/fs/cgroup:rw
7272
cgroupns_mode: host
7373
privileged: true
74+
- name: centos-stream-10 # EOL 2030-01-01
75+
image: dokken/centos-stream-10:latest
76+
override_command: false
77+
volumes:
78+
- ${MOLECULE_PROJECT_DIRECTORY}/target:/var/tmp/target
79+
- /sys/fs/cgroup:/sys/fs/cgroup:rw
80+
cgroupns_mode: host
81+
privileged: true
7482
- name: fedora-40 # EOL 2025-05-28
7583
image: dokken/fedora-40:latest
7684
override_command: false

0 commit comments

Comments
 (0)