Rename functest-prepare role to prepare-tests 39/61639/4
authorFatih Degirmenci <fdegir@gmail.com>
Fri, 31 Aug 2018 08:52:00 +0000 (10:52 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Mon, 3 Sep 2018 09:42:25 +0000 (09:42 +0000)
commit92afad5981d84cec20359551209c50a5f6755cb9
treefba4b57c5084c85c8c66fef4208d7080b8553ea4
parentfb2cbfce4e9a1ea6e60aa2a361e02fdb189042a2
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>
xci/playbooks/prepare-tests.yml [moved from xci/playbooks/prepare-functest.yml with 90% similarity]
xci/playbooks/roles/prepare-tests/defaults/main.yml [moved from xci/playbooks/roles/prepare-functest/defaults/main.yml with 100% similarity]
xci/playbooks/roles/prepare-tests/tasks/main.yml [moved from xci/playbooks/roles/prepare-functest/tasks/main.yml with 74% similarity]
xci/playbooks/roles/prepare-tests/templates/env.j2 [moved from xci/playbooks/roles/prepare-functest/templates/env.j2 with 100% similarity]
xci/playbooks/roles/prepare-tests/templates/prepare-tests.sh.j2 [new file with mode: 0644]
xci/playbooks/roles/prepare-tests/templates/run-functest.sh.j2 [moved from xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j2 with 54% similarity]
xci/playbooks/roles/prepare-tests/vars/main.yml [moved from xci/playbooks/roles/prepare-functest/vars/main.yml with 74% similarity]