Ansible job definitions for Zuul
Go to file
Jeremy Stanley 4a04383076 pypi-upload: support twine --skip-existing option
Warehouse (the software implementing the PyPI service) expressly
disallows reuploading any file which is already present, and returns
an error if you attempt to do so. Under normal circumstances this is
desirable feedback, but if you're using this role to upload a batch
of files and encounter a network or service error partway through,
you can be left in a position where it's impossible to rerun the job
for those same artifacts later in order to correct the issue.

Add a pypi_twine_skip_existing boolean toggle to the pypi-upload
role, which will allow callers to indicate to twine that errors from
PyPI indicating a file is already present are to be treated as a
non-fatal condition so that it can proceed with uploading any which
do exist. Set its default to false, preserving the existing behavior
for the sake of backward compatibility.

In addition to the previously stated use case, this also makes it
possible to build different architecture-specific wheels in separate
jobs without needing to worry about deciding which one will include
the sdist, since they can all try to upload it safely.

Change-Id: I66a8ffce47eb5e856c3b481c20841b92e060b532
2022-11-08 13:26:22 +00:00
doc Pin py38 jobs to focal 2022-10-25 10:05:49 -07:00
playbooks linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
roles pypi-upload: support twine --skip-existing option 2022-11-08 13:26:22 +00:00
test-playbooks More narrowly tailor the ensure-pip Debian workaround 2022-10-04 11:35:24 -07:00
tests Upgrade ansible-lint to 5.0 2021-03-17 15:44:43 +00:00
tools Fix check zone role for Jammy 2022-11-02 14:26:07 -07:00
util-tasks More E208 mode fixes 2020-10-31 07:34:03 +00:00
zuul-tests.d Fix check zone role for Jammy 2022-11-02 14:26:07 -07:00
zuul.d Add tox-py311 job 2022-10-25 10:08:39 -07:00
.ansible-lint linters: update to ansible-lint 6 2022-07-27 17:13:39 +10:00
.gitignore Enable progressive mode with ansible-lint 2020-11-07 03:20:19 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:25:30 +00:00
.stestr.conf Add a python unit test framework 2018-07-25 09:11:25 -07:00
.yamllint linters: standardise on newline at end of file 2022-07-28 16:19:06 +10:00
bindep.txt Switch py3.10 testing to Ubuntu Jammy 2022-05-04 16:52:37 -07:00
CONTRIBUTING.rst Link the policy to the CONTRIBUTING.rst file 2020-01-28 07:21:08 -05:00
LICENSE Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
linters-requirements.txt ansible-lint: pin to < 6.5 2022-08-29 11:07:31 +10:00
README.rst Add installation/deprecation documentation 2018-04-11 08:03:57 -07:00
setup.cfg Add initial license, docs, and other config 2017-06-08 14:01:21 -07:00
setup.py setup.py: override modules to stop auto-detection 2022-07-27 11:14:06 +10:00
test-constraints.txt pin oauthlib version for python2.7 2022-01-27 14:35:06 +01:00
test-requirements.txt test-requirements: bump to Ansible 2.8 2022-08-12 10:08:10 +10:00
tox.ini linters: lint that library files don't start with #! 2022-09-16 07:11:58 +10:00

Zuul Jobs

This repo contains a set of Zuul jobs and Ansible roles suitable for use by any Zuul system.