Commit d7b0d3de authored by Ruben ten Hove's avatar Ruben ten Hove Committed by Federico Falconieri
Browse files

feat: python build and twine jobs

parent 9d8037ee
Loading
Loading
Loading
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/*