-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1162 from ma1uta/main
Keycloak 26.0.0
- Loading branch information
Showing
19 changed files
with
2,520 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Used in docker-compose | ||
# shellcheck disable=SC2034 | ||
KEYCLOAK_VERSION=25.0.1 | ||
KEYCLOAK_VERSION=26.0.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,11 +33,19 @@ jobs: | |
env: | ||
# we keep 18.0.2 for backwards compatibility with RH-SSO 7.6 | ||
- KEYCLOAK_VERSION: 18.0.2 | ||
KEYCLOAK_CLIENT_VERSION: 18.0.2 | ||
- KEYCLOAK_VERSION: 21.1.2 | ||
KEYCLOAK_CLIENT_VERSION: 21.1.2 | ||
- KEYCLOAK_VERSION: 22.0.4 | ||
KEYCLOAK_CLIENT_VERSION: 22.0.4 | ||
- KEYCLOAK_VERSION: 23.0.7 | ||
KEYCLOAK_CLIENT_VERSION: 23.0.7 | ||
- KEYCLOAK_VERSION: 24.0.5 | ||
KEYCLOAK_CLIENT_VERSION: 24.0.5 | ||
- KEYCLOAK_VERSION: 25.0.1 | ||
KEYCLOAK_CLIENT_VERSION: 25.0.1 | ||
- KEYCLOAK_VERSION: 26.0.5 | ||
KEYCLOAK_CLIENT_VERSION: 26.0.2 | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
|
@@ -55,6 +63,11 @@ jobs: | |
key: ${{ runner.os }}-maven-${{ matrix.env.KEYCLOAK_VERSION }}-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-maven-${{ matrix.env.KEYCLOAK_VERSION }} | ||
|
||
- name: Adapt sources for Keycloak versions < 26.0.0 | ||
if: ${{ matrix.env.KEYCLOAK_VERSION < '26.0.0' }} | ||
run: | | ||
echo "COMPATIBILITY_PROFILE=-Ppre-keycloak26" >> $GITHUB_ENV | ||
- name: Adapt sources for Keycloak versions < 23.0.0 | ||
if: ${{ matrix.env.KEYCLOAK_VERSION < '23.0.0' }} | ||
run: | | ||
|
@@ -72,7 +85,7 @@ jobs: | |
echo "COMPATIBILITY_PROFILE=-Ppre-keycloak19" >> $GITHUB_ENV | ||
- name: Build & Test | ||
run: ./mvnw ${MAVEN_CLI_OPTS} -Dkeycloak.version=${{ matrix.env.KEYCLOAK_VERSION }} ${ADJUSTED_RESTEASY_VERSION} clean verify -Pcoverage ${COMPATIBILITY_PROFILE} | ||
run: ./mvnw ${MAVEN_CLI_OPTS} -Dkeycloak.version=${{ matrix.env.KEYCLOAK_VERSION }} -Dkeycloak.client.version=${{ matrix.env.KEYCLOAK_CLIENT_VERSION }} ${ADJUSTED_RESTEASY_VERSION} clean verify -Pcoverage ${COMPATIBILITY_PROFILE} | ||
|
||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
|
@@ -140,6 +153,7 @@ jobs: | |
with: | ||
build-args: |- | ||
KEYCLOAK_VERSION=${{ matrix.env.KEYCLOAK_VERSION }} | ||
KEYCLOAK_CLIENT_VERSION=${{ matrix.env.KEYCLOAK_CLIENT_VERSION }} | ||
MAVEN_CLI_OPTS=${{ env.MAVEN_CLI_OPTS }} ${{ env.ADJUSTED_RESTEASY_VERSION }} ${{ env.COMPATIBILITY_PROFILE }} | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
|
@@ -207,6 +221,7 @@ jobs: | |
matrix: | ||
env: | ||
- KEYCLOAK_VERSION: 19.0.3 | ||
KEYCLOAK_CLIENT_VERSION: 19.0.3 | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
|
@@ -232,7 +247,7 @@ jobs: | |
echo "COMPATIBILITY_PROFILE=-Ppre-keycloak22" >> $GITHUB_ENV | ||
echo "ADJUSTED_RESTEASY_VERSION=-Dresteasy.version=4.7.7.Final" >> $GITHUB_ENV | ||
- name: Build & Test | ||
run: ./mvnw ${MAVEN_CLI_OPTS} -Dkeycloak.version=${{ matrix.env.KEYCLOAK_VERSION }} -Dkeycloak.dockerTagSuffix="-legacy" ${ADJUSTED_RESTEASY_VERSION} clean verify ${COMPATIBILITY_PROFILE} | ||
run: ./mvnw ${MAVEN_CLI_OPTS} -Dkeycloak.version=${{ matrix.env.KEYCLOAK_VERSION }} -Dkeycloak.client.version=${{ matrix.env.KEYCLOAK_CLIENT_VERSION }} -Dkeycloak.dockerTagSuffix="-legacy" ${ADJUSTED_RESTEASY_VERSION} clean verify ${COMPATIBILITY_PROFILE} | ||
|
||
lint-other-files: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.