Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
jlopez
wicopa
Commits
8081938e
Commit
8081938e
authored
May 22, 2019
by
remy
Browse files
update gitlab-ci.yml for the tests
parent
b0012274
Pipeline
#177
failed with stages
in 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
8081938e
stages
:
-
build
-
test
-
deploy
image
:
docker:latest
...
...
@@ -7,23 +8,31 @@ image: docker:latest
services
:
-
docker:dind
before_script
:
-
hostname
-
docker info
-
docker-compose --version
-
wget http://web.mbb.univ-montp2.fr/download/wicopa.sql.gz
-
gunzip -d wicopa.sql.gz
buildJob
:
stage
:
build
tags
:
-
bioco
script
:
-
apk update
-
apk add --no-cache py-pip python-dev libffi-dev openssl-dev gcc libc-dev make wget gzip git netstat
-
git clone https://gitlab.mbb.univ-montp2.fr/jlopez/wicopa.git
-
cd wicopa
-
wget http://web.mbb.univ-montp2.fr/download/wicopa.sql.gz
-
gunzip -d wicopa.sql.gz
-
pip install docker-compose
-
docker-compose build
TestJob
:
stage
:
test
script
:
-
docker info
RunDeployment
:
stage
:
deploy
tags
:
-
bioco
script
:
-
docker-compose up
-
netstat -naptu |grep -E "80|3306"
-
wget http://127.0.0.1:8000
-
cat index.*
Write
Preview
Supports
Markdown
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