Skip to content
Snippets Groups Projects
Commit 69559566 authored by Matthias Stefan Bodenbenner's avatar Matthias Stefan Bodenbenner
Browse files

Update .gitlab-ci.yml

parent ce83b46f
No related branches found
No related tags found
No related merge requests found
Pipeline #135784 failed
......@@ -33,36 +33,49 @@ Push Wheel to Package Registry:
- python -m twine upload -u gitlab-ci-token -p $CI_JOB_TOKEN --verbose --repository-url https://git-ce.rwth-aachen.de/api/v4/projects/${CI_PROJECT_ID}/packages/pypi dist/*
Build Documentation:
image: docker:20.10
# image: docker:20.10
# stage: build
# only:
# - master
# tags:
# - frodo
# script:
# - docker build -t ${CI_REGISTRY}/${CI_PROJECT_PATH} .
image: python:3.9
stage: build
only:
- master
tags:
- frodo
script:
- docker build -t ${CI_REGISTRY}/${CI_PROJECT_PATH} .
Push Documentation:
image: docker:20.10
stage: push
only:
- master
tags:
- frodo
script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push ${CI_REGISTRY}/${CI_PROJECT_PATH}:latest
- pip3 install -r requirements.txt
- cd doc
- make htmlc
artifacts:
paths:
- /home/doc/build/html
Deploy Documentation:
stage: deploy
only:
- master
tags:
- sam
needs: ["Push Documentation"]
script:
- ls
- docker stop documentation-mqtt
- docker container rm documentation-mqtt
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker-compose up -d
#Push Documentation:
# image: docker:20.10
# stage: push
# only:
# - master
# tags:
# - frodo
# script:
# - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
# - docker push ${CI_REGISTRY}/${CI_PROJECT_PATH}:latest
#Deploy Documentation:
# stage: deploy
# only:
# - master
# tags:
# - sam
# needs: ["Push Documentation"]
# script:
# - ls
# - docker stop documentation-mqtt
# - docker container rm documentation-mqtt
# - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
# - docker-compose up -d
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment