Bump org.keycloak:keycloak-quarkus-server from 24.0.5 to 25.0.1 #87
4 changed files with 11 additions and 5 deletions
3
.github/workflows/pr.yaml
vendored
3
.github/workflows/pr.yaml
vendored
|
@ -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
|
||||
|
|
|
@ -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).
|
||||
|
||||
[](http://www.apache.org/licenses/)
|
||||
[](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
|
||||
|
|
5
pom.xml
5
pom.xml
|
@ -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>
|
||||
|
|
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue