summaryrefslogtreecommitdiffstats
path: root/jjb/xci/xci-run-functest.sh
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2018-10-10 09:09:27 +0200
committerManuel Buil <mbuil@suse.com>2018-10-10 09:16:15 +0200
commit6008d34a3455cd28888f74bda104c48cf2374649 (patch)
treef797d8a2b218d2539068676d248495d63378bbf3 /jjb/xci/xci-run-functest.sh
parentb15d00f631f3dad1f9c51ba61a28e8cff5a7f87f (diff)
Bug fix: Path to inventory wrong
The path to reach the inventory was wrong and thus the error message in CI: Unable to parse /root/releng-xci/.cache/repos/openstack- ansible/inventory/dynamic_inventory.py as an inventory source Change-Id: Ic9e01e0895f3df2f6f27d782b8375dbcceb036e6 Signed-off-by: Manuel Buil <mbuil@suse.com>
Diffstat (limited to 'jjb/xci/xci-run-functest.sh')
-rwxr-xr-xjjb/xci/xci-run-functest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/xci/xci-run-functest.sh b/jjb/xci/xci-run-functest.sh
index 5d3f3ced4..610268c28 100755
--- a/jjb/xci/xci-run-functest.sh
+++ b/jjb/xci/xci-run-functest.sh
@@ -50,7 +50,7 @@ export XCI_VENV=${XCI_PATH}/venv
ssh -F $HOME/.ssh/${DISTRO}-xci-vm-config ${DISTRO}_xci_vm "source $XCI_VENV/bin/activate; \
while read var; do declare -x \"\${var}\" 2>/dev/null; done < ${XCI_PATH}/.cache/xci.env && \
cd releng-xci/xci && ansible-playbook -i playbooks/dynamic_inventory.py \
- -i /root/releng-xci/.cache/repos/openstack-ansible/inventory/dynamic_inventory.py \
+ -i ${XCI_PATH}/.cache/repos/openstack-ansible/inventory/dynamic_inventory.py \
playbooks/prepare-tests.yml"
echo "Prepare OPNFV VM for Tests"
ssh -F $HOME/.ssh/${DISTRO}-xci-vm-config ${DISTRO}_xci_vm_opnfv "/root/prepare-tests.sh"