HHH-15863 Update PostgreSQL testing to version 15
This commit is contained in:
parent
e61baab946
commit
ae54ca8ae7
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue