Added MariaDB to Legacy Store IT. (#16157)

This commit is contained in:
Miquel Simon 2023-01-10 17:37:27 +01:00 committed by GitHub
parent d797d07d8f
commit 7bd78f604a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View file

@ -271,7 +271,7 @@ jobs:
timeout-minutes: 45 timeout-minutes: 45
strategy: strategy:
matrix: matrix:
db: [postgres, mysql, oracle, mssql] # 'mariadb' is not always shutting down db: [postgres, mysql, oracle, mssql, mariadb]
fail-fast: false fail-fast: false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3

View file

@ -145,7 +145,7 @@
<mysql-jdbc.version>8.0.30</mysql-jdbc.version> <mysql-jdbc.version>8.0.30</mysql-jdbc.version>
<postgresql.version>13.2</postgresql.version> <postgresql.version>13.2</postgresql.version>
<postgresql-jdbc.version>42.5.1</postgresql-jdbc.version> <postgresql-jdbc.version>42.5.1</postgresql-jdbc.version>
<mariadb.version>10.3.27</mariadb.version> <mariadb.version>10.6</mariadb.version>
<mariadb-jdbc.version>2.7.2</mariadb-jdbc.version> <mariadb-jdbc.version>2.7.2</mariadb-jdbc.version>
<mssql.version>2019-latest</mssql.version> <mssql.version>2019-latest</mssql.version>
<mssql-jdbc.version>9.2.0.jre8</mssql-jdbc.version> <mssql-jdbc.version>9.2.0.jre8</mssql-jdbc.version>

View file

@ -535,7 +535,7 @@
<jdbc.mvn.groupId>org.mariadb.jdbc</jdbc.mvn.groupId> <jdbc.mvn.groupId>org.mariadb.jdbc</jdbc.mvn.groupId>
<jdbc.mvn.artifactId>mariadb-java-client</jdbc.mvn.artifactId> <jdbc.mvn.artifactId>mariadb-java-client</jdbc.mvn.artifactId>
<jdbc.mvn.version>${mariadb-jdbc.version}</jdbc.mvn.version> <jdbc.mvn.version>${mariadb-jdbc.version}</jdbc.mvn.version>
<docker.database.image>mariadb:${mariadb.version}</docker.database.image> <docker.database.image>docker.io/mariadb:${mariadb.version}</docker.database.image>
<docker.database.port>3306</docker.database.port> <docker.database.port>3306</docker.database.port>
<docker.database.skip>false</docker.database.skip> <docker.database.skip>false</docker.database.skip>
<!-- Need to explicitly enable utf8 as it is not the default settings in the mariadb docker image --> <!-- Need to explicitly enable utf8 as it is not the default settings in the mariadb docker image -->

View file

@ -366,6 +366,7 @@
<!-- Do not use waiting for port since that is unreliable, sometimes port is listening before DB is ready to serve --> <!-- Do not use waiting for port since that is unreliable, sometimes port is listening before DB is ready to serve -->
<log>${docker.database.wait-for-log-regex}</log> <log>${docker.database.wait-for-log-regex}</log>
<time>300000</time> <time>300000</time>
<kill>10000</kill>
<exec> <exec>
<postStart>${docker.database.postStart}</postStart> <postStart>${docker.database.postStart}</postStart>
<breakOnError>true</breakOnError> <breakOnError>true</breakOnError>