Skip to content

Commit

Permalink
Update to Keycloak 25.0.1
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Darimont <[email protected]>
  • Loading branch information
thomasdarimont committed Jun 25, 2024
1 parent 4303c21 commit 90be702
Show file tree
Hide file tree
Showing 12 changed files with 22 additions and 32 deletions.
2 changes: 1 addition & 1 deletion deployments/local/dev/docker-compose-keycloakx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ services:
- ../../../keycloak/config/openid-config.json:/opt/keycloak/conf/openid-config.json:z
- ../../../keycloak/config/jmxremote.password:/opt/keycloak/conf/jmxremote.password:ro
- ../../../keycloak/imex:/opt/keycloak/imex:z
- ./run/keycloakx/data:/opt/keycloak/data25:z
- ./run/keycloakx/data:/opt/keycloak/data:z
- ./run/keycloakx/logs:/opt/keycloak/logs:z
- ./run/keycloakx/perf:/opt/keycloak/perf:z
# Add keycloak extensions
Expand Down
3 changes: 2 additions & 1 deletion deployments/local/dev/docker-compose-provisioning.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
services:
acme-keycloak-provisioning:
image: quay.io/adorsys/keycloak-config-cli:6.0.0
# image: quay.io/adorsys/keycloak-config-cli:6.0.2-24.0.5
image: docker.io/library/keycloak-config-cli:6.0.3-25.0.1-SNAPSHOT2
env_file:
# generated via start.java
- ./../../../generated.env.tmp
Expand Down
2 changes: 1 addition & 1 deletion deployments/local/dev/keycloakx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#see https://www.keycloak.org/server/containers
ARG KEYCLOAK_VERSION=25.0.0
ARG KEYCLOAK_VERSION=25.0.1
FROM quay.io/keycloak/keycloak:$KEYCLOAK_VERSION
#FROM thomasdarimont/keycloak:21.0.999.1
USER root
Expand Down
2 changes: 1 addition & 1 deletion deployments/local/dev/keycloakx/Dockerfile-ci
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#see https://www.keycloak.org/server/containers
ARG KEYCLOAK_VERSION=25.0.0
ARG KEYCLOAK_VERSION=25.0.1
FROM quay.io/keycloak/keycloak:$KEYCLOAK_VERSION
USER root

Expand Down
2 changes: 1 addition & 1 deletion deployments/local/standalone/keycloak/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#see https://www.keycloak.org/server/containers
ARG KEYCLOAK_VERSION=25.0.0
ARG KEYCLOAK_VERSION=25.0.1
FROM quay.io/keycloak/keycloak:$KEYCLOAK_VERSION

USER root
Expand Down
2 changes: 1 addition & 1 deletion keycloak.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Global configuration for Keycloak environment
KEYCLOAK_VERSION=25.0.0
KEYCLOAK_VERSION=25.0.1
KEYCLOAK_CONFIG_FILE=standalone.xml
USER=1000
GROUP=1000
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG KEYCLOAK_VERSION=25.0.0
ARG KEYCLOAK_VERSION=25.0.1
FROM quay.io/keycloak/keycloak:$KEYCLOAK_VERSION

ENV KC_FEATURES=preview
2 changes: 1 addition & 1 deletion keycloak/docker/src/main/docker/keycloakx/Dockerfile.plain
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG KEYCLOAK_VERSION=25.0.0
ARG KEYCLOAK_VERSION=25.0.1
FROM quay.io/keycloak/keycloak:$KEYCLOAK_VERSION

USER root
Expand Down
20 changes: 10 additions & 10 deletions keycloak/extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
<microprofile-health-api.version>4.0.1</microprofile-health-api.version>
<micrometer.version>1.12.2</micrometer.version>
<httpcomponents.version>4.5.14</httpcomponents.version>
<jnats.version>2.17.6</jnats.version>
<jnats.version>2.19.1</jnats.version>
<resteasy.version>6.2.9.Final</resteasy.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -74,13 +75,6 @@
</exclusions>
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-multipart-provider</artifactId>
<version>${resteasy.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
Expand Down Expand Up @@ -158,19 +152,25 @@
</exclusions>
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-multipart-provider</artifactId>
<version>${resteasy.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-client</artifactId>
<version>${resteasy.version}</version>
<scope>provided</scope>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.jboss.resteasy</groupId>
<artifactId>resteasy-jackson2-provider</artifactId>
<version>${resteasy.version}</version>
<scope>provided</scope>
<scope>test</scope>
</dependency>

<dependency>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static KeycloakContainer createKeycloakContainer() {
}

public static KeycloakContainer createKeycloakContainer(String realmImportFileName) {
return createKeycloakContainer("quay.io/keycloak/keycloak:25.0.0", realmImportFileName);
return createKeycloakContainer("quay.io/keycloak/keycloak:25.0.1", realmImportFileName);
}

public static KeycloakContainer createKeycloakContainer(String imageName, String realmImportFileName) {
Expand Down Expand Up @@ -104,7 +104,7 @@ public static UserRef createOrUpdateTestUser(RealmResource realm, String usernam
public static GenericContainer<?> createKeycloakConfigCliContainer(KeycloakContainer keycloakContainer) {

var keycloakConfigCli = new GenericContainer<>(
"quay.io/adorsys/keycloak-config-cli:6.0.0"
"quay.io/adorsys/keycloak-config-cli:6.0.2-24.0.5"
);
keycloakConfigCli.addEnv("KEYCLOAK_AVAILABILITYCHECK_ENABLED", "true");
keycloakConfigCli.addEnv("KEYCLOAK_AVAILABILITYCHECK_TIMEOUT", "90s");
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<docker.file>keycloakx/Dockerfile.plain</docker.file>

<!-- Keycloak -->
<keycloak.version>24.0.5</keycloak.version>
<keycloak.version>25.0.1</keycloak.version>

<!-- Parameterizable Project Versions -->
<revision>1.0.0</revision>
Expand All @@ -58,7 +58,6 @@
<!-- Testing -->
<junit-jupiter.version>5.9.2</junit-jupiter.version>
<assertj-core.version>3.24.2</assertj-core.version>
<resteasy.version>6.2.7.Final</resteasy.version>
<testcontainers-keycloak.version>3.3.1</testcontainers-keycloak.version>

<!-- Tooling -->
Expand Down

0 comments on commit 90be702

Please sign in to comment.