Skip to content
Snippets Groups Projects
Commit 551db6da authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

fix : set username to __token__ to enforce token authentifaction.

For context check eclipsefdn/helpdesk#5378 (comment 2932378)
parent 7e86a3ba
No related branches found
No related tags found
No related merge requests found
...@@ -32,9 +32,9 @@ include: ...@@ -32,9 +32,9 @@ include:
VAULT_ID_TOKEN: VAULT_ID_TOKEN:
aud: https://gitlab.eclipse.org aud: https://gitlab.eclipse.org
secrets: secrets:
TWINE_USERNAME: # TWINE_USERNAME:
vault: $EF_PROJECT_ID/pypi.org/username@cbi # vault: $EF_PROJECT_ID/pypi.org/username@cbi
file: false # file: false
TWINE_PASSWORD: TWINE_PASSWORD:
vault: $EF_PROJECT_ID/pypi.org/api-token@cbi vault: $EF_PROJECT_ID/pypi.org/api-token@cbi
file: false file: false
...@@ -46,7 +46,8 @@ include: ...@@ -46,7 +46,8 @@ include:
script: script:
- export WHEELS=$(find wheelhouse/ -name "$CI_PROJECT_NAME*.whl") - export WHEELS=$(find wheelhouse/ -name "$CI_PROJECT_NAME*.whl")
- echo "WHEELS FOUND :$WHEELS" - echo "WHEELS FOUND:\ $WHEELS"
- export TWINE_USERNAME="__token__"
- echo $TWINE_USERNAME - echo $TWINE_USERNAME
- echo $TWINE_PASSWORD - echo $TWINE_PASSWORD
- python3 -m twine upload --verbose $WHEELS - python3 -m twine upload --verbose $WHEELS
......
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