Define variables for tempest plugins

This allow us to define and later bump specific version of tempest
plugins for stable branches and override source of the repositories for
deployers.

Change-Id: I83fa8c729967046829db638500b65faa7f55a50d
This commit is contained in:
Dmitriy Rabotyagov 2022-01-24 18:18:41 +02:00
parent 88b3698538
commit 993f03403c
2 changed files with 95 additions and 38 deletions

View File

@ -84,6 +84,63 @@ tempest_log_dir: "/var/log/tempest"
# package: ironic #for installing the plugin from packages # package: ironic #for installing the plugin from packages
tempest_plugins: "{{ _tempest_plugins.values() | sum(start=[]) | selectattr('install', 'equalto', true) | list }}" tempest_plugins: "{{ _tempest_plugins.values() | sum(start=[]) | selectattr('install', 'equalto', true) | list }}"
tempest_plugin_barbican_git_repo: https://opendev.org/openstack/barbican-tempest-plugin
tempest_plugin_barbican_git_install_branch: master
tempest_plugin_cinder_git_repo: https://opendev.org/openstack/cinder-tempest-plugin
tempest_plugin_cinder_git_install_branch: master
tempest_plugin_cloudkitty_git_repo: https://opendev.org/openstack/cloudkitty-tempest-plugin
tempest_plugin_cloudkitty_git_install_branch: master
tempest_plugin_designate_git_repo: https://opendev.org/openstack/designate-tempest-plugin
tempest_plugin_designate_git_install_branch: master
tempest_plugin_heat_git_repo: https://opendev.org/openstack/heat-tempest-plugin
tempest_plugin_heat_git_install_branch: master
tempest_plugin_ironic_git_repo: https://opendev.org/openstack/ironic-tempest-plugin
tempest_plugin_ironic_git_install_branch: master
tempest_plugin_keystone_git_repo: https://opendev.org/openstack/keystone-tempest-plugin
tempest_plugin_keystone_git_install_branch: master
tempest_plugin_magnum_git_repo: https://opendev.org/openstack/magnum-tempest-plugin
tempest_plugin_magnum_git_install_branch: master
tempest_plugin_manila_git_repo: https://opendev.org/openstack/manila-tempest-plugin
tempest_plugin_manila_git_install_branch: master
tempest_plugin_murano_git_repo: https://opendev.org/openstack/murano-tempest-plugin
tempest_plugin_murano_git_install_branch: master
tempest_plugin_neutron_git_repo: https://opendev.org/openstack/neutron-tempest-plugin
tempest_plugin_neutron_git_install_branch: 1.8.0
tempest_plugin_novajoin_git_repo: https://opendev.org/x/novajoin-tempest-plugin
tempest_plugin_novajoin_git_install_branch: master
tempest_plugin_octavia_git_repo: https://opendev.org/openstack/octavia-tempest-plugin
tempest_plugin_octavia_git_install_branch: master
tempest_plugin_senlin_git_repo: https://opendev.org/openstack/senlin-tempest-plugin
tempest_plugin_senlin_git_install_branch: master
tempest_plugin_sahara_git_repo: https://opendev.org/openstack/sahara-tests
tempest_plugin_sahara_git_install_branch: master
tempest_plugin_telemetry_git_repo: https://opendev.org/openstack/telemetry-tempest-plugin
tempest_plugin_telemetry_git_install_branch: master
tempest_plugin_trove_git_repo: https://opendev.org/openstack/trove-tempest-plugin
tempest_plugin_trove_git_install_branch: master
tempest_plugin_zaqar_git_repo: https://opendev.org/openstack/zaqar-tempest-plugin
tempest_plugin_zaqar_git_install_branch: master
tempest_plugin_zun_git_repo: https://opendev.org/openstack/zun-tempest-plugin
tempest_plugin_zun_git_install_branch: master
# tempest_workspace where tempest can be runned # tempest_workspace where tempest can be runned
tempest_workspace: "{{ ansible_facts['env']['HOME'] }}/workspace" tempest_workspace: "{{ ansible_facts['env']['HOME'] }}/workspace"

View File

