aboutsummaryrefslogtreecommitdiffstats
path: root/docker/benchmarking/hooks/post_checkout
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 18:23:24 +0200
commitcc02e2c645dddbdb476f9c033ff2b7129ad7c4c3 (patch)
tree498b4d4b48d26762ce9092b61feffce0511038ba /docker/benchmarking/hooks/post_checkout
parent8e5d998fed589ce7ac019e7519ab7a43debfd443 (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 'docker/benchmarking/hooks/post_checkout')
-rw-r--r--docker/benchmarking/hooks/post_checkout6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/benchmarking/hooks/post_checkout b/docker/benchmarking/hooks/post_checkout
new file mode 100644
index 00000000..6598f040
--- /dev/null
+++ b/docker/benchmarking/hooks/post_checkout
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+from="${DOCKER_REPO%/*}/functest-kubernetes-smoke:${DOCKER_TAG}"
+sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
+
+exit $?