Skip to content

Commit

Permalink
Change default Keycloak version to 12.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
treydock committed Mar 6, 2021
1 parent 488c70d commit 4d84e28
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 50 deletions.
27 changes: 5 additions & 22 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,44 +64,27 @@ jobs:
- "puppet6"
- "puppet7"
keycloak_version:
- "8.0.1"
- "12.0.1"
- "12.0.4"
keycloak_full:
- "no"
keycloak_domain_mode_cluster:
- "no"
include:
- set: "centos-7"
puppet: "puppet6"
keycloak_version: "8.0.1"
keycloak_full: "yes"
- set: "centos-7"
puppet: "puppet6"
keycloak_version: "12.0.1"
keycloak_full: "yes"
- set: "centos-7"
puppet: "puppet7"
keycloak_version: "8.0.1"
keycloak_version: "12.0.4"
keycloak_full: "yes"
- set: "centos-7"
puppet: "puppet7"
keycloak_version: "12.0.1"
keycloak_version: "12.0.4"
keycloak_full: "yes"
- set: "centos-7-domain-mode-cluster"
puppet: "puppet6"
keycloak_version: "8.0.1"
keycloak_domain_mode_cluster: "yes"
- set: "centos-7-domain-mode-cluster"
puppet: "puppet6"
keycloak_version: "12.0.1"
keycloak_domain_mode_cluster: "yes"
- set: "centos-7-domain-mode-cluster"
puppet: "puppet7"
keycloak_version: "8.0.1"
keycloak_version: "12.0.4"
keycloak_domain_mode_cluster: "yes"
- set: "centos-7-domain-mode-cluster"
puppet: "puppet7"
keycloak_version: "12.0.1"
keycloak_version: "12.0.4"
keycloak_domain_mode_cluster: "yes"
env:
BUNDLE_WITHOUT: development:release
Expand Down
27 changes: 5 additions & 22 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,42 +22,25 @@
- puppet6
- puppet7
keycloak_version:
- '8.0.1'
- '12.0.1'
- '12.0.4'
keycloak_full: ['no']
keycloak_domain_mode_cluster: ['no']
acceptance_includes:
- set: centos-7
puppet: puppet6
keycloak_version: 8.0.1
keycloak_full: 'yes'
- set: centos-7
puppet: puppet6
keycloak_version: 12.0.1
keycloak_full: 'yes'
- set: centos-7
puppet: puppet7
keycloak_version: 8.0.1
keycloak_version: 12.0.4
keycloak_full: 'yes'
- set: centos-7
puppet: puppet7
keycloak_version: 12.0.1
keycloak_version: 12.0.4
keycloak_full: 'yes'
- set: centos-7-domain-mode-cluster
puppet: puppet6
keycloak_version: 8.0.1
keycloak_domain_mode_cluster: 'yes'
- set: centos-7-domain-mode-cluster
puppet: puppet6
keycloak_version: 12.0.1
keycloak_domain_mode_cluster: 'yes'
- set: centos-7-domain-mode-cluster
puppet: puppet7
keycloak_version: 8.0.1
keycloak_version: 12.0.4
keycloak_domain_mode_cluster: 'yes'
- set: centos-7-domain-mode-cluster
puppet: puppet7
keycloak_version: 12.0.1
keycloak_version: 12.0.4
keycloak_domain_mode_cluster: 'yes'
.gitignore:
paths:
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,16 @@ The keycloak module allows easy installation and management of Keycloak.

### Supported Versions of Keycloak

Currently this module supports Keycloak version 8.x to 12.x.
Currently this module supports Keycloak version 12.x.
This module may work on earlier versions but this is the only version tested.

| Keycloak Version | Keycloak Puppet module versions |
| ---------------- | ------------------------------- |
| 3.x | 2.x |
| 4.x - 6.x | 3.x |
| 6.x - 8.x | 4.x - 5.x |
| 8.x - 12.x | 6.x |
| 12.x | 7.x |

## Usage

Expand Down
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@
# Server name in domain mode. Defaults to hostname.
class keycloak (
Boolean $manage_install = true,
String $version = '8.0.1',
String $version = '12.0.4',
Optional[Variant[Stdlib::HTTPUrl, Stdlib::HTTPSUrl]]
$package_url = undef,
Optional[Stdlib::Absolutepath] $install_dir = undef,
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
let(:facts) do
facts.merge(concat_basedir: '/dne')
end
let(:version) { '8.0.1' }
let(:version) { '12.0.4' }

case facts[:osfamily]
when %r{RedHat}
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/freeipa_ldap_mappers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
describe 'keycloak::freeipa_ldap_mappers' do
on_supported_os.each do |os, _facts|
context "on #{os}" do
let(:version) { '8.0.1' }
let(:version) { '12.0.4' }
let(:title) { 'ipa.example.org' }
let(:params) do
{
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/freeipa_user_provider_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
describe 'keycloak::freeipa_user_provider' do
on_supported_os.each do |os, _facts|
context "on #{os}" do
let(:version) { '8.0.1' }
let(:version) { '12.0.4' }
let(:title) { 'ipa.example.org' }
let(:params) do
{
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/spi_deployment_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
let(:facts) do
facts.merge(concat_basedir: '/dne')
end
let(:version) { '8.0.1' }
let(:version) { '12.0.4' }
let(:title) { 'duo-spi' }
let(:params) { { deployed_name: 'keycloak-duo-spi-jar-with-dependencies.jar', source: 'https://example.com/files/keycloak-duo-spi-jar-with-dependencies.jar' } }

Expand Down

0 comments on commit 4d84e28

Please sign in to comment.