X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=build.sh;h=8610330f6070a55aed2d6b6b81f4d0dc17463018;hb=refs%2Fchanges%2F83%2F61383%2F2;hp=641a67243a37cf6d42f34130e0625efbfdeca3cd;hpb=2845d29b185043da58c434c218e5b409b5d23ac4;p=functest.git diff --git a/build.sh b/build.sh index 641a67243..8610330f6 100644 --- a/build.sh +++ b/build.sh @@ -13,10 +13,13 @@ 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" {} + +find . -name Dockerfile -exec sed -i \ + -e "s|opnfv/functest-tempest|${repo}/functest-tempest:amd64-latest|g" {} + for dir in ${amd64_dirs}; do (cd "${dir}" && docker build "${build_opts[@]}" \ @@ -33,6 +36,8 @@ find . -name Dockerfile -exec sed -i \ -e "s|alpine:3.7|multiarch/alpine:arm64-v3.7|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/functest-core|${repo}/functest-core:arm64-latest|g" {} + +find . -name Dockerfile -exec sed -i \ + -e "s|opnfv/functest-tempest|${repo}/functest-tempest:arm64-latest|g" {} + for dir in ${arm64_dirs}; do (cd "${dir}" && docker build "${build_opts[@]}" \ -t "${repo}/functest-${dir##**/}:arm64-latest" .)