|
@ -2,7 +2,7 @@ stages: |
|
|
- test |
|
|
- test |
|
|
- deploy |
|
|
- deploy |
|
|
|
|
|
|
|
|
tests: |
|
|
|
|
|
|
|
|
server-tests: |
|
|
image: python:3.6-slim-stretch |
|
|
image: python:3.6-slim-stretch |
|
|
stage: test |
|
|
stage: test |
|
|
script: |
|
|
script: |
|
@ -13,16 +13,25 @@ tests: |
|
|
tags: |
|
|
tags: |
|
|
- docker |
|
|
- docker |
|
|
|
|
|
|
|
|
|
|
|
administration-client-tests: |
|
|
|
|
|
image: node:8.11-stretch |
|
|
|
|
|
stage: test |
|
|
|
|
|
script: |
|
|
|
|
|
- yarn install |
|
|
|
|
|
- yarn run test:unit |
|
|
|
|
|
tags: |
|
|
|
|
|
- docker |
|
|
|
|
|
|
|
|
pages: |
|
|
pages: |
|
|
image: python:3.6-slim-stretch |
|
|
image: python:3.6-slim-stretch |
|
|
stage: deploy |
|
|
stage: deploy |
|
|
script: |
|
|
script: |
|
|
- python3 -m pip install pipenv |
|
|
|
|
|
- cd server |
|
|
|
|
|
- pipenv install --dev --system |
|
|
|
|
|
- cd documentation |
|
|
|
|
|
- sphinx-build -M html "." "_build" |
|
|
|
|
|
- mv _build/html/ ../../public/ |
|
|
|
|
|
|
|
|
- python3 -m pip install pipenv |
|
|
|
|
|
- cd server |
|
|
|
|
|
- pipenv install --dev --system |
|
|
|
|
|
- cd documentation |
|
|
|
|
|
- sphinx-build -M html "." "_build" |
|
|
|
|
|
- mv _build/html/ ../../public/ |
|
|
artifacts: |
|
|
artifacts: |
|
|
paths: |
|
|
paths: |
|
|
- public |
|
|
- public |
|
|