Skip to content
Snippets Groups Projects
Commit 97702961 authored by Pirklbauer's avatar Pirklbauer
Browse files

Gitlab CI setup

parent 479ebaf3
No related branches found
No related tags found
No related merge requests found
Pipeline #35208 passed
default:
image: python:3.9-alpine
tags:
- "cirunner"
stages:
- build and deploy
- pages
before_script:
- python -V
- pip install virtualenv
- virtualenv venv
- source venv/bin/activate
build and publish pip pkg:
stage: build and deploy
script:
- python setup.py sdist bdist_wheel
- pip install twine
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=gitlab-ci-token python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
artifacts:
paths:
- dist/*.whl
expire_in: 2 days
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment