CI: deploy-cache: Store and reuse deploy artifacts 91/25191/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 30 Nov 2016 02:09:54 +0000 (03:09 +0100)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 30 Nov 2016 02:34:42 +0000 (03:34 +0100)
commitd2f3b2a70f9b6281688f64258f0a01080490d781
treed4274ef9da05ef21ffd39b7fa2a176f53e3c791e
parentcc30d2e0b8b13eda2f0db66db1adfe2a922c83b6
CI: deploy-cache: Store and reuse deploy artifacts

Add support for caching deploy artifacts, like bootstraps and
target images, which take a lot of time at each deploy to be built,
considering it requires a cross-debootstrap via qemu-user-static and
binfmt.

For OPNFV CI, the cache will piggy back on the <iso_mount> mechanism,
and be located at:
/iso_mount/opnfv_ci/<branch>/deploy-cache

TODO: Use dea interface adapter in target images fingerprinting.
TODO: remote fingerprinting
TODO: differentiate between bootstraps and targetimages, so we don't
end up trying to use one cache artifact type as the other.

FIXME: This is still a bit hacky in some areas, but we need it ASAP.

JIRA: ARMBAND-172

Change-Id: Iecd293db98c061325643cc61863a48f092bfd491
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
patches/opnfv-fuel/upstream-backports/0005-CI-deploy-cache-Store-and-reuse-deploy-artifacts.patch [new file with mode: 0644]