From 7d9cafa001111159ef87a44c2887a440c7b2cd14 Mon Sep 17 00:00:00 2001 From: Filip Hrisafov Date: Tue, 5 Nov 2024 16:51:55 +0100 Subject: [PATCH] Update supported database in CI * Add Postgres 17 and remove 11, 12, 13 * Add Oracle 23 * Add MariaDB 11.4 * Add MySQL 8.4 and remove 5.7 * Add SQL Server 2022 and remove 2017 * Add DB2 11.5.9.0 and remove 11.5.0.0a --- .github/workflows/db2.yml | 6 +++--- .github/workflows/mariadb.yml | 4 ++-- .github/workflows/mysql.yml | 2 +- .github/workflows/oracle.yml | 15 +++++++++++---- .github/workflows/postgres.yml | 2 +- pom.xml | 2 ++ 6 files changed, 20 insertions(+), 11 deletions(-) diff --git a/.github/workflows/db2.yml b/.github/workflows/db2.yml index bd0b60adb09..f83a8a378f0 100644 --- a/.github/workflows/db2.yml +++ b/.github/workflows/db2.yml @@ -18,10 +18,10 @@ jobs: strategy: fail-fast: false matrix: - db2: ["11.5.0.0a"] + db2: ["11.5.9.0"] services: db2: - image: ibmcom/db2:${{ matrix.db2 }} + image: icr.io/db2_community/db2:${{ matrix.db2 }} env: DB2INST1_PASSWORD: flowable DBNAME: flowable @@ -33,7 +33,7 @@ jobs: # needed because the db2 container does not provide a health check options: >- --privileged=true - --health-cmd="su - db2inst1 -c \"~/sqllib/bin/db2 connect to flowable && ~/sqllib/bin/db2 connect reset\"" + --health-cmd="su - db2inst1 -c \"~/sqllib/bin/db2gcf -s\"" --health-interval 30s --health-timeout 40s --health-retries 10 diff --git a/.github/workflows/mariadb.yml b/.github/workflows/mariadb.yml index 4457f84a1c3..993674171c9 100644 --- a/.github/workflows/mariadb.yml +++ b/.github/workflows/mariadb.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - mariadb: [10.6] + mariadb: [10.6, 11.4] services: mariadb: image: mariadb:${{ matrix.mariadb }} @@ -35,7 +35,7 @@ jobs: options: --health-cmd="mariadb-admin -uflowable -pflowable status" --health-interval 10s --health-timeout 5s --health-retries 5 --tmpfs /var/lib/mariadb:rw steps: - name: "Set MariaDB collation" - run: docker exec ${{ job.services.mariadb.id }} sh -c 'mysql --user=flowable --password=flowable --database=flowable --execute="alter database flowable character set utf8mb4 collate utf8mb4_bin"' + run: docker exec ${{ job.services.mariadb.id }} sh -c 'mariadb --user=flowable --password=flowable --database=flowable --execute="alter database flowable character set utf8mb4 collate utf8mb4_bin"' - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: diff --git a/.github/workflows/mysql.yml b/.github/workflows/mysql.yml index 7e6533546be..d5bb6c14f90 100644 --- a/.github/workflows/mysql.yml +++ b/.github/workflows/mysql.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - mysql: [5.7, 8.0] + mysql: [8.0, 8.4] services: mysql: image: mysql:${{ matrix.mysql }} diff --git a/.github/workflows/oracle.yml b/.github/workflows/oracle.yml index c8303bdedc5..22a3f935195 100644 --- a/.github/workflows/oracle.yml +++ b/.github/workflows/oracle.yml @@ -18,19 +18,26 @@ jobs: strategy: fail-fast: false matrix: - oracle: [ "18-slim", "21-slim" ] + oracle: [ "18-slim-faststart", "21-slim-faststart", "23-slim-faststart" ] include: - - oracle: 18-slim + - oracle: 18-slim-faststart driverVersion: 18.3.0.0 driverArtifact: ojdbc8 serviceName: XEPDB1 - - oracle: 21-slim + type: xe + - oracle: 21-slim-faststart driverVersion: 21.6.0.0.1 driverArtifact: ojdbc8 serviceName: XEPDB1 + type: xe + - oracle: 23-slim-faststart + driverVersion: 23.5.0.24.07 + driverArtifact: ojdbc11 + serviceName: FREEPDB1 + type: free services: oracle: - image: gvenzl/oracle-xe:${{ matrix.oracle }} + image: gvenzl/oracle-${{ matrix.type }}:${{ matrix.oracle }} env: ORACLE_PASSWORD: flowable APP_USER: flowable diff --git a/.github/workflows/postgres.yml b/.github/workflows/postgres.yml index 59271f077c2..53c1f906a31 100644 --- a/.github/workflows/postgres.yml +++ b/.github/workflows/postgres.yml @@ -19,7 +19,7 @@ jobs: strategy: fail-fast: false matrix: - postgres: [11, 12, 13, 14, 15, 16] + postgres: [14, 15, 16, 17] services: postgres: image: postgres:${{ matrix.postgres }} diff --git a/pom.xml b/pom.xml index 7af3768cb91..f287c5f5cc7 100644 --- a/pom.xml +++ b/pom.xml @@ -1090,6 +1090,8 @@ ${jdbc.username} ${jdbc.password} ${jdbc.driver} + false + true