HHH-15863 Update PostgreSQL testing to version 15

This commit is contained in:
Christian Beikov 2022-12-14 20:39:34 +01:00
parent e61baab946
commit ae54ca8ae7
3 changed files with 9 additions and 3 deletions

2
Jenkinsfile vendored
View File

@ -167,7 +167,7 @@ stage('Build') {
case "postgresql": case "postgresql":
// 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:14-3.3').pull() docker.image('postgis/postgis:15-3.3').pull()
} }
sh "./docker_db.sh postgresql" sh "./docker_db.sh postgresql"
state[buildEnv.tag]['containerName'] = "postgres" state[buildEnv.tag]['containerName'] = "postgres"

View File

@ -118,7 +118,7 @@ mariadb_10_9() {
} }
postgresql() { postgresql() {
postgresql_14 postgresql_15
} }
postgresql_9_5() { postgresql_9_5() {
@ -141,6 +141,11 @@ postgresql_14() {
$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:14-3.3 $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:14-3.3
} }
postgresql_15() {
$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:15-3.3
}
edb() { edb() {
edb_14 edb_14
} }
@ -712,6 +717,7 @@ if [ -z ${1} ]; then
echo -e "\toracle_18" echo -e "\toracle_18"
echo -e "\toracle_11" echo -e "\toracle_11"
echo -e "\tpostgresql" echo -e "\tpostgresql"
echo -e "\tpostgresql_15"
echo -e "\tpostgresql_14" echo -e "\tpostgresql_14"
echo -e "\tpostgresql_13" echo -e "\tpostgresql_13"
echo -e "\tpostgresql_10" echo -e "\tpostgresql_10"

View File

@ -151,7 +151,7 @@ stage('Build') {
case "postgresql": case "postgresql":
// 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:14-3.3').pull() docker.image('postgis/postgis:15-3.3').pull()
} }
sh "./docker_db.sh postgresql" sh "./docker_db.sh postgresql"
state[buildEnv.tag]['containerName'] = "postgres" state[buildEnv.tag]['containerName'] = "postgres"