feat: add gitlab-ci

This commit is contained in:
Georg K 2024-04-09 02:58:30 +03:00
parent 85d2990ca1
commit ecbe8dc04d

19
.gitlab-ci.yml Normal file
View File

@ -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