Skip to content
Snippets Groups Projects
Commit 0cce1092 authored by Daniel Lyons's avatar Daniel Lyons
Browse files

Modify the core sampler install script

parent 90753550
No related branches found
No related tags found
2 merge requests!1452Merge 2.8.2 to main,!1359Modify the core sampler install script
Pipeline #9938 passed
......@@ -334,10 +334,12 @@ push core_sampler:
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
before_script:
- cd apps/cli/utilities/core_sampler
- pip install flit
- pip install poetry
- pip install '.[deploy]'
script:
- FLIT_INDEX_URL=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi FLIT_USERNAME=gitlab-ci-token FLIT_PASSWORD=${CI_JOB_TOKEN} flit publish
- poetry config repositories.gitlab "https://gitlab.com/api/v4/projects/$CI_PROJECT_ID/packages/pypi"
- poetry config http-basic.gitlab gitlab-ci-token "$CI_JOB_TOKEN"
- poetry publish --repository gitlab
###############################################
# Clean Pipeline of Service and Web Images
......
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