Skip to content

Commit

Permalink
midpoint-main-generic-oracle-pipeline: Oracle container parameterized
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Oct 4, 2022
1 parent 1bce6c6 commit 84e4b2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/jenkins/midpoint-main-generic-oracle-pipeline
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ spec:
claimName: \${4}
containers:
- name: oracle
image: '\${5:-container-registry.oracle.com/database/express:21.3.0-xe}'
image: "${params.DB_IMAGE ?: 'container-registry.oracle.com/database/express:21.3.0-xe'}"
ports:
- name: oracle
containerPort: 1521
Expand Down Expand Up @@ -131,8 +131,8 @@ echo
# 10 => 10Gi space, 5 is not enough for our tests and causes errors:
# ORA-01691: unable to extend lob segment MIDPOINT.SYS_LOB... by 1024 in tablespace USERS
createPVC jenkins test-db-${JOB_NAME}-${BUILD_NUMBER} 10 | tee ../logs-${JOB_NAME}-${BUILD_NUMBER}/dbpvc
createDBPod jenkins test-db ${JOB_NAME}-${BUILD_NUMBER} test-db-${JOB_NAME}-${BUILD_NUMBER} \
container-registry.oracle.com/database/express:21.3.0-xe | tee ../logs-${JOB_NAME}-${BUILD_NUMBER}/dbpod
createDBPod jenkins test-db ${JOB_NAME}-${BUILD_NUMBER} test-db-${JOB_NAME}-${BUILD_NUMBER} |
tee ../logs-${JOB_NAME}-${BUILD_NUMBER}/dbpod
pvcdbname="\$(cat ../logs-${JOB_NAME}-${BUILD_NUMBER}/dbpvc)"
poddbname="\$(cat ../logs-${JOB_NAME}-${BUILD_NUMBER}/dbpod)"

Expand Down

0 comments on commit 84e4b2f

Please sign in to comment.