aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2020-08-22 16:36:19 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-08-22 16:38:13 +0200
commita0f76d884c1f13c27e906136d3418f12b5342fc4 (patch)
treefd6020c0e0c51e4cfe02b592ba64e4f3ed1792f0 /build.sh
parente1ef7b1d9703348075e982975ba963f0021c073f (diff)
Add xrally_kubernetes_full
It iterates 10 times all operations run by xrally_kubernetes. Now times, concurrenty and count can be set via testcases.yaml. It creates a new containers functest-kubernetes-benchamrking as Functest. Change-Id: Ibfd493b987a359a3f16c2d8db0aef6b8e90b7e92 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'build.sh')
-rw-r--r--build.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 8fb23242..fbd5001e 100644
--- a/build.sh
+++ b/build.sh
@@ -8,7 +8,8 @@ docker/core \
docker/healthcheck \
docker/smoke \
docker/cnf \
-docker/security"}
+docker/security \
+docker/benchmarking"}
arm_dirs=${arm_dirs-${amd64_dirs}}
arm64_dirs=${arm64_dirs-${amd64_dirs}}
build_opts=(--pull=true --no-cache --force-rm=true)
@@ -42,6 +43,9 @@ ${repo}/functest-kubernetes-core:arm64-latest|g" {} +
find . -name Dockerfile -exec sed -i \
-e "s|opnfv/functest-kubernetes-healthcheck|\
${repo}/functest-kubernetes-healthcheck:arm64-latest|g" {} +
+find . -name Dockerfile -exec sed -i \
+ -e "s|opnfv/functest-kubernetes-smoke|\
+${repo}/functest-kubernetes-smoke:arm64-latest|g" {} +
for dir in ${arm64_dirs}; do
(cd "${dir}" && docker build "${build_opts[@]}" \
-t "${repo}/functest-kubernetes-${dir##**/}:arm64-latest" .)
@@ -63,6 +67,9 @@ ${repo}/functest-kubernetes-core:arm-latest|g" {} +
find . -name Dockerfile -exec sed -i \
-e "s|opnfv/functest-kubernetes-healthcheck|\
${repo}/functest-kubernetes-healthcheck:arm-latest|g" {} +
+find . -name Dockerfile -exec sed -i \
+ -e "s|opnfv/functest-kubernetes-smoke|\
+${repo}/functest-kubernetes-smoke:arm-latest|g" {} +
for dir in ${arm_dirs}; do
(cd "${dir}" && docker build "${build_opts[@]}" \
-t "${repo}/functest-kubernetes-${dir##**/}:arm-latest" .)