diff --git a/Jenkinsfile b/Jenkinsfile index 6d7beadff1..446b2964ef 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -167,7 +167,7 @@ stage('Build') { case "postgresql": // use the postgis image to enable the PGSQL GIS (spatial) extension 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" state[buildEnv.tag]['containerName'] = "postgres" diff --git a/docker_db.sh b/docker_db.sh index 27c23cbf98..7374ef5a67 100755 --- a/docker_db.sh +++ b/docker_db.sh @@ -118,7 +118,7 @@ mariadb_10_9() { } postgresql() { - postgresql_14 + postgresql_15 } 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 } +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_14 } @@ -712,6 +717,7 @@ if [ -z ${1} ]; then echo -e "\toracle_18" echo -e "\toracle_11" echo -e "\tpostgresql" + echo -e "\tpostgresql_15" echo -e "\tpostgresql_14" echo -e "\tpostgresql_13" echo -e "\tpostgresql_10" diff --git a/nightly.Jenkinsfile b/nightly.Jenkinsfile index f79dd103dd..07fb711616 100644 --- a/nightly.Jenkinsfile +++ b/nightly.Jenkinsfile @@ -151,7 +151,7 @@ stage('Build') { case "postgresql": // use the postgis image to enable the PGSQL GIS (spatial) extension 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" state[buildEnv.tag]['containerName'] = "postgres"