Update prepare-functest role for k8s and fix fetching xci.env 77/55477/5
authorFatih Degirmenci <fdegir@gmail.com>
Wed, 11 Apr 2018 21:32:11 +0000 (23:32 +0200)
committerFatih Degirmenci <fdegir@gmail.com>
Thu, 12 Apr 2018 09:13:30 +0000 (11:13 +0200)
commitbea090a9a959a13043789be229c11076cc56d40d
treee39c834db9445ea86a7540fb972cfbbc0e881f76
parent21ad943989a6573c6fd74e479d286f2a43ce9ae6
Update prepare-functest role for k8s and fix fetching xci.env

This change updates prepare-functest role for testing k8s scenarios
using functest healthcheck. The changes include
- update tasks to skip checking/creation of public gateway which
is needed for OpenStack based scenarios
- update run-functest.sh.j2 template and set the used docker image
name based on FUNCTEST_SUITE_NAME that is going to be used
- update run-functest.sh.j2 template and add commands needed to run
tests using functest-kubernetes-${FUNCTEST_SUITE_NAME} docker image
- update env.j2 to exclude setting the var EXTERNAL_NETWORK which is needed
for OpenStack based scenarios

Apart from updating the the prepare-functest role, a bug has also been fixed
by adding the fetching of xci.env for installer kubespray.

installer-type:kubespray
deploy-scenario:k8-nosdn-nofeature

Change-Id: Ia701db9748ea9509a2dc165341285fb189aa7266
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
xci/installer/kubespray/playbooks/configure-opnfvhost.yml
xci/playbooks/roles/prepare-functest/tasks/main.yml
xci/playbooks/roles/prepare-functest/templates/env.j2
xci/playbooks/roles/prepare-functest/templates/run-functest.sh.j2