Commit 6deba673 authored by root's avatar root
Browse files

mysql service

parent b13ac45e
Pipeline #34516 failed with stages
in 14 seconds
......@@ -24,18 +24,14 @@ mysql_build:
variables:
MYSQL_DATABASE: headwork
MYSQL_ROOT_PASSWORD: root
image: alpine:latest
image: mysql
services:
#- mysql/mysql-server:latest
- mariadb:latest
- mysql/mysql-server:latest
#before_script:
#- apt-get update && apt-get --assume-yes install mysql-client
#- mysql --version
script:
- apk --no-cache add mysql-client
- mysql --version
- sleep 20
- echo "SELECT 'OK';" | mysql --user=root --password="${MYSQL_ROOT_PASSWORD}" --host=localhost "${MYSQL_DATABASE}"
- echo "SELECT 'OK';" | mysql --user=root --password="${MYSQL_ROOT_PASSWORD}" --host=localhost "${MYSQL_DATABASE}"
deploy_site:
stage: deploy
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment