From c9f40309949c06fa1b1bc36becdd41bbcf28ca04 Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Tue, 27 Jul 2021 16:28:45 +0100 Subject: [PATCH] Enable tempest tests for sahara Change-Id: I1bde4186335cb6638d2c90f5eeee1cf7944e1415 --- .../bootstrap-host/tasks/prepare_aio_config.yml | 3 +++ .../templates/user_variables_sahara.yml.j2 | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 tests/roles/bootstrap-host/templates/user_variables_sahara.yml.j2 diff --git a/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml b/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml index a2810a42d3..e385595abb 100644 --- a/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml +++ b/tests/roles/bootstrap-host/tasks/prepare_aio_config.yml @@ -191,6 +191,9 @@ - src: user_variables_hardening.yml.j2 dest: user_variables_hardening.yml condition: "{{ 'hardening' in bootstrap_host_scenarios_expanded }}" + - src: user_variables_sahara.yml.j2 + dest: user_variables_sahara.yml + condition: "{{ 'sahara' in bootstrap_host_scenarios_expanded }}" - name: Copy modified cinder-volume env.d file for ceph scenario copy: diff --git a/tests/roles/bootstrap-host/templates/user_variables_sahara.yml.j2 b/tests/roles/bootstrap-host/templates/user_variables_sahara.yml.j2 new file mode 100644 index 0000000000..5b02a397d6 --- /dev/null +++ b/tests/roles/bootstrap-host/templates/user_variables_sahara.yml.j2 @@ -0,0 +1,14 @@ +# 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_includelist: + - sahara_tempest_plugin.tests.api