Drone plugin for publishing Python packages to a devpi index.
Set up drone-cli and use it to run through .drone.yml
, much like Drone itself will:
drone exec
Build the container using make
:
make docker
docker run -i plugins/drone-devpi <<EOF
{
"repo": {
"clone_url": "git://github.com/drone/drone",
"owner": "drone",
"name": "drone",
"full_name": "drone/drone"
},
"system": {
"link_url": "https://beta.drone.io"
},
"build": {
"number": 22,
"status": "success",
"started_at": 1421029603,
"finished_at": 1421029813,
"message": "Update the Readme",
"author": "johnsmith",
"author_email": "john.smith@gmail.com"
"event": "push",
"branch": "master",
"commit": "436b7a6e2abaddfd35740527353e78a227ddcb2c",
"ref": "refs/heads/master"
},
"workspace": {
"root": "/drone/src",
"path": "/drone/src/github.com/drone/drone"
},
"vargs": {
"server": "http://devpi.example.com:3141/",
"index": "guido/myindex",
"username": "guido",
"password": "secret"
}
}
EOF