Use ensure-tox role from zuul-jobs

We have a role to handle this, lets us it.

Change-Id: I471a852a1d01ef79d7f1408176b72c1db3663a8c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-09-05 15:18:26 -04:00
parent b42e0870ec
commit 44a6bc916d
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
4 changed files with 2 additions and 8 deletions

View File

@ -3,4 +3,5 @@
- role: bindep
bindep_profile: test
bindep_dir: "src/{{ zuul.project.canonical_name }}"
- ensure-tox
- revoke-sudo

View File

@ -1,7 +1,3 @@
- hosts: all
pre_tasks:
- name: Ensure tox is installed
shell: type tox || pip install --user tox
roles:
- role: tox

View File

@ -5,4 +5,5 @@
bindep_dir: "src/{{ zuul.project.canonical_name }}"
bindep_command: /usr/bindep-env/bin/bindep
bindep_fallback: /usr/local/jenkins/common_data/bindep-fallback.txt
- ensure-tox
- revoke-sudo

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