Jenkinsfile - hibernate-spatial
This commit is contained in:
parent
d1ab98df85
commit
84a4938a52
|
@ -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') {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue