Merge "Added support for installing tempestconf from distro"

This commit is contained in:
Zuul 2018-12-17 18:12:26 +00:00 committed by Gerrit Code Review
commit aafe1a41a6
2 changed files with 5 additions and 0 deletions

View File

@ -20,10 +20,14 @@
venv_install_destination_path: "{{ tempest_tempestconf_venv_bin | dirname }}"
venv_pip_install_args: "--isolated"
venv_pip_packages: "{{ tempest_tempestconf_pip_packages }}"
when: tempest_install_method == 'source'
- name: Executing python-tempestconf
shell: |
set -e
if [ -d {{ tempest_tempestconf_venv_bin }} ]; then
. {{ tempest_tempestconf_venv_bin }}/activate
fi
export OS_AUTH_URL="{{ keystone_service_internaluri }}"
export OS_IDENTITY_API_VERSION="3"
export OS_USERNAME="{{ keystone_admin_user_name }}"

View File

@ -31,3 +31,4 @@ tempest_plugin_distro_packages:
- "{{ (tempest_service_available_ironic | bool) | ternary('python-ironic-tempest-plugin', '') }}"
- python-keystone-tempest-plugin
- "{{ (tempest_service_available_neutron | bool) | ternary('python-neutron-tempest-plugin', '') }}"
- "{{ (tempest_use_tempestconf | bool) | ternary('python-tempestconf', '') }}"