In some cases ONAP deployment times out, not giving opportunity
to copy the generated kubespray inventory into healthcheck jobs'
workspaces. This results failures for healthcheck as it can't be
executed without inventory.
This change fetches kubespray inventory from tmp folder which is
enabled by the change below.
https://gerrit.nordix.org/#/c/2027/
Change-Id: I90dcf68bd0f69ccefeb5d94ba09993104c84712d
echo "Info: Cloning opnfv/xtesting-onap repository"
cd $HOME && /bin/rm -rf $WORKSPACE
git clone -q $XTESTING_REPO_URL $WORKSPACE && cd $WORKSPACE
echo "Info: Cloning opnfv/xtesting-onap repository"
cd $HOME && /bin/rm -rf $WORKSPACE
git clone -q $XTESTING_REPO_URL $WORKSPACE && cd $WORKSPACE
-cp ../inventory.ini inventory/inventory.ini
+cp /tmp/inventory.ini inventory/inventory.ini
$WORKSPACE/xtesting.sh
# vim: set ts=2 sw=2 expandtab:
$WORKSPACE/xtesting.sh
# vim: set ts=2 sw=2 expandtab:
echo "Info: Cloning opnfv/xtesting-onap repository"
cd $HOME && /bin/rm -rf $WORKSPACE
git clone -q $XTESTING_REPO_URL $WORKSPACE && cd $WORKSPACE
echo "Info: Cloning opnfv/xtesting-onap repository"
cd $HOME && /bin/rm -rf $WORKSPACE
git clone -q $XTESTING_REPO_URL $WORKSPACE && cd $WORKSPACE
-cp ../inventory.ini inventory/inventory.ini
+cp /tmp/inventory.ini inventory/inventory.ini
$WORKSPACE/xtesting.sh
# vim: set ts=2 sw=2 expandtab:
$WORKSPACE/xtesting.sh
# vim: set ts=2 sw=2 expandtab: