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

Commit

Permalink
Add Rocky8
Browse files Browse the repository at this point in the history
Set version for RHEL/Rocky 8

cast as strings

oops, distribution not os version
  • Loading branch information
Aethylred committed Jul 5, 2023
1 parent 3e79466 commit a8f3d10
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ jobs:
playbook: version.yml
- distro: ubuntu2004
playbook: version.yml
- distro: rockylinux8
playbook: version.yml
- distro: rockylinux8
playbook: converge.yml

steps:
- name: Check out the codebase.
Expand Down
15 changes: 12 additions & 3 deletions molecule/default/version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,19 @@
gitlab_version: '15.6.3-ce.0'
when: ansible_os_family == 'Debian'

- name: Set the test GitLab version number for RedHat.
- name: Set the test GitLab version number for RedHat 7.
set_fact:
gitlab_version: '15.6.3-ce.0.el8'
when: ansible_os_family == 'RedHat'
gitlab_version: '11.4.0-ce.0.el7'
when:
- ansible_os_family == 'RedHat'
- ansible_distribution_version is version('8', '<')

- name: Set the test GitLab version number for RedHat 8.
set_fact:
gitlab_version: '13.12.4-ce.0.el8'
when:
- ansible_os_family == 'RedHat'
- ansible_distribution_version is version('8', '>=')

roles:
- role: geerlingguy.gitlab

0 comments on commit a8f3d10

Please sign in to comment.