Skip to content

Commit 8302b06

Browse files
committed
Revert "HHH-15533 Introduce versionless CI matrix entries for the PostgreSQL and MySQL minimum supported version"
This reverts commit aae3513.
1 parent f8c25fd commit 8302b06

File tree

6 files changed

+10
-15
lines changed

6 files changed

+10
-15
lines changed

.github/workflows/contributor-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- rdbms: derby
4141
- rdbms: mysql8
4242
- rdbms: mariadb
43-
- rdbms: postgresql
43+
- rdbms: postgresql_9_5
4444
- rdbms: postgresql_13
4545
- rdbms: oracle
4646
- rdbms: db2

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ stage('Configure') {
3232
// new BuildEnvironment( dbName: 'derby' ),
3333
// new BuildEnvironment( dbName: 'mysql8' ),
3434
// new BuildEnvironment( dbName: 'mariadb' ),
35-
// new BuildEnvironment( dbName: 'postgresql' ),
35+
// new BuildEnvironment( dbName: 'postgresql_9_5' ),
3636
// new BuildEnvironment( dbName: 'postgresql_13' ),
3737
// new BuildEnvironment( dbName: 'oracle' ),
3838
new BuildEnvironment( dbName: 'oracle_ee' ),
@@ -130,12 +130,12 @@ stage('Build') {
130130
sh "./docker_db.sh mariadb"
131131
state[buildEnv.tag]['containerName'] = "mariadb"
132132
break;
133-
case "postgresql":
133+
case "postgresql_9_5":
134134
// use the postgis image to enable the PGSQL GIS (spatial) extension
135135
docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
136136
docker.image('postgis/postgis:9.5-2.5').pull()
137137
}
138-
sh "./docker_db.sh postgresql"
138+
sh "./docker_db.sh postgresql_9_5"
139139
state[buildEnv.tag]['containerName'] = "postgres"
140140
break;
141141
case "postgresql_13":
@@ -197,7 +197,7 @@ stage('Build') {
197197
case "tidb":
198198
runTest("-Pdb=tidb -DdbHost=localhost:4000${state[buildEnv.tag]['additionalOptions']}", 'TIDB')
199199
break;
200-
case "postgresql":
200+
case "postgresql_9_5":
201201
case "postgresql_13":
202202
runTest("-Pdb=pgsql_ci${state[buildEnv.tag]['additionalOptions']}")
203203
break;

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ The script `docker_db.sh` allows you to start a pre-configured database which ca
130130
All you have to do is run the following command:
131131

132132
----
133-
./docker_db.sh postgresql
133+
./docker_db.sh postgresql_9_5
134134
----
135135

136136
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
174174
|`./gradlew test -Pdb=mariadb_ci`
175175

176176
|PostgreSQL 9.5
177-
|`./docker_db.sh postgresql`
177+
|`./docker_db.sh postgresql_9_5`
178178
|`./gradlew test -Pdb=pgsql_ci`
179179

180180
|PostgreSQL 13

ci/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ elif [ "$RDBMS" == "mysql" ]; then
1111
goal="-Pdb=mysql_ci"
1212
elif [ "$RDBMS" == "mariadb" ]; then
1313
goal="-Pdb=mariadb_ci"
14-
elif [ "$RDBMS" == "postgresql" ]; then
14+
elif [ "$RDBMS" == "postgresql_9_5" ]; then
1515
goal="-Pdb=pgsql_ci"
1616
elif [ "$RDBMS" == "postgresql_13" ]; then
1717
goal="-Pdb=pgsql_ci"

ci/database-start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ elif [ "$RDBMS" == 'mysql8' ]; then
88
bash $DIR/../docker_db.sh mysql_8_0
99
elif [ "$RDBMS" == 'mariadb' ]; then
1010
bash $DIR/../docker_db.sh mariadb
11-
elif [ "$RDBMS" == 'postgresql' ]; then
12-
bash $DIR/../docker_db.sh postgresql
11+
elif [ "$RDBMS" == 'postgresql_9_5' ]; then
12+
bash $DIR/../docker_db.sh postgresql_9_5
1313
elif [ "$RDBMS" == 'postgresql_13' ]; then
1414
bash $DIR/../docker_db.sh postgresql_13
1515
elif [ "$RDBMS" == 'db2' ]; then

docker_db.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,6 @@ mariadb() {
8686
fi
8787
}
8888

89-
postgresql() {
90-
postgresql_9_5
91-
}
92-
9389
postgresql_9_5() {
9490
$CONTAINER_CLI rm -f postgres || true
9591
$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
531527
echo -e "\tpostgis"
532528
echo -e "\tpostgresql_13"
533529
echo -e "\tpostgresql_9_5"
534-
echo -e "\tpostgresql"
535530
echo -e "\tsybase"
536531
else
537532
${1}

0 commit comments

Comments
 (0)