Update .gitlab-ci.yml
This commit is contained in:
parent
9448231aae
commit
698dc60116
@ -19,6 +19,7 @@ connect:
|
|||||||
stage: prepare
|
stage: prepare
|
||||||
image: mysql:latest
|
image: mysql:latest
|
||||||
script:
|
script:
|
||||||
|
- apt-get update && apt-get --assume-yes install mysql-client
|
||||||
- service mysql start
|
- service mysql start
|
||||||
- echo "SELECT 'OK';" | mysql -uroot -p"$MYSQL_ROOT_PASSWORD" -h mysql "SHOW DATABASES;"
|
- echo "SELECT 'OK';" | mysql -uroot -p"$MYSQL_ROOT_PASSWORD" -h mysql "SHOW DATABASES;"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user