1ea6374489
In order to be able to safely re-enqueue tags which previously failed release jobs after successfully uploading at least some artifacts to PyPI, instruct twine to treat "file already exists" responses as benign and ignore them, proceeding to upload any others which aren't yet there. Depends-On: https://review.opendev.org/864004 Change-Id: Iab38df6386ce5219a52787fda5e64a8faab23a06
9 lines
237 B
YAML
9 lines
237 B
YAML
- hosts: localhost
|
|
roles:
|
|
- role: ensure-twine
|
|
when: zuul_success | bool
|
|
- role: upload-pypi
|
|
pypi_path: "{{ zuul.executor.work_root }}/artifacts"
|
|
pypi_twine_skip_existing: true
|
|
when: zuul_success | bool
|