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

Skip to content

Commit 81694a5

Browse files
committed
Moved filesystem stats into start_db.sh
1 parent 8feae1c commit 81694a5

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ install:
8080
- bash .travis/install_sqlcl.sh
8181
- sudo mkdir -p /dev/pdbs
8282
- sudo chmod -R 777 /dev/pdbs
83-
- df -h
8483
- if [[ ! $TRAVIS_TAG ]]; then bash .travis/start_db.sh; fi
85-
- df -h
8684

8785
before_script:
8886
- if [[ ! $TRAVIS_TAG ]]; then bash .travis/install.sh; fi

.travis/start_db.sh

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

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

0 commit comments

Comments
 (0)