Loading python/build.yml 0 → 100644 +10 −0 Original line number Diff line number Diff line --- python:build: stage: build image: registry.gitlab.com/notno/python-tests script: - pip install build - python -m build --no-isolation artifacts: paths: - dist python/twine.yml 0 → 100644 +10 −0 Original line number Diff line number Diff line --- python:twine: stage: .post image: registry.gitlab.com/notno/python-tests variables: TWINE_USERNAME: ${CI_REGISTRY_USER} TWINE_PASSWORD: ${CI_JOB_TOKEN} script: - pip install twine - twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* Loading
python/build.yml 0 → 100644 +10 −0 Original line number Diff line number Diff line --- python:build: stage: build image: registry.gitlab.com/notno/python-tests script: - pip install build - python -m build --no-isolation artifacts: paths: - dist
python/twine.yml 0 → 100644 +10 −0 Original line number Diff line number Diff line --- python:twine: stage: .post image: registry.gitlab.com/notno/python-tests variables: TWINE_USERNAME: ${CI_REGISTRY_USER} TWINE_PASSWORD: ${CI_JOB_TOKEN} script: - pip install twine - twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*