mirror of
https://github.com/keycloak/keycloak.git
synced 2025-12-16 20:15:46 -06:00
Support EDB 18 (#44856)
* Support EDB 18 Closes #44494 Signed-off-by: Václav Muzikář <vmuzikar@redhat.com> * Update test-framework/db-edb/container/README.md Co-authored-by: Steven Hawkins <shawkins@redhat.com> Signed-off-by: Václav Muzikář <vaclav@muzikari.cz> --------- Signed-off-by: Václav Muzikář <vmuzikar@redhat.com> Signed-off-by: Václav Muzikář <vaclav@muzikari.cz> Co-authored-by: Steven Hawkins <shawkins@redhat.com>
This commit is contained in:
@@ -95,6 +95,10 @@ As PostgreSQL 13 is end-of-life it is now longer supported.
|
|||||||
|
|
||||||
We also updated the docs on how to use a TLS certificate for the JDBC-connection when connecting to a PostgreSQL database.
|
We also updated the docs on how to use a TLS certificate for the JDBC-connection when connecting to a PostgreSQL database.
|
||||||
|
|
||||||
|
== EnterpriseDB Advanced 18 support
|
||||||
|
|
||||||
|
EDB 18 is now tested and supported in addition to the existing EDB 17 support.
|
||||||
|
|
||||||
== Enhanced HTTP performance (preview)
|
== Enhanced HTTP performance (preview)
|
||||||
|
|
||||||
You can now enable a more efficient way to handle JSON data in the HTTP layer.
|
You can now enable a more efficient way to handle JSON data in the HTTP layer.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ The server has built-in support for different databases. You can query the avail
|
|||||||
|MySQL | `mysql` | ${properties["mysql.version"]} | 8.4 (LTS), 8.0 (LTS)
|
|MySQL | `mysql` | ${properties["mysql.version"]} | 8.4 (LTS), 8.0 (LTS)
|
||||||
|Oracle Database | `oracle` | ${properties["oracledb.version"]} | 23.x (i.e 23.5+), 19c (19.3+) (*Note:* Oracle RAC is also supported if using the same database engine version, e.g 23.5+, 19.3+)
|
|Oracle Database | `oracle` | ${properties["oracledb.version"]} | 23.x (i.e 23.5+), 19c (19.3+) (*Note:* Oracle RAC is also supported if using the same database engine version, e.g 23.5+, 19.3+)
|
||||||
|PostgreSQL | `postgres` | ${properties["postgresql.version"]} | 18.x, 17.x, 16.x, 15.x, 14.x
|
|PostgreSQL | `postgres` | ${properties["postgresql.version"]} | 18.x, 17.x, 16.x, 15.x, 14.x
|
||||||
|EnterpriseDB Advanced | `postgres` | ${properties["edb.version"]} | 17
|
|EnterpriseDB Advanced | `postgres` | ${properties["edb.version"]} | 18.x, 17.x
|
||||||
|Amazon Aurora PostgreSQL | `postgres` | ${properties["aurora-postgresql.version"]} | 17.x, 16.x, 15.x
|
|Amazon Aurora PostgreSQL | `postgres` | ${properties["aurora-postgresql.version"]} | 17.x, 16.x, 15.x
|
||||||
|Azure SQL Database | `mssql` | latest | latest
|
|Azure SQL Database | `mssql` | latest | latest
|
||||||
|Azure SQL Managed Instance | `mssql` | latest | latest
|
|Azure SQL Managed Instance | `mssql` | latest | latest
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -175,7 +175,7 @@
|
|||||||
<oracle-jdbc.version>23.6.0.24.10</oracle-jdbc.version>
|
<oracle-jdbc.version>23.6.0.24.10</oracle-jdbc.version>
|
||||||
<!-- Custom image, lives in test-framework/db-edb/container -->
|
<!-- Custom image, lives in test-framework/db-edb/container -->
|
||||||
<edb.container>quay.io/keycloakqe/enterprisedb:${edb.version}</edb.container>
|
<edb.container>quay.io/keycloakqe/enterprisedb:${edb.version}</edb.container>
|
||||||
<edb.version>17</edb.version>
|
<edb.version>18</edb.version>
|
||||||
|
|
||||||
<!-- Infinispan Server Container -->
|
<!-- Infinispan Server Container -->
|
||||||
<infinispan.container>quay.io/infinispan/server:${infinispan.version}</infinispan.container>
|
<infinispan.container>quay.io/infinispan/server:${infinispan.version}</infinispan.container>
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
FROM registry.access.redhat.com/ubi9
|
FROM registry.access.redhat.com/ubi9
|
||||||
|
|
||||||
# Get the token at https://www.enterprisedb.com/repos-downloads
|
ENV VERSION=18
|
||||||
ARG EDB_REPO_TOKEN=token-must-be-set
|
|
||||||
ENV VERSION=17
|
|
||||||
ENV PGUSER=enterprisedb
|
ENV PGUSER=enterprisedb
|
||||||
ENV PGPASSWORD=password
|
ENV PGPASSWORD=password
|
||||||
ENV PGDATABASE=keycloak
|
ENV PGDATABASE=keycloak
|
||||||
@@ -10,7 +8,10 @@ ENV PGPORT=5432
|
|||||||
|
|
||||||
ENV PGDATA=/var/lib/edb/as${VERSION}/data
|
ENV PGDATA=/var/lib/edb/as${VERSION}/data
|
||||||
|
|
||||||
RUN (curl -1sSLf "https://downloads.enterprisedb.com/${EDB_REPO_TOKEN}/enterprise/setup.rpm.sh" | bash) && \
|
# Get the token at https://www.enterprisedb.com/repos-downloads
|
||||||
|
RUN --mount=type=secret,id=edb_repo_token,required=true \
|
||||||
|
export EDB_REPO_TOKEN=$(cat /run/secrets/edb_repo_token) && \
|
||||||
|
(curl -1sSLf "https://downloads.enterprisedb.com/${EDB_REPO_TOKEN}/enterprise/setup.rpm.sh" | bash) && \
|
||||||
dnf -y install edb-as${VERSION}-server
|
dnf -y install edb-as${VERSION}-server
|
||||||
|
|
||||||
USER enterprisedb
|
USER enterprisedb
|
||||||
|
|||||||
11
test-framework/db-edb/container/README.md
Normal file
11
test-framework/db-edb/container/README.md
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
# Create test EDB image
|
||||||
|
|
||||||
|
1. Get EDB repo token from Get the token at https://www.enterprisedb.com/repos-downloads.
|
||||||
|
2. Build the multi-arch image:
|
||||||
|
```
|
||||||
|
EDB_TOKEN=[your token] podman build --secret id=edb_repo_token,env=EDB_TOKEN --manifest quay.io/keycloakqe/enterprisedb:[version] --platform=linux/arm64,linux/amd64 .
|
||||||
|
```
|
||||||
|
3. Push the multi-arch image:
|
||||||
|
```
|
||||||
|
podman manifest push quay.io/keycloakqe/enterprisedb:[version]
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user