Skip to content

Commit ad178f4

Browse files
committed
Adding database build task
1 parent 4b15149 commit ad178f4

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

templates/t-extend-database-build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ parameters:
1616
- name: oracleVersion
1717
default: ""
1818
- name: dockerOptions
19+
type: string
1920
default: "--shm-size=1g"
2021
- name: dockerPortMap
22+
type: string
2123
default: "1521"
2224
- name: connectionString
2325
default: ""
@@ -51,13 +53,13 @@ stages:
5153
chmod -R go+w ${{ parameters.utplsqlDir}}
5254
displayName: 'Download utPLSQL'
5355
- task: Docker@2
56+
displayName: Docker Login
5457
inputs:
5558
containerRegistry: ${{ parameters.containerRegistry }}
5659
command: 'login'
5760
addPipelineData: false
5861
addBaseImageData: false
59-
displayName: Docker Login
60-
62+
6163
- ${{ each trg_db in parameters.targetDatabases }}:
6264
- bash: |
6365
# download Oracle Database docker image from private repo and start the DB

utlplsql-demo-project.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ stages:
3737
targetDatabases:
3838
- oracleVersion: "19c-se2-small"
3939
connectionString: "127.0.0.1:1521/ORCLCDB"
40+
dockerPortMap: "1521"
41+
dockerOptions: "--shm-size=1g"
4042
scripts:
4143
- displayName: "Install utPLSQL"
4244
user: "sys"

0 commit comments

Comments
 (0)