Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 6deba673 authored by root's avatar root
Browse files

mysql service

parent b13ac45e
No related branches found
No related tags found
No related merge requests found
Pipeline #34516 failed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment