57de2abeca
The lack of support for constraints makes this problematic in nearly all of the openstack jobs with project dependencies (eg, neutron, horizon). The role ends up installing dependencies past what's listed in constraints. Disable it for now (the jobs in question still have their v2-era custom install commands) until constraints support can be added. Change-Id: I9777bb0ba27c8d181b510e3c5febc83f5ba7142c
20 lines
659 B
YAML
20 lines
659 B
YAML
- name: Require tox_envlist variable
|
|
fail:
|
|
msg: tox_envlist is required for this role
|
|
when: tox_envlist is not defined
|
|
|
|
- name: Run tox without tests
|
|
command: "{{ tox_executable }} --notest -e{{ tox_envlist }}"
|
|
args:
|
|
chdir: "{{ zuul_work_dir }}"
|
|
when: tox_install_siblings
|
|
|
|
# TODO(mordred) handle tox_envlist being a list
|
|
# NOTE(jeblair) disabled because of lack of constraints support
|
|
#- name: Install any sibling python packages
|
|
# tox_install_sibling_packages:
|
|
# tox_envlist: "{{ tox_envlist }}"
|
|
# project_dir: "{{ zuul_work_dir }}"
|
|
# projects: "{{ zuul.projects | selectattr('required') | list }}"
|
|
# when: tox_install_siblings
|