.gitlab-ci.yml mysql test
This commit is contained in:
parent
da68faefa0
commit
b069ea4d66
@ -19,6 +19,7 @@ before_script:
|
|||||||
- echo `pwd` # debug
|
- echo `pwd` # debug
|
||||||
- echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug
|
- echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug
|
||||||
- export GRADLE_USER_HOME=`pwd`/.gradle
|
- export GRADLE_USER_HOME=`pwd`/.gradle
|
||||||
|
- mysql --version
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
@ -39,6 +40,7 @@ build:
|
|||||||
test:
|
test:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
|
- echo "SELECT 'OK';" | mysql --user=root --password="${MYSQL_ROOT_PASSWORD}" --host=mysql "${MYSQL_DATABASE}"
|
||||||
- ./gradlew check -Pargs='spring.profiles.active=deploy'
|
- ./gradlew check -Pargs='spring.profiles.active=deploy'
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
Loading…
Reference in New Issue
Block a user