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
571a9c30
Commit
571a9c30
authored
Jul 20, 2018
by
root
Browse files
mysql host
parent
51aab3f2
Pipeline
#34252
failed with stages
in 25 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
571a9c30
...
...
@@ -24,11 +24,11 @@ mysql_build:
variables
:
MYSQL_DATABASE
:
hello_world_test
MYSQL_ROOT_PASSWORD
:
mysql
#
services:
#
- mysql
#
image:
wangxian/alpine-
mysql
services
:
-
mysql
/mysql-server:5.5
image
:
mysql
before_script
:
-
apt-get update && apt-get --assume-yes install mysql-client
#
- apt-get update && apt-get --assume-yes install mysql-client
-
mysql --version
script
:
-
echo "SELECT 'OK';" | mysql --user=root --password="${MYSQL_ROOT_PASSWORD}" --host=localhost "${MYSQL_DATABASE}"
...
...
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