aboutsummaryrefslogtreecommitdiffstats
path: root/docker/restapi/hooks
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-09-13 04:17:33 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-09-13 04:19:08 +0200
commitb05c2f9b12d360b751792946e91a3e00e7782279 (patch)
treeaa73c2b52ed53d5bf6a7095ae4f332a509c1b621 /docker/restapi/hooks
parent9c90de0daa99b9cc7ba960fb66d39bde765feec2 (diff)
Remove thirdparty-requirements.txt in smoke
As refstack must be installed via local dir (to sync requirements), it's useless to list it again in a requirements file. Change-Id: I9099fff185694fd41cf02e1265b1d4ab7659d7f2 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/restapi/hooks')
-rw-r--r--docker/restapi/hooks/post_checkout6
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/restapi/hooks/post_checkout b/docker/restapi/hooks/post_checkout
new file mode 100644
index 000000000..20a6d4b95
--- /dev/null
+++ b/docker/restapi/hooks/post_checkout
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+from="${DOCKER_REPO%/*}/functest-core"
+sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile
+
+exit $?