Skip to content

Commit

Permalink
fix: Prepare for productuction and pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ewuerger committed Oct 19, 2023
1 parent ece1cde commit acad936
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ 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: 1 addition & 2 deletions ci-templates/gitlab/synchronise_elements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ capella2polarion_synchronise_elements:
artifacts: true

script:
- 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
- pip install capella2polarion --pre
- >
python \
-m capella2polarion \
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies = [
"capellambse",
"click",
"PyYAML",
"polarion-rest-api-client @ git+https://github.com/DSD-DBS/polarion-rest-api-client.git@feat-add-attachments-workitem-relations",
"polarion-rest-api-client @ git+https://github.com/DSD-DBS/polarion-rest-api-client.git@v0.2.1",
"requests",
]

Expand Down

0 comments on commit acad936

Please sign in to comment.