Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8feae1c

Browse files
committed
Adding timing to docker operations.
1 parent 37d27b9 commit 8feae1c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.travis/start_db.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ else
1010
mkdir -p $HOME/.docker && cp $CACHE_DIR/.docker/config.json $HOME/.docker/
1111
fi
1212

13-
docker pull $DOCKHER_HUB_REPO:$ORACLE_VERSION
13+
time docker pull $DOCKHER_HUB_REPO:$ORACLE_VERSION
1414
docker run -d --name $ORACLE_VERSION $DOCKER_OPTIONS -p 1521:1521 $DOCKHER_HUB_REPO:$ORACLE_VERSION
15-
docker logs -f $ORACLE_VERSION | grep -m 1 "DATABASE IS READY TO USE!" --line-buffered
15+
time docker logs -f $ORACLE_VERSION | grep -m 1 "DATABASE IS READY TO USE!" --line-buffered

0 commit comments

Comments
 (0)