Skip to content

Commit

Permalink
25 and trying scm change for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xgp committed Jul 3, 2024
1 parent ace740d commit 7cac513
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[ci skip]')"

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Release
uses: qcastel/github-actions-maven-release@master
Expand Down
22 changes: 13 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,9 @@
</developers>

<scm>
<url>https://github.com/p2-inc/keycloak-event-metrics</url>
<connection>scm:git:https://github.com/p2-inc/keycloak-event-metrics.git</connection>
<developerConnection>scm:git:https://github.com/p2-inc/keycloak-event-metrics.git</developerConnection>
<tag>HEAD</tag>
<url>https://github.com/p2-inc/keycloak-event-metrics</url>
<connection>scm:git:[email protected]:p2-inc/keycloak-event-metrics.git</connection>
<tag>HEAD</tag>
</scm>
<issueManagement>
<system>github</system>
Expand All @@ -60,16 +59,16 @@
<!-- =============================== Build =============================== -->
<!-- ===================================================================== -->

<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>

<!-- ===================================================================== -->
<!-- ============================== Libaries ============================= -->
<!-- ===================================================================== -->
<java.version>17</java.version>
<version.org.keycloak>24.0.5</version.org.keycloak>
<java.version>21</java.version>
<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>
<version.org.testcontainers>1.19.3</version.org.testcontainers>

</properties>

Expand Down Expand Up @@ -129,6 +128,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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ public void beforeAll(ExtensionContext context) throws Exception {
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_COMMUNITY_EVENTS_METRICS_ENABLED", "true")
Expand Down

0 comments on commit 7cac513

Please sign in to comment.