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
0dce4b64
Commit
0dce4b64
authored
Jul 20, 2018
by
root
Browse files
mysql-client through apt-get
parent
c2945913
Pipeline
#34213
failed with stages
in 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
0dce4b64
...
...
@@ -19,15 +19,17 @@ pages:
-
public
#only:
#- master
mysql_build
:
variables
:
MYSQL_DATABASE
:
hello_world_test
MYSQL_ROOT_PASSWORD
:
mysql
services
:
-
mysql
image
:
wangxian/alpine-mysql
#
services:
#
- mysql
#
image: wangxian/alpine-mysql
before_script
:
-
mysql --version
-
apt-get update && apt-get --assume-yes install mysql-client
script
:
-
echo "SELECT 'OK';" | mysql --user=root --password="${MYSQL_ROOT_PASSWORD}" --host=mysql "${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