xci: Move run-functest.sh execution out of ansible 19/52819/1
authorFatih Degirmenci <fdegir@gmail.com>
Wed, 28 Feb 2018 11:42:02 +0000 (11:42 +0000)
committerFatih Degirmenci <fdegir@gmail.com>
Wed, 28 Feb 2018 11:42:02 +0000 (11:42 +0000)
Change-Id: I40195f08012774c22178a27f146c402b33ecd8fc
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
jjb/xci/xci-run-functest.sh

index 39d4ea1..9f77b78 100755 (executable)
@@ -39,4 +39,6 @@ if ! sed -n "/^- scenario: $DEPLOY_SCENARIO$/,/^$/p" $OPNFV_SCENARIO_REQUIREMENT
     exit 0
 fi
 
-ssh -F $HOME/.ssh/xci-vm-config ${DISTRO}_xci_vm "cd releng-xci/xci && PATH=/home/devuser/.local/bin:$PATH ansible-playbook -i installer/osa/files/$XCI_FLAVOR/inventory playbooks/run-functest.yml"
+ssh -F $HOME/.ssh/xci-vm-config ${DISTRO}_xci_vm "cd releng-xci/xci && PATH=/home/devuser/.local/bin:$PATH ansible-playbook -i installer/osa/files/$XCI_FLAVOR/inventory playbooks/prepare-functest.yml"
+echo "Running functest"
+ssh -F $HOME/.ssh/xci-vm-config ${DISTRO}_xci_vm_opnfv "/root/run-functest.sh"