Jonathan Rosser 61f3c98680 Always use virtualenv and pip to install tempest on Ubuntu
For ubuntu distro jobs there are no tempest plugins packages so drop the
'mixed setup' where tempest comes from a distro package and the plugins
come from pip, and then fail to install into the system python environment.

Change-Id: Ic146e011ec15889303061527e17cdc16ed914799
2020-01-30 10:35:26 +00:00

159 lines
6.4 KiB
YAML

---
# Copyright 2018, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# The list of images for tempest to download for different architectures
# url: where to download from (required)
# checksum: the checksum of the downloaded file to validate against, format: <algorithm>:<checksum> (optional)
# format: format to use when uploading to glance (required)
# name: name to use when uploading to glance - default is to use the downloaded file's name (optional)
# properties: a dict of custom properties to attach to the image in glance
tempest_images_map:
x86_64:
- url: "https://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img"
checksum: "sha256:a8dd75ecffd4cdd96072d60c2237b448e0c8b2bc94d57f10fdbc8c481d9005b8"
format: "qcow2"
name: "cirros"
- url: "https://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img"
checksum: "sha256:a8dd75ecffd4cdd96072d60c2237b448e0c8b2bc94d57f10fdbc8c481d9005b8"
format: "qcow2"
name: "cirros"
aarch64:
- url: "https://download.cirros-cloud.net/contrib/nowster/20190515/cirros-d190515-aarch64-disk.img"
checksum: "sha256:65439061ca6e4e4a411bba8963e34c38f1f124564db72b0b26ffb2556016305e"
format: "qcow2"
name: "cirros"
properties:
hw_firmware_type: uefi
- url: "https://download.cirros-cloud.net/contrib/nowster/20190515/cirros-d190515-aarch64-disk.img"
checksum: "sha256:65439061ca6e4e4a411bba8963e34c38f1f124564db72b0b26ffb2556016305e"
format: "qcow2"
name: "cirros"
properties:
hw_firmware_type: uefi
# Each tempest plugin could take the following arguments:
# - name:
# repo: # when installing from a repo
# branch: # when installing from a repo
# package: # when installing from a pip package
# install: # boolean to enable/disable the installation of this item
_tempest_plugins:
barbican:
- name: barbican-tempest-plugin
repo: https://opendev.org/openstack/barbican-tempest-plugin
branch: master
install: "{{ tempest_service_available_barbican | bool }}"
cinder:
- name: cinder-tempest-plugin
repo: https://opendev.org/openstack/cinder-tempest-plugin
branch: master
install: "{{ tempest_service_available_cinder | bool }}"
cloudkitty:
- name: cloudkitty-tempest-plugin
repo: https://opendev.org/openstack/cloudkitty-tempest-plugin
branch: master
install: "{{ tempest_service_available_cloudkitty | bool }}"
congress:
- name: congress-tempest-plugin
repo: https://opendev.org/openstack/congress-tempest-plugin
branch: master
install: "{{ tempest_service_available_congress | bool }}"
designate:
- name: designate-tempest-plugin
repo: https://opendev.org/openstack/designate-tempest-plugin
branch: master
install: "{{ tempest_service_available_designate | bool }}"
heat:
- name: heat-tempest-plugin
repo: https://opendev.org/openstack/heat-tempest-plugin
branch: master
install: "{{ tempest_service_available_heat | bool }}"
ironic:
- name: ironic-tempest-plugin
repo: https://opendev.org/openstack/ironic-tempest-plugin
branch: master
install: "{{ tempest_service_available_ironic | bool }}"
keystone:
- name: keystone-tempest-plugin
repo: https://opendev.org/openstack/keystone-tempest-plugin
branch: master
install: yes
magnum:
- name: magnum-tempest-plugin
repo: https://opendev.org/openstack/magnum-tempest-plugin
branch: master
install: "{{ tempest_service_available_magnum | bool }}"
manila:
- name: manila-tempest-plugin
repo: https://opendev.org/openstack/manila-tempest-plugin
branch: master
install: "{{ tempest_service_available_manila | bool }}"
murano:
- name: murano-tempest-plugin
repo: https://opendev.org/openstack/murano-tempest-plugin
branch: master
install: "{{ tempest_service_available_murano | bool }}"
networking-bgpvpn:
- name: networking-bgpvpn
repo: https://opendev.org/openstack/networking-bgpvpn
branch: master
install: "{{ tempest_service_available_neutron_bgpvpn | bool }}"
neutron-fwaas:
- name: neutron-fwaas
repo: https://opendev.org/openstack/neutron-fwaas
branch: master
install: "{{ tempest_service_available_neutron_fwaas | bool }}"
neutron-vpnaas:
- name: neutron-vpnaas
repo: https://opendev.org/openstack/neutron-vpnaas
branch: master
install: "{{ tempest_service_available_neutron_vpnaas | bool }}"
neutron:
- name: neutron-tempest-plugin
repo: https://opendev.org/openstack/neutron-tempest-plugin
branch: master
install: "{{ tempest_service_available_neutron | bool }}"
novajoin:
- name: novajoin-tempest-plugin
repo: https://opendev.org/openstack/novajoin-tempest-plugin
branch: master
install: "{{ tempest_service_available_novajoin | bool }}"
nova-lxd:
- name: nova-lxd
repo: https://opendev.org/x/nova-lxd
branch: master
install: "{{ tempest_service_available_nova_lxd | bool }}"
octavia:
- name: octavia-tempest-plugin
repo: https://opendev.org/openstack/octavia-tempest-plugin
branch: master
install: "{{ tempest_service_available_octavia | bool }}"
sahara:
- name: sahara-tests
repo: https://opendev.org/openstack/sahara-tests
branch: master
install: "{{ tempest_service_available_sahara | bool }}"
telemetry:
- name: telemetry-tempest-plugin
repo: https://opendev.org/openstack/telemetry-tempest-plugin
branch: master
install: "{{ (tempest_service_available_aodh | bool) or (tempest_service_available_ceilometer | bool) }}"
zaqar:
- name: zaqar-tempest-plugin
repo: https://opendev.org/openstack/zaqar-tempest-plugin
branch: master
install: "{{ tempest_service_available_zaqar | bool }}"