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

Skip to content

Commit 8b76336

Browse files
committed
Trying to save the cache without stopping the container.
1 parent 7cd9cd1 commit 8b76336

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.travis/start_db.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ fi
3333
# Save the oracledata dir to cache.
3434
if [ ! -f $CACHE_DIR/$ORACLE_VERSION.tar.gz ]; then
3535
echo "Saving database to cache..."
36-
docker stop $ORACLE_VERSION
36+
#docker stop $ORACLE_VERSION
3737
sudo tar -zcf $CACHE_DIR/$ORACLE_VERSION.tar.gz $HOME/$ORACLE_VERSION
38-
docker start $ORACLE_VERSION
39-
docker logs -f $ORACLE_VERSION | grep -m 2 "DATABASE IS READY TO USE!" --line-buffered
38+
#docker start $ORACLE_VERSION
39+
#docker logs -f $ORACLE_VERSION | grep -m 2 "DATABASE IS READY TO USE!" --line-buffered
4040
fi

0 commit comments

Comments
 (0)