Bump org.keycloak:keycloak-quarkus-server from 24.0.5 to 25.0.1 (#87)

* Bump org.keycloak:keycloak-quarkus-server from 24.0.5 to 25.0.1

Bumps org.keycloak:keycloak-quarkus-server from 24.0.5 to 25.0.1.

---
updated-dependencies:
- dependency-name: org.keycloak:keycloak-quarkus-server
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix build

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Stephan Schnabel <stephan.schnabel@posteo.de>
This commit is contained in:
dependabot[bot] 2024-06-24 09:17:28 +02:00 committed by GitHub
parent bdf9159f8e
commit da73c9d2f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 12 additions and 6 deletions

View file

@ -51,7 +51,8 @@ jobs:
- 21.1.2
- 22.0.5
- 23.0.7
- 24.0.0
- 24.0.5
- 25.0.1
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4

View file

@ -1,6 +1,6 @@
# Keycloak Metrics
Provides metrics for Keycloak user/admin events and user/client/session count. Tested on Keycloak [21-24](.github/workflows/pr.yaml#L50-L54).
Provides metrics for Keycloak user/admin events and user/client/session count. Tested on Keycloak [21-25](.github/workflows/pr.yaml#L50-L55).
[![Apache License, Version 2.0, January 2004](https://img.shields.io/github/license/kokuwaio/keycloak-event-metrics.svg?label=License)](http://www.apache.org/licenses/)
[![Maven Central](https://img.shields.io/maven-central/v/io.kokuwa.keycloak/keycloak-event-metrics.svg?label=Maven%20Central)](https://central.sonatype.com/search?namespace=io.kokuwa.keycloak&q=keycloak-event-metrics)
@ -149,13 +149,12 @@ RUN mv ${METRICS_FILE} /opt/keycloak/providers
### build keycloak with metrics
###
FROM quay.io/keycloak/keycloak:23.0.7
FROM quay.io/keycloak/keycloak:25.0.1
ENV KEYCLOAK_ADMIN=admin
ENV KEYCLOAK_ADMIN_PASSWORD=password
ENV KC_HEALTH_ENABLED=true
ENV KC_METRICS_ENABLED=true
ENV KC_LOG_CONSOLE_COLOR=true
COPY --from=metrics /opt/keycloak/providers /opt/keycloak/providers
RUN /opt/keycloak/bin/kc.sh build

View file

@ -69,7 +69,7 @@
<!-- ============================== Libaries ============================= -->
<!-- ===================================================================== -->
<version.org.keycloak>24.0.5</version.org.keycloak>
<version.org.keycloak>25.0.1</version.org.keycloak>
<version.org.keycloak.test>${version.org.keycloak}</version.org.keycloak.test>
<version.org.testcontainers>1.18.3</version.org.testcontainers>
@ -127,6 +127,11 @@
<artifactId>jboss-logging</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.jboss.logging</groupId>
<artifactId>commons-logging-jboss-logging</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>

View file

@ -54,8 +54,9 @@ public class KeycloakExtension implements BeforeAllCallback, ParameterResolver {
var container = new GenericContainer<>("quay.io/keycloak/keycloak:" + version)
.withEnv("KEYCLOAK_ADMIN", "admin")
.withEnv("KEYCLOAK_ADMIN_PASSWORD", "password")
.withEnv("KC_LOG_CONSOLE_COLOR", "true")
.withEnv("KC_LOG_LEVEL", "io.kokuwa:trace")
// otherwise port 9000 will be used, with this config we can test different keycloak versions
.withEnv("KC_LEGACY_OBSERVABILITY_INTERFACE", "true")
.withEnv("KC_HEALTH_ENABLED", "true")
.withEnv("KC_METRICS_ENABLED", "true")
.withEnv("KC_METRICS_STATS_ENABLED", "true")