Add build-openstack-python-tarball job

So that folks can gate on their tarballs working properly.

Also make sure tox is around in pre-run not run.

Change-Id: Id167cdaa2c527637c35a68e86f936b77b27ca983
This commit is contained in:
Monty Taylor 2017-08-22 15:53:45 -04:00
parent cdc3f2bad2
commit b13fd7d7a0
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
3 changed files with 9 additions and 4 deletions

View File

@ -7,3 +7,4 @@
bindep_command: /usr/bindep-env/bin/bindep
bindep_fallback: /usr/local/jenkins/common_data/bindep-fallback.txt
- revoke-sudo
- ensure-tox

View File

@ -1,8 +1,4 @@
- hosts: all
pre_tasks:
- name: Ensure tox is installed
shell: type tox || pip install --user tox
roles:
- role: tox
tox_extra_args: -vv python setup.py sdist

View File

@ -36,6 +36,14 @@
run: playbooks/python-tarball/run
post-run: playbooks/python-tarball/post
- job:
name: build-openstack-python-tarball
parent: python-sdist
description: |
Build a tarball using tox but do not upload it anywhere.
pre-run: playbooks/python-tarball/pre
run: playbooks/python-tarball/run
- project:
name: openstack-infra/openstack-zuul-jobs
check: