ci/deploy.sh: Add new `-E` arg for env erase 61/47461/11
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 18 Nov 2017 19:46:05 +0000 (20:46 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 21 Nov 2017 18:46:36 +0000 (19:46 +0100)
commit77942178b3aff6adc83b5f83645acfff467fa76a
tree20cf8b18252d10c5947e933bd9cb6f92ec8c0b4a
parent77609e7fcebc76f4e10a133354787ad5086c0450
ci/deploy.sh: Add new `-E` arg for env erase

NOTE: In order to undefine VCP VMs with NVRAM (e.g. AArch64 VMs
using AAVMF), an additional parameter should be passed to libvirt
by Salt virt core module (equivalent to `virsh undefine --nvram`).

While at it, pass CI_DEBUG, ERASE_ENV enviroment variables to
state execution, and stop force-applying patches.

Also refactor the rsync between foundation node and Salt master,
so the whole git repo is copied as </root/opnfv>, and <root/fuel>
becomes a link to it; useful for Armband, where 'fuel' is a git
submodule. Fix .git paths after rsync, so git submodules work as
expected in cfg01 repos.

JIRA: FUEL-307

Change-Id: Ic62f03e786581c019168c50ccc50107238021d7f
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
.gitignore
ci/deploy.sh
mcp/config/states/maas
mcp/config/states/virtual_control_plane
mcp/patches/patch.sh
mcp/scripts/salt.sh