Commit 76ec20f4 authored by Luc Yriarte's avatar Luc Yriarte
Browse files

Use common lib registry

parent d99339a7
Pipeline #29070 passed with stage
in 21 seconds
default: default:
image: python:3.7-slim-buster image: python:3.7-slim-buster
include:
- project: "osdu/platform/domain-data-mgmt-services/wellbore/lib/lib-registry"
file: "registry-setup.yml"
stages: stages:
- test - test
- deploy - deploy
...@@ -23,6 +28,6 @@ deploylib: ...@@ -23,6 +28,6 @@ deploylib:
- pip3 install -r requirements.txt - pip3 install -r requirements.txt
- pip3 install twine - pip3 install twine
- python3 setup.py sdist bdist_wheel - python3 setup.py sdist bdist_wheel
- TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=${CI_REGISTRY_USER} python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/* - TWINE_PASSWORD=${CI_JOB_TOKEN} TWINE_USERNAME=${CI_REGISTRY_USER} python -m twine upload --repository-url ${CI_API_V4_URL}/projects/${WDMS_LIB_REGISTRY}/packages/pypi dist/*
rules: rules:
- if: $CI_COMMIT_BRANCH == 'master' - if: $CI_COMMIT_BRANCH == 'master'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment