File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,8 +69,8 @@ install:
6969
7070script :
7171 - CONTAINER_IP=$(docker inspect --format '{{ .NetworkSettings.IPAddress }}' $ORACLE_VERSION)
72- - test $ORACLE_VERSION = $ORACLE_12cR1SE && CONNECTION_STR="$CONTAINER_IP:1521/ORCLPDB1"
73- - test $ORACLE_VERSION = $ORACLE_11gR2XE && CONNECTION_STR="$CONTAINER_IP:1521/XE"
72+ - test $ORACLE_VERSION = $ORACLE_12cR1SE && CONNECTION_STR="$CONTAINER_IP:1521/ORCLPDB1" || true
73+ - test $ORACLE_VERSION = $ORACLE_11gR2XE && CONNECTION_STR="$CONTAINER_IP:1521/XE" || true
7474 - bash .travis/create_utplsql_owner.sh
7575 - bash .travis/create_utplsql_user.sh
7676 - bash .travis/install_libraries.sh
Original file line number Diff line number Diff line change 2525
2626# Save the oracledata dir to cache.
2727if [ ! -f $HOME /$ORACLE_VERSION .tar.gz ]; then
28+ docker stop $ORACLE_VERSION
2829 sudo tar -zcf $CACHE_DIR /$ORACLE_VERSION .tar.gz $HOME /$ORACLE_VERSION
30+ docker start $ORACLE_VERSION
31+ docker logs -f $ORACLE_VERSION | grep -m 1 " DATABASE IS READY TO USE!" --line-buffered
2932fi
You can’t perform that action at this time.
0 commit comments