xci: Fix checkout location for OpenStack-Ansible 39/48739/11
authorMarkos Chandras <mchandras@suse.de>
Tue, 12 Dec 2017 14:58:50 +0000 (14:58 +0000)
committerMarkos Chandras <mchandras@suse.de>
Wed, 13 Dec 2017 20:30:51 +0000 (20:30 +0000)
commit151d8e21a5f146418e9f28d91c6e93edbac367ea
treebdd36deace7d468a426d29c22644426fbe845236
parent304a45bbdc52aa5e7f4374d027e4e17f42d2cd75
xci: Fix checkout location for OpenStack-Ansible

The OPENSTACK_OSA_PATH only makes sense on localhost. As such, when we
use it on playbooks that operate on remote hosts, the result is not
predictable. However, we rsync the entire releng-xci repository to the
opfnv host so we can make everything predictable by simply clone
everything in advance in the .cache directory. That directory is then
rsync'd to the opnfv host. As such, we can repurpose the
OPENSTACK_OSA_PATH to point to the path into the OPNFV host. Moreover,
all external repositories are being cloned to .cache/repos so we can
eliminate some variables in order to simplify the code. Finally, we
bring back the ability to use an external OSA repository for
development purposes.

Change-Id: Ieef3e22ae2085f6735185634d555cfc0d4b69b39
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/config/env-vars
xci/playbooks/configure-localhost.yml
xci/playbooks/configure-opnfvhost.yml
xci/playbooks/provision-vm-nodes.yml
xci/var/opnfv.yml
xci/xci-deploy.sh