Fix stackwiz venv pip install args

Stackwiz install use venv_pip_install_args when defined.

Change-Id: Ib1cc8fbe721aff1840251e8858d9a4a7eaa1ab41
Close-bug: #1852276
This commit is contained in:
Kourosh Vivan 2019-11-19 11:27:09 +01:00
parent 6116c681a4
commit 1bcb1ffbd8
2 changed files with 2 additions and 1 deletions

View File

@ -321,6 +321,7 @@ tempest_tempestconf_profile:
overrides: "{{ tempest_tempest_conf_overrides | default('omit') }}"
# Stackviz tarball url
stackviz_pip_install_args: "{{ pip_install_options | default('--isolated') }}"
stackviz_tarball: "https://tarballs.openstack.org/package-stackviz-element/stackviz-latest.tar.gz"
stackviz_venv_bin: "/openstack/venvs/stackviz/bin"
tempest_run_stackviz: true

View File

@ -38,7 +38,7 @@
name: "python_venv_build"
vars:
venv_install_destination_path: "{{ stackviz_venv_bin | dirname }}"
venv_pip_install_args: "--isolated"
venv_pip_install_args: "{{ stackviz_pip_install_args }}"
venv_pip_packages: "{{ [ stackviz_tarball ] }}"
venv_wheel_build_enable: no
when: tempest_run_stackviz | bool