@ -53,18 +53,18 @@ tempest_images_map:
_tempest_plugins: _tempest_plugins:
barbican: barbican:
- name: barbican-tempest-plugin - name: barbican-tempest-plugin
repo: https://opendev.org/openstack/barbican-tempest-plugin repo: "{{ tempest_plugin_barbican_git_repo }}"
branch: master branch: "{{ tempest_plugin_barbican_git_install_branch }}"
install: "{{ tempest_service_available_barbican | bool }}" install: "{{ tempest_service_available_barbican | bool }}"
cinder: cinder:
- name: cinder-tempest-plugin - name: cinder-tempest-plugin
repo: https://opendev.org/openstack/cinder-tempest-plugin repo: "{{ tempest_plugin_cinder_git_repo }}"
branch: master branch: "{{ tempest_plugin_cinder_git_install_branch }}"
install: "{{ tempest_service_available_cinder | bool }}" install: "{{ tempest_service_available_cinder | bool }}"
cloudkitty: cloudkitty:
- name: cloudkitty-tempest-plugin - name: cloudkitty-tempest-plugin
repo: https://opendev.org/openstack/cloudkitty-tempest-plugin repo: "{{ tempest_plugin_cloudkitty_git_repo }}"
branch: master branch: "{{ tempest_plugin_cloudkitty_git_install_branch }}"
install: "{{ tempest_service_available_cloudkitty | bool }}" install: "{{ tempest_service_available_cloudkitty | bool }}"
congress: congress:
- name: congress-tempest-plugin - name: congress-tempest-plugin
@ -73,38 +73,38 @@ _tempest_plugins:
install: "{{ tempest_service_available_congress | bool }}" install: "{{ tempest_service_available_congress | bool }}"
designate: designate:
- name: designate-tempest-plugin - name: designate-tempest-plugin
repo: https://opendev.org/openstack/designate-tempest-plugin repo: "{{ tempest_plugin_designate_git_repo }}"
branch: master branch: "{{ tempest_plugin_designate_git_install_branch }}"
install: "{{ tempest_service_available_designate | bool }}" install: "{{ tempest_service_available_designate | bool }}"
heat: heat:
- name: heat-tempest-plugin - name: heat-tempest-plugin
repo: https://opendev.org/openstack/heat-tempest-plugin repo: "{{ tempest_plugin_heat_git_repo }}"
branch: master branch: "{{ tempest_plugin_heat_git_install_branch }}"
install: "{{ tempest_service_available_heat | bool }}" install: "{{ tempest_service_available_heat | bool }}"
ironic: ironic:
- name: ironic-tempest-plugin - name: ironic-tempest-plugin
repo: https://opendev.org/openstack/ironic-tempest-plugin repo: "{{ tempest_plugin_ironic_git_repo }}"
branch: master branch: "{{ tempest_plugin_ironic_git_install_branch }}"
install: "{{ tempest_service_available_ironic | bool }}" install: "{{ tempest_service_available_ironic | bool }}"
keystone: keystone:
- name: keystone-tempest-plugin - name: keystone-tempest-plugin
repo: https://opendev.org/openstack/keystone-tempest-plugin repo: "{{ tempest_plugin_keystone_git_repo }}"
branch: master branch: "{{ tempest_plugin_keystone_git_install_branch }}"
install: yes install: yes
magnum: magnum:
- name: magnum-tempest-plugin - name: magnum-tempest-plugin
repo: https://opendev.org/openstack/magnum-tempest-plugin repo: "{{ tempest_plugin_magnum_git_repo }}"
branch: master branch: "{{ tempest_plugin_magnum_git_install_branch }}"
install: "{{ tempest_service_available_magnum | bool }}" install: "{{ tempest_service_available_magnum | bool }}"
manila: manila:
- name: manila-tempest-plugin - name: manila-tempest-plugin
repo: https://opendev.org/openstack/manila-tempest-plugin repo: "{{ tempest_plugin_manila_git_repo }}"
branch: master branch: "{{ tempest_plugin_manila_git_install_branch }}"
install: "{{ tempest_service_available_manila | bool }}" install: "{{ tempest_service_available_manila | bool }}"
murano: murano:
- name: murano-tempest-plugin - name: murano-tempest-plugin
repo: https://opendev.org/openstack/murano-tempest-plugin repo: "{{ tempest_plugin_murano_git_repo }}"
branch: master branch: "{{ tempest_plugin_murano_git_install_branch }}"
install: "{{ tempest_service_available_murano | bool }}" install: "{{ tempest_service_available_murano | bool }}"
networking-bgpvpn: networking-bgpvpn:
- name: networking-bgpvpn - name: networking-bgpvpn
@ -118,13 +118,13 @@ _tempest_plugins:
install: "{{ tempest_service_available_neutron_vpnaas | bool }}" install: "{{ tempest_service_available_neutron_vpnaas | bool }}"
neutron: neutron:
- name: neutron-tempest-plugin - name: neutron-tempest-plugin
repo: https://opendev.org/openstack/neutron-tempest-plugin repo: "{{ tempest_plugin_neutron_git_repo }}"
branch: master branch: "{{ tempest_plugin_neutron_git_install_branch }}"
install: "{{ tempest_service_available_neutron | bool }}" install: "{{ tempest_service_available_neutron | bool }}"
novajoin: novajoin:
- name: novajoin-tempest-plugin - name: novajoin-tempest-plugin
repo: https://opendev.org/openstack/novajoin-tempest-plugin repo: "{{ tempest_plugin_novajoin_git_repo }}"
branch: master branch: "{{ tempest_plugin_novajoin_git_install_branch }}"
install: "{{ tempest_service_available_novajoin | bool }}" install: "{{ tempest_service_available_novajoin | bool }}"
nova-lxd: nova-lxd:
- name: nova-lxd - name: nova-lxd
@ -133,36 +133,36 @@ _tempest_plugins:
install: "{{ tempest_service_available_nova_lxd | bool }}" install: "{{ tempest_service_available_nova_lxd | bool }}"
octavia: octavia:
- name: octavia-tempest-plugin - name: octavia-tempest-plugin
repo: https://opendev.org/openstack/octavia-tempest-plugin repo: "{{ tempest_plugin_octavia_git_repo }}"
branch: master branch: "{{ tempest_plugin_octavia_git_install_branch }}"
install: "{{ tempest_service_available_octavia | bool }}" install: "{{ tempest_service_available_octavia | bool }}"
senlin: senlin:
- name: senlin-tempest-plugin - name: senlin-tempest-plugin
repo: https://opendev.org/openstack/senlin-tempest-plugin repo: "{{ tempest_plugin_senlin_git_repo }}"
branch: master branch: "{{ tempest_plugin_senlin_git_install_branch }}"
install: "{{ tempest_service_available_senlin | bool }}" install: "{{ tempest_service_available_senlin | bool }}"
sahara: sahara:
- name: sahara-tests - name: sahara-tests
repo: https://opendev.org/openstack/sahara-tests repo: "{{ tempest_plugin_sahara_git_repo }}"
branch: master branch: "{{ tempest_plugin_sahara_git_install_branch }}"
install: "{{ tempest_service_available_sahara | bool }}" install: "{{ tempest_service_available_sahara | bool }}"
telemetry: telemetry:
- name: telemetry-tempest-plugin - name: telemetry-tempest-plugin
repo: https://opendev.org/openstack/telemetry-tempest-plugin repo: "{{ tempest_plugin_telemetry_git_repo }}"
branch: master branch: "{{ tempest_plugin_telemetry_git_install_branch }}"
install: "{{ (tempest_service_available_aodh | bool) or (tempest_service_available_ceilometer | bool) or (tempest_service_available_gnocchi | bool) or (tempest_service_available_panko | bool) }}" install: "{{ (tempest_service_available_aodh | bool) or (tempest_service_available_ceilometer | bool) or (tempest_service_available_gnocchi | bool) or (tempest_service_available_panko | bool) }}"
trove: trove:
- name: trove-tempest-plugin - name: trove-tempest-plugin
repo: https://opendev.org/openstack/trove-tempest-plugin repo: "{{ tempest_plugin_trove_git_repo }}"
branch: master branch: "{{ tempest_plugin_trove_git_install_branch }}"
install: "{{ tempest_service_available_trove | bool }}" install: "{{ tempest_service_available_trove | bool }}"
zaqar: zaqar:
- name: zaqar-tempest-plugin - name: zaqar-tempest-plugin
repo: https://opendev.org/openstack/zaqar-tempest-plugin repo: "{{ tempest_plugin_zaqar_git_repo }}"
branch: master branch: "{{ tempest_plugin_zaqar_git_install_branch }}"
install: "{{ tempest_service_available_zaqar | bool }}" install: "{{ tempest_service_available_zaqar | bool }}"
zun: zun:
- name: zun-tempest-plugin - name: zun-tempest-plugin
repo: https://opendev.org/openstack/zun-tempest-plugin repo: "{{ tempest_plugin_zun_git_repo }}"
branch: master branch: "{{ tempest_plugin_zun_git_install_branch }}"
install: "{{ tempest_service_available_zun | bool }}" install: "{{ tempest_service_available_zun | bool }}"