project-config/jenkins/jobs/pypi-jobs.yaml
Andreas Jaeger 6b4181876e Rework publishing jobs
Move jobs needed for pypi publishing to pypi-jobs. This allows to remove
the python-jobs job-group from all xstatic jobs.

Create new job-group openstack-server-release-jobs and add it to all
repos that use the openstack-server-release-jobs template in zuul.
Add tarball job to those few repos that specific setup in zuul.

Remove pypi-jobs from congress, designate, designate-dashboard, mistral,
sahara, sahara-extra, searchlight. These do not publish to pypi.

Remove {name}-pypi-wheel-upload completely, it's unused.

Reorder some entries in projects.yaml so that python jobs, release jobs,
publishing and translation are first.

Remove stray comment from projects.yaml

This whole change reduces the number of generated jobs from 9321 to
8526.

Change-Id: I6f5b853827e6c6a390776fe288e30befdbd571f6
2016-07-01 09:35:27 +02:00

25 lines
770 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}-announce-release'