From ecbe8dc04d847911b2e3605430c4849554a2dd19 Mon Sep 17 00:00:00 2001 From: Georg K Date: Tue, 9 Apr 2024 02:58:30 +0300 Subject: [PATCH] feat: add gitlab-ci --- .gitlab-ci.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitlab-ci.yml 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