summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/prepare-tests.yml
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-08-31 10:52:00 +0200
committerFatih Degirmenci <fdegir@gmail.com>2018-09-03 09:42:25 +0000
commit92afad5981d84cec20359551209c50a5f6755cb9 (patch)
treefba4b57c5084c85c8c66fef4208d7080b8553ea4 /xci/playbooks/prepare-tests.yml
parentfb2cbfce4e9a1ea6e60aa2a361e02fdb189042a2 (diff)
Rename functest-prepare role to prepare-tests
This change renames functest prepare-tole to prepare tests and makes other adjustments to the role to move common test preparation steps to its own script so we can prepare for Functest and Yardstick at one go. Similar things are required to be prepared for running Functest and Yardstick such as - installed packages - external network creation - creation of run-functest.sh and run-yardstick scripts from templates - preparation of environment variables This change will fail verification until the changes below is submitted. https://gerrit.opnfv.org/gerrit/#/c/61645/ Change-Id: Id1020d3e61abd3f087863c06a132c5021339d655 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Diffstat (limited to 'xci/playbooks/prepare-tests.yml')
-rw-r--r--xci/playbooks/prepare-tests.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/xci/playbooks/prepare-tests.yml b/xci/playbooks/prepare-tests.yml
new file mode 100644
index 00000000..1a1935aa
--- /dev/null
+++ b/xci/playbooks/prepare-tests.yml
@@ -0,0 +1,23 @@
+---
+# Copyright 2017, SUSE LINUX GmbH.
+#
+# 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.
+
+- name: Prepare the environment for testing
+ hosts: opnfv
+ user: root
+ vars_files:
+ - ../var/opnfv.yml
+ - ../installer/osa/files/openstack_services.yml
+ roles:
+ - role: "prepare-tests"