Jenkinsfile - hibernate-spatial

This commit is contained in:
Steve Ebersole 2021-08-26 11:42:39 -05:00
parent d1ab98df85
commit 84a4938a52
2 changed files with 3 additions and 9 deletions

6
Jenkinsfile vendored
View File

@ -87,10 +87,10 @@ 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:11-2.5').pull()
docker.image('postgis:9.5-3.0').pull()
}
sh "./docker_db.sh postgresql_11"
containerName = "postgis"
sh "./docker_db.sh postgresql_9_5"
containerName = "postgres"
break;
case "oracle":
docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {

View File

@ -81,12 +81,6 @@ postgresql_13() {
docker run --name postgres -e POSTGRES_USER=hibernate_orm_test -e POSTGRES_PASSWORD=hibernate_orm_test -e POSTGRES_DB=hibernate_orm_test -p5432:5432 -d postgres:13.0
}
postgresql_11() {
# use the postgis image to enable the PGSQL GIS (spatial) extension
docker rm -f postgis || true
docker run --name postgis -e POSTGRES_USER=hibernate_orm_test -e POSTGRES_PASSWORD=hibernate_orm_test -e POSTGRES_DB=hibernate_orm_test -p5432:5432 -d postgis/postgis:11-2.5
}
edb() {
#docker login containers.enterprisedb.com
docker rm -f edb || true