aboutsummaryrefslogtreecommitdiffstats
path: root/docker/benchmarking/hooks
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-09-02 12:20:26 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-09-02 18:10:51 +0200
commit8f8f600106c038138845b3ddc527aebc9055f4a8 (patch)
tree5a987f558dc26932cc609d350c2c48d6571554da /docker/benchmarking/hooks
parent4151722a50e5cd821113183bf4a88d1e8c0ee877 (diff)
Move shaker and vmtp into functest-benchmarking
It also updates all jobs and fixes Dockerhub hooks. Change-Id: Ib182155736b4dbdb829293081741a9d5cb8ea6d7 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/benchmarking/hooks')
-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 000000000..8d0e98124
--- /dev/null
+++ b/docker/benchmarking/hooks/post_checkout
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+from="${DOCKER_REPO%/*}/functest-core:${DOCKER_TAG}"
+sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
+
+exit $?