Skip to content

Commit

Permalink
Updating to latest Keycloak patch release
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Schwartz <[email protected]>
  • Loading branch information
ahus1 committed Jun 26, 2024
1 parent 19bc028 commit a240c91
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ KC_CONTAINER_IMAGE=quay.io/keycloak/keycloak:20.0.1
== Building a custom Keycloak image for minikube

. Check out https://github.com/keycloak/keycloak[Keycloak's Git repository].
. Build using `mvn clean install -DskipTests -am -pl quarkus/dist` to create a `keycloak-24.0.1.tar.gz` in folder `/quarkus/dist/target`.
. Build using `mvn clean install -DskipTests -am -pl quarkus/dist` to create a `keycloak-24.0.5.tar.gz` in folder `/quarkus/dist/target`.
. Configure the Minikube environment to use the locally built image.
+
.Example entry in the `.env` file
Expand Down Expand Up @@ -66,7 +66,7 @@ task
== Building a custom Keycloak image for OpenShift

. Check out https://github.com/keycloak/keycloak[Keycloak's Git repository].
. Build using `mvn clean install -DskipTests -am -pl quarkus/dist` to create a `keycloak-24.0.1.tar.gz` in folder `/quarkus/dist/target`.
. Build using `mvn clean install -DskipTests -am -pl quarkus/dist` to create a `keycloak-24.0.5.tar.gz` in folder `/quarkus/dist/target`.
. Build the container using https://docs.openshift.com/container-platform/4.14/cicd/builds/creating-build-inputs.html[OpenShift's binary build].
+
[source,bash]
Expand Down Expand Up @@ -99,7 +99,7 @@ task
== Building a custom Keycloak image for generic Kubernetes

. Check out https://github.com/keycloak/keycloak[Keycloak's Git repository].
. Build using `mvn clean install -DskipTests -am -pl quarkus/dist` to create a `keycloak-24.0.1.tar.gz` in folder `/quarkus/dist/target`.
. Build using `mvn clean install -DskipTests -am -pl quarkus/dist` to create a `keycloak-24.0.5.tar.gz` in folder `/quarkus/dist/target`.
. Build the container, either with Podman or with Docker.
+
In the following examples, replace `quay.io` and `quay.io/namespace/repository:tag` with the registry and the image name you are using.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<description>Keycloak Benchmark Parent</description>

<properties>
<keycloak.version>24.0.1</keycloak.version>
<keycloak.version>24.0.5</keycloak.version>
<junit5.version>5.9.3</junit5.version>
<httpclient.version>4.5.14</httpclient.version>
<maven.enforcer.plugin.version>3.4.1</maven.enforcer.plugin.version>
Expand Down
8 changes: 4 additions & 4 deletions provision/common/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ vars:
KC_DB_POOL_MAX_SIZE: '{{default "10" .KC_DB_POOL_MAX_SIZE}}'
KC_DB_POOL_MIN_SIZE: '{{default "5" .KC_DB_POOL_MIN_SIZE}}'
KC_DATABASE: '{{default "postgres" .KC_DATABASE}}'
KC_OPERATOR_TAG: '{{default "24.0.1" .KC_OPERATOR_TAG}}'
KC_OPERATOR_TAG: '{{default "24.0.5" .KC_OPERATOR_TAG}}'
KC_CONTAINER_IMAGE: '{{default "" .KC_CONTAINER_IMAGE}}'
KC_INSTANCES: '{{default "1" .KC_INSTANCES}}'
KC_CPU_REQUESTS: '{{default "0" .KC_CPU_REQUESTS}}'
Expand Down Expand Up @@ -189,7 +189,7 @@ tasks:
- mkdir -p keycloak-cli
- rm -f keycloak-cli/*.zip
- >
curl -L -f https://github.com/keycloak/keycloak/releases/download/24.0.1/keycloak-24.0.1.zip -o keycloak-cli/keycloak.zip
curl -L -f https://github.com/keycloak/keycloak/releases/download/24.0.5/keycloak-24.0.5.zip -o keycloak-cli/keycloak.zip
status:
- find keycloak-cli/keycloak.zip -mtime +1 -exec false {} +
sources:
Expand All @@ -202,11 +202,11 @@ tasks:
dir: ..
cmds:
# remove temporary folders to be extra safe
- rm -rf keycloak-cli/keycloak-24.0.1
- rm -rf keycloak-cli/keycloak-24.0.5
- rm -rf keycloak-cli/keycloak
- unzip -o -q keycloak-cli/keycloak.zip -d keycloak-cli
# the output folder depends on the version we're about to unpack
- mv keycloak-cli/keycloak-24.0.1 keycloak-cli/keycloak
- mv keycloak-cli/keycloak-24.0.5 keycloak-cli/keycloak
sources:
- keycloak-cli/keycloak.zip
- minikube/.task/subtask-{{.TASK}}.yaml
Expand Down
2 changes: 1 addition & 1 deletion provision/keycloak-tasks/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ vars:
KC_DB_POOL_MAX_SIZE: '{{default "10" .KC_DB_POOL_MAX_SIZE}}'
KC_DB_POOL_MIN_SIZE: '{{default "5" .KC_DB_POOL_MIN_SIZE}}'
KC_DATABASE: '{{default "postgres" .KC_DATABASE}}'
KC_OPERATOR_TAG: '{{default "24.0.1" .KC_OPERATOR_TAG}}'
KC_OPERATOR_TAG: '{{default "24.0.5" .KC_OPERATOR_TAG}}'
KC_CONTAINER_IMAGE: '{{default "" .KC_CONTAINER_IMAGE}}'
KC_INSTANCES: '{{default "1" .KC_INSTANCES}}'
KC_CPU_REQUESTS: '{{default "0" .KC_CPU_REQUESTS}}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
- name: latest
from:
kind: DockerImage
name: quay.io/keycloak/keycloak:24.0.1
name: quay.io/keycloak/keycloak:24.0.5
generation: 2
importPolicy:
importMode: Legacy
Expand Down

0 comments on commit a240c91

Please sign in to comment.