diff options
author | 2020-08-22 16:36:19 +0200 | |
---|---|---|
committer | 2020-08-22 18:54:26 +0200 | |
commit | 7d4d64c7f779afd6b827cd794b50a2793fb11f58 (patch) | |
tree | cb56a2b62d7455e8c7b364e38ddc1a97618d05d0 /build.sh | |
parent | e80d89ce8b97b8f0cc5e3d51bb2d4f2def1a44e4 (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>
(cherry picked from commit a0f76d884c1f13c27e906136d3418f12b5342fc4)
Diffstat (limited to 'build.sh')
-rw-r--r-- | build.sh | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -8,7 +8,9 @@ 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) @@ -41,6 +43,9 @@ ${repo}/functest-kubernetes-core:arm64-hunter|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/functest-kubernetes-healthcheck:hunter|\ ${repo}/functest-kubernetes-healthcheck:arm64-hunter|g" {} + +find . -name Dockerfile -exec sed -i \ + -e "s|opnfv/functest-kubernetes-smoke:hunter|\ +${repo}/functest-kubernetes-smoke:arm64-hunter|g" {} + for dir in ${arm64_dirs}; do (cd "${dir}" && docker build "${build_opts[@]}" \ -t "${repo}/functest-kubernetes-${dir##**/}:arm64-hunter" .) @@ -62,6 +67,9 @@ ${repo}/functest-kubernetes-core:arm-hunter|g" {} + find . -name Dockerfile -exec sed -i \ -e "s|opnfv/functest-kubernetes-healthcheck:hunter|\ ${repo}/functest-kubernetes-healthcheck:arm-hunter|g" {} + +find . -name Dockerfile -exec sed -i \ + -e "s|opnfv/functest-kubernetes-smoke:hunter|\ +${repo}/functest-kubernetes-smoke:arm-hunter|g" {} + for dir in ${arm_dirs}; do (cd "${dir}" && docker build "${build_opts[@]}" \ -t "${repo}/functest-kubernetes-${dir##**/}:arm-hunter" .) |