Drone plugins > PyPI
PyPI
by drone-plugins
This plugin allows you to publish Python pypi packages as part of your pipeline.
Example
kind: pipeline
name: default
steps:
- name: pypi_publish
image: plugins/pypi
settings:
username: john
password: secret
Properties
username
stringrequiredUsername to be used for the pypi publish.
Default: none
password
stringrequiredPassword to be used for the pypi publish.
Secret recommendedDefault: none
repository
stringoptionalThe URL of the repository to be published to.
Default: https://upload.pypi.org/legacy/
distributions
stringoptionalList of distribution types to publish.
Default: only sdist
setupfile
stringoptionalThe relative path from the workspace root to the setup.py file to be used.
Default: setup.py
skip_build
booleanoptionalSkip the build and only upload pre-build files from dist/*.
Default: false