Add non-OpenStack python tarball creation job

OpenStack python tarball building is weird and not done in a manner
consistent with how other folks do it. Make a job that just runs python
setup.py sdist bdist_wheel.

Change-Id: I0df77cdd00b9820bad3b9cde75be9e150057a584
This commit is contained in:
Monty Taylor 2017-08-21 16:56:29 -04:00
parent c36d95b4ba
commit 2a957c7f1c
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
4 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,3 @@
- hosts: all
roles:
- build-python-sdist

View File

@ -0,0 +1 @@
python_sdist_chdir: "src/{{ zuul.project.canonical_name }}"

View File

@ -0,0 +1,4 @@
- name: Build a tarball and wheel
command: python setup.py sdist bdist_wheel
args:
chdir: "{{ python_sdist_chdir }}"

View File

@ -117,6 +117,13 @@
vars: vars:
tox_envlist: cover tox_envlist: cover
- job:
name: python-sdist
description: |
Build a source tarball and wheel for uploading
run: playbooks/python/sdist.yaml
post-run: playbooks/python/tarball-post
- job: - job:
name: tox-tarball name: tox-tarball
parent: tox parent: tox