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
Julien Jerphanion
Rex Dri
Commits
80dc3633
Commit
80dc3633
authored
Feb 24, 2019
by
Florent Chehab
Browse files
Updated CI for UML generation
parent
2d9098be
Changes
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
80dc3633
...
...
@@ -2,6 +2,7 @@ stages:
-
check
-
test
-
lint
-
svg-gen-docu
# required to be done before documentation and in separate stages
-
documentation
variables
:
...
...
@@ -22,8 +23,12 @@ check_back:
services
:
-
postgres:10.5
script
:
-
cd backend
-
./manage.py check
-
cd backend && ./manage.py check
-
cd ../documentation && make extract_django
# Try to generate .dot files for the system architecture
artifacts
:
paths
:
-
documentation/generated/
expire_in
:
1 hour
tags
:
-
docker
...
...
@@ -51,7 +56,7 @@ test_back:
artifacts
:
paths
:
-
backend/htmlcov/
expire_in
:
1
month
expire_in
:
1
hour
tags
:
-
docker
...
...
@@ -76,15 +81,30 @@ eslint:
tags
:
-
docker
generate_UML_svg
:
stage
:
svg-gen-docu
image
:
floawfloaw/plantuml
script
:
cd documentation && make convert_to_svg
dependencies
:
-
check_back
artifacts
:
paths
:
-
documentation/generated/
expire_in
:
1 hour
only
:
-
master
tags
:
-
docker
pages
:
stage
:
documentation
image
:
floawfloaw/plantuml
dependencies
:
-
test_back
-
generate_UML_svg
script
:
-
mkdir .public
-
mv backend/htmlcov/ .public/coverage
-
make documentation
-
mv documentation/ .public/documentation
-
mv .public public
artifacts
:
...
...
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