Skip to content

Commit

Permalink
wip(ci-templates)!: Install packages on special tags
Browse files Browse the repository at this point in the history
This is just for the staging pipeline.
  • Loading branch information
ewuerger committed Sep 2, 2023
1 parent 4a90b54 commit da6ae58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ stages:

.patch-pyproject-toml: &patch-pyproject-toml
- sed -i -e 's/\(^ "polarion-rest-api-client\).*",/\1",/' pyproject.toml
- pip install https://$PYPI_ARTIFACTORY_USERNAME:$PYPI_ARTIFACTORY_PASSWORD@$PYPI_ARTIFACTORY/polarion-rest-api-client/attachments/polarion_rest_api_client-attachments-py3-none-any.whl

wheel:
stage: build
Expand Down
3 changes: 2 additions & 1 deletion ci-templates/gitlab/synchronise_elements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ capella2polarion_synchronise_elements:
artifacts: true

script:
- pip install capella2polarion --pre
- pip install https://$PYPI_ARTIFACTORY_USERNAME:$PYPI_ARTIFACTORY_PASSWORD@$PYPI_ARTIFACTORY/polarion-rest-api-client/attachments/polarion_rest_api_client-attachments-py3-none-any.whl
- pip install https://$PYPI_ARTIFACTORY_USERNAME:$PYPI_ARTIFACTORY_PASSWORD@$PYPI_ARTIFACTORY/capella2polarion/less-requests/capella2polarion-less_requests-py3-none-any.whl
- >
python \
-m capella2polarion \
Expand Down

0 comments on commit da6ae58

Please sign in to comment.