project-config/jenkins/jobs/pypi-jobs.yaml
Jeremy Stanley 05fbd2c204 Sign all tarballs and wheels
Now that the tarball signing job has been proven to work for the
bindep 2.0.1 release, use it for all releases and pre-releases that
run our {name}-tarball job.

This reverts commit 1a2539a225 and
part of commit 63b56462bc.

Change-Id: I4e8564df4ec2146e6a13ffc0fc4f582b6f383f9c
2016-08-03 14:01:24 +00:00

26 lines
803 B
YAML

- job-template:
name: '{name}-pypi-both-upload'
node: release
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
# Note we upload the wheel first because pip prefers wheels
# and there is a mirroring issue where sometimes the first
# artifact uploaded is the only one you get. Since pip prefers
# wheels it is best to make the wheel the one we get.
/usr/local/jenkins/slave_scripts/pypi-wheel-upload.sh {name} {tarball-site}
/usr/local/jenkins/slave_scripts/pypi-tarball-upload.sh {name} {tarball-site}
publishers:
- console-log
- job-group:
name: pypi-jobs
jobs:
- '{name}-pypi-both-upload'
- '{name}-tarball'
- '{name}-tarball-signing'
- '{name}-announce-release'