From 8e0d928dfcde3cd360fccaef6be7e45fd53cd013 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 4 Oct 2020 16:20:27 +0200 Subject: Modify smoke and benchmarking in Docker From MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0d7acd82f3a4305e862e924d1199c5d28d3ccf56 Signed-off-by: Cédric Ollivier (cherry picked from commit e50c0a670fa1dadd49ce6070bcdd2228d9478a7d) --- build.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/build.sh b/build.sh index f1409d047..e7dbb1ba4 100644 --- a/build.sh +++ b/build.sh @@ -22,6 +22,11 @@ find . -name Dockerfile -exec sed -i \ -e \ "s|opnfv/functest-tempest:iruya|${repo}/functest-tempest:amd64-iruya|g" \ {} + +find . -name Dockerfile -exec sed -i \ + -e "s|opnfv/functest-smoke:iruya|${repo}/functest-smoke:amd64-iruya|g" {} + +find . -name Dockerfile -exec sed -i \ + -e "s|opnfv/functest-benchmarking:iruya|\ +${repo}/functest-benchmarking:amd64-iruya|g" {} + for dir in ${amd64_dirs}; do (cd "${dir}" && docker build "${build_opts[@]}" \ @@ -42,6 +47,11 @@ find . -name Dockerfile -exec sed -i \ -e \ "s|opnfv/functest-tempest:iruya|${repo}/functest-tempest:arm64-iruya|g" \ {} + +find . -name Dockerfile -exec sed -i \ + -e "s|opnfv/functest-smoke:iurya|${repo}/functest-smoke:arm64-iruya|g" {} + +find . -name Dockerfile -exec sed -i \ + -e "s|opnfv/functest-benchmarking:iruya|\ +${repo}/functest-benchmarking:arm64-iruya|g" {} + for dir in ${arm64_dirs}; do (cd "${dir}" && docker build "${build_opts[@]}" \ -t "${repo}/functest-${dir##**/}:arm64-iruya" .) @@ -61,6 +71,11 @@ find . -name Dockerfile -exec sed -i \ find . -name Dockerfile -exec sed -i \ -e \ "s|opnfv/functest-tempest:iruya|${repo}/functest-tempest:arm-iruya|g" {} + +find . -name Dockerfile -exec sed -i \ + -e "s|opnfv/functest-smoke:iruya|${repo}/functest-smoke:arm-iruya|g" {} + +find . -name Dockerfile -exec sed -i \ + -e "s|opnfv/functest-benchmarking:iruya|\ +${repo}/functest-benchmarking:arm-iruya|g" {} + for dir in ${arm_dirs}; do (cd "${dir}" && docker build "${build_opts[@]}" \ -t "${repo}/functest-${dir##**/}:arm-iruya" .) -- cgit 1.2.3-korg