Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit a8f3d10

Browse files
committed
Add Rocky8
Set version for RHEL/Rocky 8 cast as strings oops, distribution not os version
1 parent 3e79466 commit a8f3d10

File tree

2 files changed

+16
-3
lines changed

2 files changed

+16
-3
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ jobs:
5151
playbook: version.yml
5252
- distro: ubuntu2004
5353
playbook: version.yml
54+
- distro: rockylinux8
55+
playbook: version.yml
56+
- distro: rockylinux8
57+
playbook: converge.yml
5458

5559
steps:
5660
- name: Check out the codebase.

molecule/default/version.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,19 @@
2222
gitlab_version: '15.6.3-ce.0'
2323
when: ansible_os_family == 'Debian'
2424

25-
- name: Set the test GitLab version number for RedHat.
25+
- name: Set the test GitLab version number for RedHat 7.
2626
set_fact:
27-
gitlab_version: '15.6.3-ce.0.el8'
28-
when: ansible_os_family == 'RedHat'
27+
gitlab_version: '11.4.0-ce.0.el7'
28+
when:
29+
- ansible_os_family == 'RedHat'
30+
- ansible_distribution_version is version('8', '<')
31+
32+
- name: Set the test GitLab version number for RedHat 8.
33+
set_fact:
34+
gitlab_version: '13.12.4-ce.0.el8'
35+
when:
36+
- ansible_os_family == 'RedHat'
37+
- ansible_distribution_version is version('8', '>=')
2938

3039
roles:
3140
- role: geerlingguy.gitlab

0 commit comments

Comments
 (0)