feat: add gitlab-ci
This commit is contained in:
parent
85d2990ca1
commit
ecbe8dc04d
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user