Skip to content

Commit d58675b

Browse files
committed
Update azure-pipelines.yml for Azure Pipelines
1 parent 3f83686 commit d58675b

1 file changed

Lines changed: 3 additions & 12 deletions

File tree

azure-pipelines.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)