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

merge

parents a9d25175 34440af3
Branches
No related tags found
No related merge requests found
Pipeline #141956 passed
......@@ -33,36 +33,51 @@ 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
- mkdir public
- cd doc
- make html
- cp -r ./build/html/. ../public
artifacts:
paths:
- public
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
\ No newline at end of file
#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
LICENSE 0 → 100644
MIT License
Copyright (c) 2022 Chair for Production Metrology and Quality Management | RWTH Aachen University
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment