Skip to content

Commit

Permalink
Added MySQL for Integration Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
matake01 committed Oct 5, 2017
1 parent 1043bc5 commit 548d220
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/integration-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ DB_USERNAME='appuser'
DB_PASSWORD='appuser'
HIBERNATE_DIALECT='org.hibernate.dialect.MySQLDialect'
HIBERNATE_HBM2DDL_AUTO='create-drop'
LOG_DIR='log'

# MySQL Generics
MYSQL_SERVER_VERSION='5.6'
Expand Down Expand Up @@ -109,6 +110,7 @@ run_application () {
-e DB_PASSWORD=$DB_PASSWORD \
-e HIBERNATE_DIALECT=$HIBERNATE_DIALECT \
-e HIBERNATE_HBM2DDL_AUTO=$HIBERNATE_HBM2DDL_AUTO \
-e LOG_DIR=$LOG_DIR \
-d $DOCKER_REGISTRY/$DOCKER_IMAGE

\sleep 3
Expand Down

0 comments on commit 548d220

Please sign in to comment.