diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..3f1cfef --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +variables: + ARTIFACT_PATH: /sln/artifacts + +stages: + - package + +publish-pypi: + stage: package + image: python:python:3.12.2-alpine3.19 + script: + - pip install chardet poetry + - poetry config virtualenvs.in-project true + - poetry install -E compiler + - poetry build + - poetry source add --priority=supplemental connectone ${PYPI_REPO_URL} + - poetry config http-basic.connectone ${PYPI_REPO_USER} ${PYPI_REPO_PASSWORD} + - poetry publish -n + only: + - master