zuul-jobs/roles/upload-pypi
Paul Belanger f94b0b809d
Add upload-pypi role
Create a role to upload python artificats using twine

username and password are required, so remove them from
defaults. Install twine in the homedir by default if the twine command
is not found.

Upload wheels if found first, then tarballs.
Change-Id: I8857e2983e1175107164536d57e313a5b404bddb
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-08-22 16:08:09 -04:00
..
defaults Add upload-pypi role 2017-08-22 16:08:09 -04:00
tasks Add upload-pypi role 2017-08-22 16:08:09 -04:00
templates Add upload-pypi role 2017-08-22 16:08:09 -04:00
README.rst Add upload-pypi role 2017-08-22 16:08:09 -04:00

Upload python packages to PyPI

Role Variables

Complex argument which contains the information about the PyPI server as well as the authentication information needed. It is expected that this argument comes from a Secret.

Username to use to log in to PyPI.

Password to use to log in to PyPI.