Do not install default plugins for mixed installs
We set tempest_plugin_install_source to true for debian distro installs. This var allows to install tempest plugins from source, since package is missing most part of them. However we don't want tests to interfer, so we're skipping installation of already existing plugins in distro package. Change-Id: Id6e38be48f082bfa6d75741ee6e0f9632142c960
This commit is contained in:
parent
67bb5bb989
commit
5471034b8a
|
@ -43,6 +43,14 @@ tempest_images_map:
|
|||
properties:
|
||||
hw_firmware_type: uefi
|
||||
|
||||
# Note(noonedeadpunk):
|
||||
# Ubuntu does not publish tempest plugin packages. They do
|
||||
# all their testing using the source-based installation of
|
||||
# tempest.
|
||||
# For mixed setup we are using source install tasks, except
|
||||
# that we're deploying pip packages without venv.
|
||||
tempest_plugin_install_source: "{{ ((tempest_install_method == 'distro') and (ansible_os_family | lower == 'debian')) | bool }}"
|
||||
|
||||
# Each tempest plugin could take the following arguments:
|
||||
# - name:
|
||||
# repo: # when installing from a repo
|
||||
|
@ -60,7 +68,7 @@ _tempest_plugins:
|
|||
- name: cinder-tempest-plugin
|
||||
repo: https://opendev.org/openstack/cinder-tempest-plugin
|
||||
branch: master
|
||||
install: "{{ tempest_service_available_cinder | bool }}"
|
||||
install: "{{ tempest_service_available_cinder | bool and not tempest_plugin_install_source }}"
|
||||
cloudkitty:
|
||||
- name: cloudkitty-tempest-plugin
|
||||
repo: https://opendev.org/openstack/cloudkitty-tempest-plugin
|
||||
|
@ -80,7 +88,7 @@ _tempest_plugins:
|
|||
- name: heat-tempest-plugin
|
||||
repo: https://opendev.org/openstack/heat-tempest-plugin
|
||||
branch: master
|
||||
install: "{{ tempest_service_available_heat | bool }}"
|
||||
install: "{{ tempest_service_available_heat | bool and not tempest_plugin_install_source }}"
|
||||
ironic:
|
||||
- name: ironic-tempest-plugin
|
||||
repo: https://opendev.org/openstack/ironic-tempest-plugin
|
||||
|
@ -120,7 +128,7 @@ _tempest_plugins:
|
|||
- name: neutron-tempest-plugin
|
||||
repo: https://opendev.org/openstack/neutron-tempest-plugin
|
||||
branch: master
|
||||
install: "{{ tempest_service_available_neutron | bool }}"
|
||||
install: "{{ tempest_service_available_neutron | bool and not tempest_plugin_install_source }}"
|
||||
novajoin:
|
||||
- name: novajoin-tempest-plugin
|
||||
repo: https://opendev.org/openstack/novajoin-tempest-plugin
|
||||
|
@ -151,11 +159,3 @@ _tempest_plugins:
|
|||
repo: https://opendev.org/openstack/zaqar-tempest-plugin
|
||||
branch: master
|
||||
install: "{{ tempest_service_available_zaqar | bool }}"
|
||||
|
||||
# Note(noonedeadpunk):
|
||||
# Ubuntu does not publish tempest plugin packages. They do
|
||||
# all their testing using the source-based installation of
|
||||
# tempest.
|
||||
# For mixed setup we are using source install tasks, except
|
||||
# that we're deploying pip packages without venv.
|
||||
tempest_plugin_install_source: "{{ ((tempest_install_method == 'distro') and (ansible_os_family | lower == 'debian')) | bool }}"
|
||||
|
|
Loading…
Reference in New Issue