From 5c02d598bf827d632c2933cf4ed7a7e718318d11 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Tue, 14 Aug 2018 23:07:43 +0200 Subject: Allow overriding rally-tag if OpenStack master MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It allows setting a newer rally-openstack tag in ollivier containers to include "Fix the gates about cinder" [1]. TypeError: create() got an unexpected keyword argument 'source_replica' [1] https://github.com/openstack/rally-openstack/commit/67882d55ca453d6aa863d279ec4cfc2b52c80f0a [2] https://bugs.launchpad.net/rally/+bug/1785519 Change-Id: I5ed1002f345b0a9c51783850d09d0f336d0ed3d9 Signed-off-by: Cédric Ollivier --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 470b9d52b..8610330f6 100644 --- a/build.sh +++ b/build.sh @@ -13,7 +13,8 @@ docker/components \ docker/vnf"} arm64_dirs=${arm64_dirs-${amd64_dirs}} build_opts=(--pull=true --no-cache --force-rm=true \ - --build-arg OPENSTACK_TAG="${OPENSTACK_TAG:-stable/queens}") + --build-arg OPENSTACK_TAG="${OPENSTACK_TAG:-stable/queens}" \ + --build-arg RALLY_OPENSTACK_TAG="${RALLY_OPENSTACK_TAG:-1.2.0}") find . -name Dockerfile -exec sed -i \ -e "s|opnfv/functest-core|${repo}/functest-core:amd64-latest|g" {} + -- cgit 1.2.3-korg