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

Skip to content

Commit ff91de2

Browse files
committed
Echo cache messages.
1 parent 5e866e3 commit ff91de2

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.travis/start_db.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set -e
44
# Create the dir to host oracledata and check if it is present on cache.
55
mkdir -p $HOME/$ORACLE_VERSION && chmod -R 777 $HOME/$ORACLE_VERSION
66
if [ -f $HOME/$ORACLE_VERSION.tar.gz ]; then
7+
echo "Restoring database from cache..."
78
sudo tar -zxf $HOME/$ORACLE_VERSION.tar.gz -C $HOME/$ORACLE_VERSION
89
fi
910

@@ -25,6 +26,7 @@ fi
2526

2627
# Save the oracledata dir to cache.
2728
if [ ! -f $HOME/$ORACLE_VERSION.tar.gz ]; then
29+
echo "Saving database to cache..."
2830
docker pause $ORACLE_VERSION
2931
sudo tar -zcf $CACHE_DIR/$ORACLE_VERSION.tar.gz $HOME/$ORACLE_VERSION
3032
docker unpause $ORACLE_VERSION

0 commit comments

Comments
 (0)