From 1004a0475154b9198a02fa246417ed1fbb947ded Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 17 Jun 2018 09:18:13 +0200 Subject: Add functest-tempest container MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It avoids duplicating operations between functest-smoke, functest-components, functest-vnf... It eases building new containers for new tempest-based testcases. Change-Id: I73b973588f4eb70d1e5874d06d030c5a5d729e95 Signed-off-by: Cédric Ollivier --- docker/tempest/hooks/post_checkout | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docker/tempest/hooks/post_checkout (limited to 'docker/tempest/hooks/post_checkout') diff --git a/docker/tempest/hooks/post_checkout b/docker/tempest/hooks/post_checkout new file mode 100644 index 000000000..8d0e98124 --- /dev/null +++ b/docker/tempest/hooks/post_checkout @@ -0,0 +1,6 @@ +#!/bin/bash + +from="${DOCKER_REPO%/*}/functest-core:${DOCKER_TAG}" +sed -i "s|^FROM.*$|FROM ${from}|" Dockerfile + +exit $? -- cgit 1.2.3-korg