Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 58c23d41 authored by root's avatar root
Browse files

mysql service

parent 05733755
No related branches found
No related tags found
No related merge requests found
Pipeline #34494 failed
......@@ -24,13 +24,17 @@ mysql_build:
variables:
MYSQL_DATABASE: hello_world_test
MYSQL_ROOT_PASSWORD: mysql
image: alpine:latest
services:
- mysql/mysql-server:latest
#image: mysql
before_script:
#- mysql/mysql-server:latest
- mariadb: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}"
deploy_site:
......
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