Update .gitlab-ci.yml

This commit is contained in:
Bossanyi Tibor 2020-05-10 08:02:35 +00:00
parent 9448231aae
commit 698dc60116

View File

@ -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;"