Skip to content

Commit

Permalink
Update supported database in CI
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
filiphr committed Nov 5, 2024
1 parent b52aeab commit 7d9cafa
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/db2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mariadb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
mariadb: [10.6]
mariadb: [10.6, 11.4]
services:
mariadb:
image: mariadb:${{ matrix.mariadb }}
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/oracle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,8 @@
<username>${jdbc.username}</username>
<password>${jdbc.password}</password>
<driver>${jdbc.driver}</driver>
<showBanner>false</showBanner>
<force>true</force>
</configuration>
</execution>
</executions>
Expand Down

0 comments on commit 7d9cafa

Please sign in to comment.