diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-10-04 16:20:27 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-10-04 17:16:41 +0200 |
commit | 8e0d928dfcde3cd360fccaef6be7e45fd53cd013 (patch) | |
tree | 7a708bb9369fbeb7809bda110b762848a886f5ad | |
parent | df8bd9f2a486261a9e5f76274467037dbdac001b (diff) |
Modify smoke and benchmarking in Docker From
Change-Id: I0d7acd82f3a4305e862e924d1199c5d28d3ccf56
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit e50c0a670fa1dadd49ce6070bcdd2228d9478a7d)
-rw-r--r-- | build.sh | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -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" .) |