Skip to content

Commit

Permalink
Support EL9 (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock authored Oct 10, 2022
1 parent 2509852 commit 1458d84
Show file tree
Hide file tree
Showing 8 changed files with 52 additions and 14 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ jobs:
fail-fast: false
matrix:
set:
- "centos-7"
- "rocky-8"
- "el7"
- "el8"
- "el9"
- "debian-10"
- "debian-11"
- "ubuntu-1804"
Expand All @@ -70,11 +71,11 @@ jobs:
keycloak_full:
- "no"
include:
- set: "centos-7"
- set: "el7"
puppet: "puppet6"
keycloak_version: "18.0.0"
keycloak_full: "yes"
- set: "centos-7"
- set: "el7"
puppet: "puppet7"
keycloak_version: "18.0.0"
keycloak_full: "yes"
Expand Down
9 changes: 5 additions & 4 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ Rakefile:
acceptance_name: '${{ matrix.puppet }} ${{ matrix.set }} (keycloak=${{ matrix.keycloak_version }} full=${{ matrix.keycloak_full }})'
acceptance_matrix:
set:
- centos-7
- rocky-8
- el7
- el8
- el9
- debian-10
- debian-11
- ubuntu-1804
Expand All @@ -28,11 +29,11 @@ Rakefile:
- '18.0.0'
keycloak_full: ['no']
acceptance_includes:
- set: centos-7
- set: el7
puppet: puppet6
keycloak_version: 18.0.0
keycloak_full: 'yes'
- set: centos-7
- set: el7
puppet: puppet7
keycloak_version: 18.0.0
keycloak_full: 'yes'
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,8 @@ keycloak_required_action { 'webauthn-register on master':
This module has been tested on:

* RedHat/CentOS 7 x86_64
* RedHat/Rocky 8 x86_64
* RedHat/Rocky/AlmaLinux 8 x86_64
* RedHat/Rocky/AlmaLinux 9 x86_64
* Debian 10 x86_64
* Debian 11 x86_64
* Ubuntu 18.04 x86_64
Expand Down
15 changes: 12 additions & 3 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"7",
"8"
"8",
"9"
]
},
{
Expand All @@ -54,7 +55,15 @@
{
"operatingsystem": "Rocky",
"operatingsystemrelease": [
"8"
"8",
"9"
]
},
{
"operatingsystem": "AlmaLinux",
"operatingsystemrelease": [
"8",
"9"
]
},
{
Expand All @@ -80,5 +89,5 @@
],
"pdk-version": "2.1.0",
"template-url": "https://github.com/treydock/pdk-templates.git#master",
"template-ref": "heads/master-0-gc7a5ca2"
"template-ref": "heads/master-0-gd5daad3"
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ HOSTS:
- agent
platform: el-8-x86_64
hypervisor: docker
image: rockylinux/rockylinux:8
image: almalinux:8
docker_preserve_image: true
docker_cmd:
- '/usr/sbin/init'
Expand Down
26 changes: 26 additions & 0 deletions spec/acceptance/nodesets/el9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
HOSTS:
almalinux-9:
roles:
- agent
platform: el-9-x86_64
hypervisor: docker
image: almalinux:9
docker_preserve_image: true
docker_cmd:
- '/usr/sbin/init'
docker_image_commands:
- 'dnf install -y dnf-utils'
- 'dnf config-manager --set-enabled crb'
- 'dnf install -y wget which cronie iproute initscripts langpacks-en glibc-all-langpacks cpio'
docker_env:
- LANG=en_US.UTF-8
- LANGUAGE=en_US.UTF-8
- LC_ALL=en_US.UTF-8
docker_container_name: 'keycloak-el9'
CONFIG:
log_level: debug
type: foss
ssh:
password: root
auth_methods: ["password"]

2 changes: 1 addition & 1 deletion spec/acceptance/nodesets/ubuntu-1804.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ HOSTS:
docker_cmd: '["/sbin/init"]'
docker_image_commands:
- "rm -f /etc/dpkg/dpkg.cfg.d/excludes"
- 'apt-get install -y wget net-tools iproute2 locales apt-transport-https ca-certificates'
- 'apt-get install -y wget net-tools iproute2 locales apt-transport-https ca-certificates lsb-release'
- 'locale-gen en_US.UTF-8'
docker_env:
- LANG=en_US.UTF-8
Expand Down

0 comments on commit 1458d84

Please sign in to comment.