HIB-57 Re-enable testing of IBM DB2 10.5 in Hibernate ORM
This commit is contained in:
parent
2e2d2948b0
commit
3b40e53c4b
|
@ -232,7 +232,7 @@ db2_11_5() {
|
||||||
db2_10_5() {
|
db2_10_5() {
|
||||||
$PRIVILEGED_CLI $CONTAINER_CLI rm -f db2 || true
|
$PRIVILEGED_CLI $CONTAINER_CLI rm -f db2 || true
|
||||||
# The sha represents the tag 10.5.0.5-3.10.0
|
# The sha represents the tag 10.5.0.5-3.10.0
|
||||||
$PRIVILEGED_CLI $CONTAINER_CLI run --name db2 --privileged -e DB2INST1_PASSWORD=db2inst1-pwd -e LICENSE=accept -p 50000:50000 -d ${DB_IMAGE_DB2_10_5:-docker.io/ibmoms/db2express-c@sha256:a499afd9709a1f69fb41703e88def9869955234c3525547e2efc3418d1f4ca2b} db2start
|
$PRIVILEGED_CLI $CONTAINER_CLI run --name db2 --privileged -e DB2INST1_PASSWORD=db2inst1-pwd -e LICENSE=accept -p 50000:50000 -d ${DB_IMAGE_DB2_10_5:-quay.io/hibernate/db2express-c@sha256:a499afd9709a1f69fb41703e88def9869955234c3525547e2efc3418d1f4ca2b} db2start
|
||||||
# Give the container some time to start
|
# Give the container some time to start
|
||||||
OUTPUT=
|
OUTPUT=
|
||||||
while [[ $OUTPUT != *"DB2START"* ]]; do
|
while [[ $OUTPUT != *"DB2START"* ]]; do
|
||||||
|
|
|
@ -32,7 +32,7 @@ stage('Configure') {
|
||||||
new BuildEnvironment( dbName: 'mariadb_10_5' ),
|
new BuildEnvironment( dbName: 'mariadb_10_5' ),
|
||||||
new BuildEnvironment( dbName: 'postgresql_12' ),
|
new BuildEnvironment( dbName: 'postgresql_12' ),
|
||||||
new BuildEnvironment( dbName: 'edb_12' ),
|
new BuildEnvironment( dbName: 'edb_12' ),
|
||||||
// new BuildEnvironment( dbName: 'db2_10_5', longRunning: true ),
|
new BuildEnvironment( dbName: 'db2_10_5', longRunning: true ),
|
||||||
new BuildEnvironment( dbName: 'mssql_2017' ), // Unfortunately there is no SQL Server 2008 image, so we have to test with 2017
|
new BuildEnvironment( dbName: 'mssql_2017' ), // Unfortunately there is no SQL Server 2008 image, so we have to test with 2017
|
||||||
// new BuildEnvironment( dbName: 'sybase_16' ), // There only is a Sybase ASE 16 image, so no pint in testing that nightly
|
// new BuildEnvironment( dbName: 'sybase_16' ), // There only is a Sybase ASE 16 image, so no pint in testing that nightly
|
||||||
new BuildEnvironment( dbName: 'sybase_jconn' ),
|
new BuildEnvironment( dbName: 'sybase_jconn' ),
|
||||||
|
@ -137,8 +137,8 @@ stage('Build') {
|
||||||
state[buildEnv.tag]['containerName'] = "edb"
|
state[buildEnv.tag]['containerName'] = "edb"
|
||||||
break;
|
break;
|
||||||
case "db2_10_5":
|
case "db2_10_5":
|
||||||
docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
|
docker.withRegistry('https://quay.io', 'hibernate.quay.io') {
|
||||||
docker.image('ibmoms/db2express-c@sha256:a499afd9709a1f69fb41703e88def9869955234c3525547e2efc3418d1f4ca2b').pull()
|
docker.image('hibernate/db2express-c@sha256:a499afd9709a1f69fb41703e88def9869955234c3525547e2efc3418d1f4ca2b').pull()
|
||||||
}
|
}
|
||||||
sh "./docker_db.sh db2_10_5"
|
sh "./docker_db.sh db2_10_5"
|
||||||
state[buildEnv.tag]['containerName'] = "db2"
|
state[buildEnv.tag]['containerName'] = "db2"
|
||||||
|
|
Loading…
Reference in New Issue