From: Cédric Ollivier Date: Sun, 17 Jun 2018 10:29:12 +0000 (+0200) Subject: Allow overriding the default OPENSTACK_TAG X-Git-Tag: opnfv-7.0.0~261 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F58633%2F1;p=functest.git Allow overriding the default OPENSTACK_TAG It allows building containers vs other upper-constraints and then reusing our Dockerfiles for an older or newer OpenStack versions. Change-Id: I160e6f7175a11684846cad86c3d47269c88a08ea Signed-off-by: Cédric Ollivier --- diff --git a/build.sh b/build.sh index 4337e0a10..641a67243 100644 --- a/build.sh +++ b/build.sh @@ -12,7 +12,8 @@ docker/features \ docker/components \ docker/vnf"} arm64_dirs=${arm64_dirs-${amd64_dirs}} -build_opts=(--pull=true --no-cache --force-rm=true) +build_opts=(--pull=true --no-cache --force-rm=true \ + --build-arg OPENSTACK_TAG="${OPENSTACK_TAG:-stable/queens}") find . -name Dockerfile -exec sed -i \ -e "s|opnfv/functest-core|${repo}/functest-core:amd64-latest|g" {} +