salt.sh: Drop upstream clone in favor of local git 87/38487/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Sat, 29 Jul 2017 20:49:26 +0000 (22:49 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 31 Jul 2017 22:16:27 +0000 (00:16 +0200)
commit8d7128a62cd2f9b3df1d59bf4aa4fa7a387b1679
tree9d6dba2a15d15b7f82668d23373a3ddd28ce9aa9
parent9dfd08262dd3cf833c84cd1c7c1b05c25e09862b
salt.sh: Drop upstream clone in favor of local git

salt.sh currently clones the full Fuel@OPNFV git repo from upstream
public mirror, preventing us from testing locally edited or new
patches.

Instead, bring back git submodule handling from old f_repos, clone
and patch each submodule locally, then copy the whole parent repo
over to cfg01.

This is also a first step towards implementing offline deploy support.

NOTE: This adds new deploy prerequisite packages:
- git (for submodule clone/update);
- make (for submodule patching);
- rsync (for parent repo replication to cfg01);

NOTE: Parent repository is expected to be a git repo, in order to
work with git submodules.

While at it, perform some minor related changes:
- add deploy artifacts (ISOs, qcow2 files) to .gitignore, also used
  to filter-out such files during rsync to cfg01;
- remove obsolete Fuel patches (old f_repos mechanism);
- rename "reclass-system-salt-model" submodule;

Change-Id: I6210d80d41010b2802e4f1b31acf249a18db7963
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
15 files changed:
.gitignore
.gitmodules
build/f_repos/patch/fuel-library/0001-Reduce-ceilometer-memory-usage.patch [deleted file]
build/f_repos/patch/fuel-library/0002-Rework-processorcount-limits-to-os_workers.patch [deleted file]
build/f_repos/patch/fuel-main/0001-Patches-for-OPNFV.patch [deleted file]
build/f_repos/patch/fuel-main/0002-xorriso-fails-to-add-files-with-path-longer-then-240.patch [deleted file]
build/f_repos/patch/fuel-main/0003-repo-mirror-Allow-multi-arch-local-mirrors.patch [deleted file]
build/f_repos/patch/fuel-menu/0001-settings-OPNFV-bootstrap-Default-to-local-mirror.patch [deleted file]
ci/deploy.sh
mcp/patches/Makefile [moved from build/f_repos/Makefile with 66% similarity]
mcp/patches/README.md [moved from build/f_repos/README.md with 78% similarity]
mcp/patches/config.mk [new file with mode: 0644]
mcp/patches/patches.list
mcp/patches/reclass-system-salt-model/0001-Bring-in-opendaylight-support.patch [moved from mcp/patches/0001-opendaylight-reclass-system.patch with 80% similarity]
mcp/scripts/salt.sh