diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff220685def8e801798e78759b341bfc8b750485..30977d45f1475dec92472dc6d95c63540314bacf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..38fb46aaad50584e54565799d636ee8b803d2b9f --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +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.