jjb: xci: bifrost-verify.sh: Do not build OS images 05/48105/2
authorMarkos Chandras <mchandras@suse.de>
Thu, 30 Nov 2017 16:44:48 +0000 (16:44 +0000)
committerMarkos Chandras <mchandras@suse.de>
Thu, 30 Nov 2017 21:23:08 +0000 (21:23 +0000)
Use the images we provide in artifacts.opnfv.org instead of
building new ones on every CI run. Moreover, enter the correct
directory before executing the CI script.

Change-Id: Iffa0080ab8f746344aa13bca6a26395a8a0953f2
Signed-off-by: Markos Chandras <mchandras@suse.de>
jjb/xci/bifrost-verify.sh

index 438a243..263f544 100755 (executable)
@@ -39,8 +39,11 @@ case ${DISTRO} in
        *suse*) VM_DISTRO=opensuse ;;
 esac
 
+export XCI_BUILD_CLEAN_VM_OS=false
+export XCI_UPDATE_CLEAN_VM_OS=true
+
 ./xci/scripts/vm/start-new-vm.sh $VM_DISTRO
 
 rsync -a $WORKSPACE/ ${VM_DISTRO}_xci_vm:~/bifrost
 
-ssh -F $HOME/.ssh/xci-vm-config ${VM_DISTRO}_xci_vm "cd ~/bifrost && ./bifrost_test.sh"
+ssh -F $HOME/.ssh/xci-vm-config ${VM_DISTRO}_xci_vm "cd ~/bifrost/releng-xci && ./bifrost_test.sh"