Compare commits

...

6 Commits

5 changed files with 25 additions and 0 deletions

View File

@ -2,9 +2,11 @@ stages:
- test
- build
- deploy
- doc
include:
- local: .gitlab/ci/test.gitlab-ci.yml
- local: .gitlab/ci/build.gitlab-ci.yml
- local: .gitlab/ci/deploy.gitlab-ci.yml
- local: .gitlab/ci/doc.gitlab-ci.yml

View File

@ -7,3 +7,8 @@ build:
name: multi_user
paths:
- multi_user
only:
refs:
- master

View File

@ -17,3 +17,7 @@ deploy:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker tag registry.gitlab.com/slumber/multi-user/multi-user-server:${VERSION} registry.gitlab.com/slumber/multi-user/multi-user-server:${CI_COMMIT_REF_NAME}
- docker push registry.gitlab.com/slumber/multi-user/multi-user-server
only:
refs:
- master

View File

@ -0,0 +1,11 @@
pages:
stage: doc
image: python:3.7-alpine
script:
- pip install -U sphinx sphinx_rtd_theme
- sphinx-build -b html ./docs public
artifacts:
paths:
- public

View File

@ -3,3 +3,6 @@ test:
image: slumber/blender-addon-testing:latest
script:
- python3 scripts/test_addon.py
only:
refs:
- master