Merge "Test dashboard only for horizon scenario"

This commit is contained in:
Zuul 2021-04-15 19:16:37 +00:00 committed by Gerrit Code Review
commit 0da72f7b05
3 changed files with 24 additions and 1 deletions

View File

@ -102,7 +102,6 @@ tempest_test_whitelist:
- "{{ (tempest_service_available_nova | bool) | ternary('tempest.scenario.test_server_basic_ops', '') }}"
- "{{ (tempest_service_available_swift | bool) | ternary('tempest.scenario.test_object_storage_basic_ops', '') }}"
- "{{ (tempest_volume_multi_backend_enabled | bool) | ternary('tempest.api.volume.admin.test_multi_backend', '') }}"
- "{{ (tempest_service_available_horizon | bool) | ternary('tempest.scenario.test_dashboard_basic_ops.TestDashboardBasicOps', '') }}"
# TODO(evrardjp): Bring this back when upstream is fixed
# (revert of https://github.com/openstack/cinder/commit/737c50b4ea54e2e63d6e3fe8a73d22b393df4205)
# - "{{ (tempest_volume_backup_enabled | bool) | ternary('tempest.api.volume.admin.test_volumes_backup', '') }}"

View File

@ -185,6 +185,9 @@
- src: user_variables_neutron_ovs.yml.j2
dest: user_variables_neutron_ovs.yml
condition: "{{ 'ovs' in bootstrap_host_scenarios_expanded }}"
- src: user_variables_horizon.yml.j2
dest: user_variables_horizon.yml
condition: "{{ 'horizon' in bootstrap_host_scenarios }}"
- name: Copy modified cinder-volume env.d file for ceph scenario
copy:

View File

@ -0,0 +1,21 @@
---
# Copyright 2021, City Network International AB
#
# 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.
tempest_test_whitelist:
- tempest.scenario.test_dashboard_basic_ops.TestDashboardBasicOps
tempest_tempest_conf_overrides:
dashboard:
disable_ssl_certificate_validation: True