Merge "Add the tox_install_bindep option to the tox job"

This commit is contained in:
Zuul 2019-03-26 16:23:34 +00:00 committed by Gerrit Code Review
commit db7d5d351e
2 changed files with 16 additions and 4 deletions

View File

@ -1,5 +1,11 @@
- hosts: all
roles:
- role: bindep
bindep_dir: "{{ zuul_work_dir }}"
- test-setup
tasks:
- name: Install binary dependencies
include_role:
name: bindep
vars:
bindep_dir: "{{ zuul_work_dir }}"
when: tox_install_bindep | default(true)
- name: Run test-setup role
include_role:
name: test-setup

View File

@ -84,6 +84,12 @@
Override tox requirements that have corresponding zuul git repos
on the node by installing the git versions into the tox virtualenv.
.. zuul:jobvar: tox_install_bindep
:default: true
Whether or not to run the binary dependencies detection and
installation with bindep.
run: playbooks/tox/run.yaml
pre-run: playbooks/tox/pre.yaml
post-run: playbooks/tox/post.yaml