Michael Steinert 601255d8ff Test against testpypi.pytyon.org
Added instructions and artifacts required to test against the PyPI test
server. Also did some minor API refactoring.

This plugin was successfully validated against the test PyPI server.
2015-11-23 10:48:51 -06:00
2015-11-23 10:48:51 -06:00
2015-11-17 15:27:12 -08:00
2015-11-17 15:27:12 -08:00
2015-11-17 12:14:30 -06:00
2015-11-23 10:48:51 -06:00
2015-11-17 10:07:09 -08:00
2015-11-12 14:30:16 -06:00
2015-11-23 10:48:51 -06:00
2015-11-23 10:48:51 -06:00
2015-11-17 12:14:30 -06:00

drone-pypi

Drone plugin for publishing to the Python package index

Usage

Upload a source distribution to PyPI

./drone-pypi <<EOF
{
	"workspace": {
		"path": "/drone/my-module-py"
	}
	"vargs": {
		"username": "guido",
		"password": "secret"
	}
}
EOF

Upload a source distribution and a wheel to PyPI

./drone-pypi <<EOF
{
	"workspace": {
		"path": "/drone/my-module-py"
	}
	"vargs": {
		"distributions": ["sdist", "bdist_wheel"],
		"username": "guido",
		"password": "secret"
	}
}
EOF

Upload a source distribution to a private PyPI server, e.g. simplepypi

./drone-pypi <<EOF
{
	"workspace": {
		"path": "/drone/my-module-py"
	}
	"vargs": {
		"repository": "https://pypi.example.com"
	}
}
EOF

Docker

Build the Docker container using the netgo build tag to eliminate the CGO dependency:

CGO_ENABLED=0 go build -a -tags netgo
docker build --rm=true -t plugins/drone-pypi .
S
Description
No description provided
Readme Apache-2.0 2.3 MiB
Languages
Go 100%