Revert "HHH-15533 Introduce versionless CI matrix entries for the PostgreSQL and MySQL minimum supported version"
This reverts commit aae3513d58
.
This commit is contained in:
parent
f8c25fda1c
commit
8302b061b2
|
@ -40,7 +40,7 @@ jobs:
|
||||||
- rdbms: derby
|
- rdbms: derby
|
||||||
- rdbms: mysql8
|
- rdbms: mysql8
|
||||||
- rdbms: mariadb
|
- rdbms: mariadb
|
||||||
- rdbms: postgresql
|
- rdbms: postgresql_9_5
|
||||||
- rdbms: postgresql_13
|
- rdbms: postgresql_13
|
||||||
- rdbms: oracle
|
- rdbms: oracle
|
||||||
- rdbms: db2
|
- rdbms: db2
|
||||||
|
|
|
@ -32,7 +32,7 @@ stage('Configure') {
|
||||||
// new BuildEnvironment( dbName: 'derby' ),
|
// new BuildEnvironment( dbName: 'derby' ),
|
||||||
// new BuildEnvironment( dbName: 'mysql8' ),
|
// new BuildEnvironment( dbName: 'mysql8' ),
|
||||||
// new BuildEnvironment( dbName: 'mariadb' ),
|
// new BuildEnvironment( dbName: 'mariadb' ),
|
||||||
// new BuildEnvironment( dbName: 'postgresql' ),
|
// new BuildEnvironment( dbName: 'postgresql_9_5' ),
|
||||||
// new BuildEnvironment( dbName: 'postgresql_13' ),
|
// new BuildEnvironment( dbName: 'postgresql_13' ),
|
||||||
// new BuildEnvironment( dbName: 'oracle' ),
|
// new BuildEnvironment( dbName: 'oracle' ),
|
||||||
new BuildEnvironment( dbName: 'oracle_ee' ),
|
new BuildEnvironment( dbName: 'oracle_ee' ),
|
||||||
|
@ -130,12 +130,12 @@ stage('Build') {
|
||||||
sh "./docker_db.sh mariadb"
|
sh "./docker_db.sh mariadb"
|
||||||
state[buildEnv.tag]['containerName'] = "mariadb"
|
state[buildEnv.tag]['containerName'] = "mariadb"
|
||||||
break;
|
break;
|
||||||
case "postgresql":
|
case "postgresql_9_5":
|
||||||
// use the postgis image to enable the PGSQL GIS (spatial) extension
|
// use the postgis image to enable the PGSQL GIS (spatial) extension
|
||||||
docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
|
docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
|
||||||
docker.image('postgis/postgis:9.5-2.5').pull()
|
docker.image('postgis/postgis:9.5-2.5').pull()
|
||||||
}
|
}
|
||||||
sh "./docker_db.sh postgresql"
|
sh "./docker_db.sh postgresql_9_5"
|
||||||
state[buildEnv.tag]['containerName'] = "postgres"
|
state[buildEnv.tag]['containerName'] = "postgres"
|
||||||
break;
|
break;
|
||||||
case "postgresql_13":
|
case "postgresql_13":
|
||||||
|
@ -197,7 +197,7 @@ stage('Build') {
|
||||||
case "tidb":
|
case "tidb":
|
||||||
runTest("-Pdb=tidb -DdbHost=localhost:4000${state[buildEnv.tag]['additionalOptions']}", 'TIDB')
|
runTest("-Pdb=tidb -DdbHost=localhost:4000${state[buildEnv.tag]['additionalOptions']}", 'TIDB')
|
||||||
break;
|
break;
|
||||||
case "postgresql":
|
case "postgresql_9_5":
|
||||||
case "postgresql_13":
|
case "postgresql_13":
|
||||||
runTest("-Pdb=pgsql_ci${state[buildEnv.tag]['additionalOptions']}")
|
runTest("-Pdb=pgsql_ci${state[buildEnv.tag]['additionalOptions']}")
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -130,7 +130,7 @@ The script `docker_db.sh` allows you to start a pre-configured database which ca
|
||||||
All you have to do is run the following command:
|
All you have to do is run the following command:
|
||||||
|
|
||||||
----
|
----
|
||||||
./docker_db.sh postgresql
|
./docker_db.sh postgresql_9_5
|
||||||
----
|
----
|
||||||
|
|
||||||
omitting the argument will print a list of possible options.
|
omitting the argument will print a list of possible options.
|
||||||
|
@ -174,7 +174,7 @@ The following table illustrates a list of commands for various databases that ca
|
||||||
|`./gradlew test -Pdb=mariadb_ci`
|
|`./gradlew test -Pdb=mariadb_ci`
|
||||||
|
|
||||||
|PostgreSQL 9.5
|
|PostgreSQL 9.5
|
||||||
|`./docker_db.sh postgresql`
|
|`./docker_db.sh postgresql_9_5`
|
||||||
|`./gradlew test -Pdb=pgsql_ci`
|
|`./gradlew test -Pdb=pgsql_ci`
|
||||||
|
|
||||||
|PostgreSQL 13
|
|PostgreSQL 13
|
||||||
|
|
|
@ -11,7 +11,7 @@ elif [ "$RDBMS" == "mysql" ]; then
|
||||||
goal="-Pdb=mysql_ci"
|
goal="-Pdb=mysql_ci"
|
||||||
elif [ "$RDBMS" == "mariadb" ]; then
|
elif [ "$RDBMS" == "mariadb" ]; then
|
||||||
goal="-Pdb=mariadb_ci"
|
goal="-Pdb=mariadb_ci"
|
||||||
elif [ "$RDBMS" == "postgresql" ]; then
|
elif [ "$RDBMS" == "postgresql_9_5" ]; then
|
||||||
goal="-Pdb=pgsql_ci"
|
goal="-Pdb=pgsql_ci"
|
||||||
elif [ "$RDBMS" == "postgresql_13" ]; then
|
elif [ "$RDBMS" == "postgresql_13" ]; then
|
||||||
goal="-Pdb=pgsql_ci"
|
goal="-Pdb=pgsql_ci"
|
||||||
|
|
|
@ -8,8 +8,8 @@ elif [ "$RDBMS" == 'mysql8' ]; then
|
||||||
bash $DIR/../docker_db.sh mysql_8_0
|
bash $DIR/../docker_db.sh mysql_8_0
|
||||||
elif [ "$RDBMS" == 'mariadb' ]; then
|
elif [ "$RDBMS" == 'mariadb' ]; then
|
||||||
bash $DIR/../docker_db.sh mariadb
|
bash $DIR/../docker_db.sh mariadb
|
||||||
elif [ "$RDBMS" == 'postgresql' ]; then
|
elif [ "$RDBMS" == 'postgresql_9_5' ]; then
|
||||||
bash $DIR/../docker_db.sh postgresql
|
bash $DIR/../docker_db.sh postgresql_9_5
|
||||||
elif [ "$RDBMS" == 'postgresql_13' ]; then
|
elif [ "$RDBMS" == 'postgresql_13' ]; then
|
||||||
bash $DIR/../docker_db.sh postgresql_13
|
bash $DIR/../docker_db.sh postgresql_13
|
||||||
elif [ "$RDBMS" == 'db2' ]; then
|
elif [ "$RDBMS" == 'db2' ]; then
|
||||||
|
|
|
@ -86,10 +86,6 @@ mariadb() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
postgresql() {
|
|
||||||
postgresql_9_5
|
|
||||||
}
|
|
||||||
|
|
||||||
postgresql_9_5() {
|
postgresql_9_5() {
|
||||||
$CONTAINER_CLI rm -f postgres || true
|
$CONTAINER_CLI rm -f postgres || true
|
||||||
$CONTAINER_CLI run --name postgres -e POSTGRES_USER=hibernate_orm_test -e POSTGRES_PASSWORD=hibernate_orm_test -e POSTGRES_DB=hibernate_orm_test -p5432:5432 -d docker.io/postgis/postgis:9.5-2.5
|
$CONTAINER_CLI run --name postgres -e POSTGRES_USER=hibernate_orm_test -e POSTGRES_PASSWORD=hibernate_orm_test -e POSTGRES_DB=hibernate_orm_test -p5432:5432 -d docker.io/postgis/postgis:9.5-2.5
|
||||||
|
@ -531,7 +527,6 @@ if [ -z ${1} ]; then
|
||||||
echo -e "\tpostgis"
|
echo -e "\tpostgis"
|
||||||
echo -e "\tpostgresql_13"
|
echo -e "\tpostgresql_13"
|
||||||
echo -e "\tpostgresql_9_5"
|
echo -e "\tpostgresql_9_5"
|
||||||
echo -e "\tpostgresql"
|
|
||||||
echo -e "\tsybase"
|
echo -e "\tsybase"
|
||||||
else
|
else
|
||||||
${1}
|
${1}
|
||||||
|
|
Loading…
Reference in New Issue