xci: Run functest as part of xci-merge jobs 21/51121/2
authorFatih Degirmenci <fdegir@gmail.com>
Thu, 25 Jan 2018 10:46:07 +0000 (11:46 +0100)
committerFatih Degirmenci <fdegir@gmail.com>
Thu, 25 Jan 2018 10:57:23 +0000 (11:57 +0100)
This is yet another messy work to get functest run for xci
as part of merge jobs.

The script is removed from xci-verify jobs in order not to
block patches by -1ing them.

Change-Id: I57254bcfbada7a51da89aba0e7a88f907eb9a525
Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
jjb/xci/xci-run-functest.sh
jjb/xci/xci-verify-jobs.yml

index 4fbc6c4..b2421de 100755 (executable)
@@ -27,4 +27,4 @@ if ! sed -n "/^- scenario: $DEPLOY_SCENARIO$/,/^$/p" $OPNFV_SCENARIO_REQUIREMENT
     exit 0
 fi
 
-echo "Hello World!"
+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"
index af2432d..3c31456 100644 (file)
 - builder:
     name: 'xci-verify-healthcheck-macro'
     builders:
-      - shell:
-          !include-raw: ./xci-run-functest.sh
       - shell:
           !include-raw: ./xci-cleanup.sh