Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
druid-public
headwork
Commits
6deba673
Commit
6deba673
authored
Jul 23, 2018
by
root
Browse files
mysql service
parent
b13ac45e
Pipeline
#34516
failed with stages
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
6deba673
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment