system-config/modules/openstack_project/files/jenkins_job_builder/config/pypi-jobs.yaml
Monty Taylor a207facd23 Create and upload wheels
We want to make wheels for pre-release and release events. We will only
build wheels on python 2.7. If the project supports python 3 as well, the
project will have marked itself as supporting universal wheels. If it does
that, python 2.7 will build a wheel that can be used in both places. If it
does not support python 3, then we don't have to build on on python 3.

Change-Id: I060b59d8adc586ff37065fa4f6172a592ee3f903
2014-05-28 12:52:39 -07:00

35 lines
737 B
YAML

- job-template:
name: '{name}-pypi-both-upload'
node: pypi
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
/usr/local/jenkins/slave_scripts/pypi-tarball-upload.sh {name} {tarball-site}
/usr/local/jenkins/slave_scripts/pypi-wheel-upload.sh {name} {tarball-site}
publishers:
- console-log
- job-template:
name: '{name}-pypi-wheel-upload'
node: pypi
builders:
- revoke-sudo
- gerrit-git-prep
- shell: |
/usr/local/jenkins/slave_scripts/pypi-wheel-upload.sh {name} {tarball-site}
publishers:
- console-log
- job-group:
name: pypi-jobs
jobs:
- '{name}-pypi-both-upload'
- '{name}-pypi-wheel-upload'