File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,18 +80,9 @@ steps:
8080 displayName: 'Download utPLSQL'
8181
8282 - bash : |
83- ls -ltr $(CACHE_DIR)
84- if [[ -f "$(CACHE_DIR)/${ORACLE_VERSION}.tar.gz" ]]; then
85- # load docker image from cache
86- time docker load -i $(CACHE_DIR)/${ORACLE_VERSION}.tar.gz
87- else
88- docker login -u $(DOCKER_USER) -p $(DOCKER_PASSWORD)
89- # download Oracle Database docker image from private repo and start the DB
90- time docker pull ${DOCKHER_HUB_REPO}:${ORACLE_VERSION}
91- # save pulled image into cache
92- time docker save ${DOCKHER_HUB_REPO}:${ORACLE_VERSION} | | gzip -c > $(CACHE_DIR)/${ORACLE_VERSION}.tar.gz
93- ls -ltr $(CACHE_DIR)
94- fi
83+ docker login -u $(DOCKER_USER) -p $(DOCKER_PASSWORD)
84+ # download Oracle Database docker image from private repo and start the DB
85+ time docker pull ${DOCKHER_HUB_REPO}:${ORACLE_VERSION}
9586 # start the docker container (DB)
9687 time docker run -d --name ${ORACLE_VERSION} ${DOCKER_OPTIONS} -p 1521:1521 ${DOCKHER_HUB_REPO}:${ORACLE_VERSION}
9788 # Wait for DB startup
You can’t perform that action at this time.
0 commit comments