diff options
author | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2016-10-01 19:14:51 +0200 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2016-10-01 20:19:06 +0200 |
commit | 638d832527012531b506ec0ba40b297c41bfda0e (patch) | |
tree | 81d4e10dd4e61f19fc4aa62a1730fe54c131f879 /build/cache.mk | |
parent | cf93e6ee11c96de090b04196cc96b4a6b0948928 (diff) |
build/docker: Reuse tagged image for OPNFV build
During CI build loops, the workspace is freshly fetched,
so '.docker' make target is built each time.
Reuse existing 'opnfv.org/ubuntu-builder:14.04' tag if present, but
enforce a configurable lifespan for this tag (currently 1 day), so
it does not get stale.
JIRA: FUEL-204
Change-Id: I8d1bd81f3e5e81068e9586c9bea9f43b3327eb38
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'build/cache.mk')
-rw-r--r-- | build/cache.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/cache.mk b/build/cache.mk index f6db01797..a65f310d0 100644 --- a/build/cache.mk +++ b/build/cache.mk @@ -51,5 +51,5 @@ cache: exit 1; \ fi @docker version >/dev/null 2>&1 || (echo 'No Docker installation available'; exit 1) - @make -C docker + @make -C docker get-cache all docker/runcontext $(DOCKERIMG) $(MAKE) $(MAKEFLAGS) cached-all |