project-config/jenkins/jobs/pypi-jobs.yaml
Andreas Jaeger acf7572d10 s/gerrit-git-prep/zuul-git-prep/g
We do not need gerrit-git-prep anymore, zuul-git-prep works on all our
slaves and has the advantage of using zuul-cloner so that the local
cache is used and Depends-On works.

Remove gerrit-git-prep and use zuul-git-prep instead everywhere.

Change-Id: I2f106af58f78fceaf3c497fe43e6f5a002695645
2017-04-03 19:36:51 +02:00

26 lines
860 B
YAML

- job-template:
name: '{name}-pypi-both-upload'
node: release
builders:
- revoke-sudo
- zuul-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} tarballs.openstack.org
/usr/local/jenkins/slave_scripts/pypi-tarball-upload.sh {name} tarballs.openstack.org
publishers:
- console-log
- job-group:
name: pypi-jobs
jobs:
- '{name}-pypi-both-upload'
- '{name}-tarball'
- '{name}-tarball-signing'
- '{name}-announce-release'
- 'propose-{name}-update-constraints'