Skip to content

Commit

Permalink
Major rewrite to support Keycloak 18+ using Quarkus (see README for b…
Browse files Browse the repository at this point in the history
…reaking changes) (#247)

* Major rewrite to support Keycloak 18+ using Quarkus (see README for breaking changes)

* No longer test SSSD user provider

* Get testing environment working

* Better README examples and fixes

* Ensure config changes restart Keycloak
  • Loading branch information
treydock authored Jun 6, 2022
1 parent 37775e5 commit 5b3ef33
Show file tree
Hide file tree
Showing 77 changed files with 654 additions and 2,553 deletions.
36 changes: 11 additions & 25 deletions .fixtures.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,21 @@
fixtures:
repositories:
forge_modules:
stdlib:
repo: https://github.com/puppetlabs/puppetlabs-stdlib.git
ref: 4.25.0
repo: puppetlabs/stdlib
mysql:
repo: https://github.com/puppetlabs/puppetlabs-mysql.git
ref: v10.3.0
repo: puppetlabs/mysql
postgresql:
repo: https://github.com/puppetlabs/puppetlabs-postgresql.git
ref: v7.4.0
repo: puppetlabs/postgresql
java:
repo: https://github.com/puppetlabs/puppetlabs-java.git
ref: v7.3.0
repo: puppetlabs/java
java_ks:
repo: https://github.com/puppetlabs/puppetlabs-java_ks.git
ref: 1.4.1
repo: puppetlabs/java_ks
# Dependency of other modules
concat:
repo: puppetlabs/concat
archive:
repo: https://github.com/voxpupuli/puppet-archive.git
ref: v0.5.1
repo: puppet/archive
systemd:
repo: https://github.com/voxpupuli/puppet-systemd.git
ref: 0.4.0
augeas_core:
repo: https://github.com/puppetlabs/puppetlabs-augeas_core.git
ref: 1.1.1
yumrepo_core:
repo: https://github.com/puppetlabs/puppetlabs-yumrepo_core.git
ref: 1.0.7
apt:
repo: https://github.com/puppetlabs/puppetlabs-apt.git
concat:
repo: https://github.com/puppetlabs/puppetlabs-concat.git
repo: puppet/systemd
symlinks:
keycloak: "#{source_dir}"
51 changes: 4 additions & 47 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
- master
pull_request:


jobs:
unit:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -57,7 +58,6 @@ jobs:
set:
- "centos-7"
- "rocky-8"
- "debian-9"
- "debian-10"
- "debian-11"
- "ubuntu-1804"
Expand All @@ -66,60 +66,18 @@ jobs:
- "puppet6"
- "puppet7"
keycloak_version:
- "12.0.4"
- "13.0.1"
- "14.0.0"
- "15.0.1"
- "16.1.1"
- "18.0.0"
keycloak_full:
- "no"
keycloak_domain_mode_cluster:
- "no"
include:
- set: "centos-7"
puppet: "puppet6"
keycloak_version: "12.0.4"
keycloak_full: "yes"
- set: "centos-7"
puppet: "puppet7"
keycloak_version: "12.0.4"
keycloak_version: "18.0.0"
keycloak_full: "yes"
- set: "centos-7"
puppet: "puppet7"
keycloak_version: "13.0.1"
keycloak_version: "18.0.0"
keycloak_full: "yes"
- set: "centos-7"
puppet: "puppet7"
keycloak_version: "14.0.0"
keycloak_full: "yes"
- set: "centos-7"
puppet: "puppet7"
keycloak_version: "15.0.1"
keycloak_full: "yes"
- set: "centos-7"
puppet: "puppet7"
keycloak_version: "16.1.1"
keycloak_full: "yes"
- set: "centos-7-domain-mode-cluster"
puppet: "puppet7"
keycloak_version: "12.0.4"
keycloak_domain_mode_cluster: "yes"
- set: "centos-7-domain-mode-cluster"
puppet: "puppet7"
keycloak_version: "13.0.1"
keycloak_domain_mode_cluster: "yes"
- set: "centos-7-domain-mode-cluster"
puppet: "puppet7"
keycloak_version: "14.0.0"
keycloak_domain_mode_cluster: "yes"
- set: "centos-7-domain-mode-cluster"
puppet: "puppet7"
keycloak_version: "15.0.1"
keycloak_domain_mode_cluster: "yes"
- set: "centos-7-domain-mode-cluster"
puppet: "puppet7"
keycloak_version: "16.1.1"
keycloak_domain_mode_cluster: "yes"
env:
BUNDLE_WITHOUT: development:release
BEAKER_debug: true
Expand Down Expand Up @@ -150,4 +108,3 @@ jobs:
BEAKER_set: ${{ matrix.set }}
BEAKER_keycloak_version: ${{ matrix.keycloak_version }}
BEAKER_keycloak_full: ${{ matrix.keycloak_full }}
BEAKER_keycloak_domain_mode_cluster: ${{ matrix.keycloak_domain_mode_cluster }}
50 changes: 5 additions & 45 deletions .sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Rakefile:
set:
- centos-7
- rocky-8
- debian-9
- debian-10
- debian-11
- ubuntu-1804
Expand All @@ -27,58 +26,17 @@ Rakefile:
- puppet6
- puppet7
keycloak_version:
- '12.0.4'
- '13.0.1'
- '14.0.0'
- '15.0.1'
- '16.1.1'
- '18.0.0'
keycloak_full: ['no']
keycloak_domain_mode_cluster: ['no']
acceptance_includes:
- set: centos-7
puppet: puppet6
keycloak_version: 12.0.4
keycloak_version: 18.0.0
keycloak_full: 'yes'
- set: centos-7
puppet: puppet7
keycloak_version: 12.0.4
keycloak_version: 18.0.0
keycloak_full: 'yes'
- set: centos-7
puppet: puppet7
keycloak_version: 13.0.1
keycloak_full: 'yes'
- set: centos-7
puppet: puppet7
keycloak_version: 14.0.0
keycloak_full: 'yes'
- set: centos-7
puppet: puppet7
keycloak_version: 15.0.1
keycloak_full: 'yes'
- set: centos-7
puppet: puppet7
keycloak_version: 16.1.1
keycloak_full: 'yes'
- set: centos-7-domain-mode-cluster
puppet: puppet7
keycloak_version: 12.0.4
keycloak_domain_mode_cluster: 'yes'
- set: centos-7-domain-mode-cluster
puppet: puppet7
keycloak_version: 13.0.1
keycloak_domain_mode_cluster: 'yes'
- set: centos-7-domain-mode-cluster
puppet: puppet7
keycloak_version: 14.0.0
keycloak_domain_mode_cluster: 'yes'
- set: centos-7-domain-mode-cluster
puppet: puppet7
keycloak_version: 15.0.1
keycloak_domain_mode_cluster: 'yes'
- set: centos-7-domain-mode-cluster
puppet: puppet7
keycloak_version: 16.1.1
keycloak_domain_mode_cluster: 'yes'
.gitignore:
paths:
- /vagrant/.vagrant/
Expand All @@ -87,6 +45,8 @@ Rakefile:
delete: true
appveyor.yml:
delete: true
spec/acceptance/nodesets/debian-9.yml:
delete: true
spec/acceptance/nodesets/debian-10.yml:
packages:
- iproute2
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ group :system_tests do
gem "beaker-pe", require: false
gem "beaker-hostgenerator"
gem "beaker-rspec"
gem "beaker-docker", *location_for(ENV['BEAKER_DOCKER_VERSION'] || '~> 0.7.0')
gem "beaker-docker"
gem "beaker-puppet"
gem "beaker-puppet_install_helper", require: false
gem "beaker-module_install_helper", require: false
Expand Down
Loading

0 comments on commit 5b3ef33

Please sign in to comment.