Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Wellbore
Lib
Wellbore-core
Wellbore-client-storage
Commits
76ec20f4
Commit
76ec20f4
authored
Mar 01, 2021
by
Luc Yriarte
Browse files
Use common lib registry
parent
d99339a7
Pipeline
#29070
passed with stage
in 21 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
76ec20f4
default
:
image
:
python:3.7-slim-buster
include
:
-
project
:
"
osdu/platform/domain-data-mgmt-services/wellbore/lib/lib-registry"
file
:
"
registry-setup.yml"
stages
:
-
test
-
deploy
...
...
@@ -23,6 +28,6 @@ deploylib:
-
pip3 install -r requirements.txt
-
pip3 install twine
-
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
:
-
if
:
$CI_COMMIT_BRANCH == 'master'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment