Skip to content

Commit 3b40e53

Browse files
committed
HIB-57 Re-enable testing of IBM DB2 10.5 in Hibernate ORM
1 parent 2e2d294 commit 3b40e53

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docker_db.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ db2_11_5() {
232232
db2_10_5() {
233233
$PRIVILEGED_CLI $CONTAINER_CLI rm -f db2 || true
234234
# The sha represents the tag 10.5.0.5-3.10.0
235-
$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
235+
$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
236236
# Give the container some time to start
237237
OUTPUT=
238238
while [[ $OUTPUT != *"DB2START"* ]]; do

nightly.Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ stage('Configure') {
3232
new BuildEnvironment( dbName: 'mariadb_10_5' ),
3333
new BuildEnvironment( dbName: 'postgresql_12' ),
3434
new BuildEnvironment( dbName: 'edb_12' ),
35-
// new BuildEnvironment( dbName: 'db2_10_5', longRunning: true ),
35+
new BuildEnvironment( dbName: 'db2_10_5', longRunning: true ),
3636
new BuildEnvironment( dbName: 'mssql_2017' ), // Unfortunately there is no SQL Server 2008 image, so we have to test with 2017
3737
// new BuildEnvironment( dbName: 'sybase_16' ), // There only is a Sybase ASE 16 image, so no pint in testing that nightly
3838
new BuildEnvironment( dbName: 'sybase_jconn' ),
@@ -137,8 +137,8 @@ stage('Build') {
137137
state[buildEnv.tag]['containerName'] = "edb"
138138
break;
139139
case "db2_10_5":
140-
docker.withRegistry('https://index.docker.io/v1/', 'hibernateci.hub.docker.com') {
141-
docker.image('ibmoms/db2express-c@sha256:a499afd9709a1f69fb41703e88def9869955234c3525547e2efc3418d1f4ca2b').pull()
140+
docker.withRegistry('https://quay.io', 'hibernate.quay.io') {
141+
docker.image('hibernate/db2express-c@sha256:a499afd9709a1f69fb41703e88def9869955234c3525547e2efc3418d1f4ca2b').pull()
142142
}
143143
sh "./docker_db.sh db2_10_5"
144144
state[buildEnv.tag]['containerName'] = "db2"

0 commit comments

Comments
 (0)