From 4a47d63986e6d5192fb8367a0afa0952d2ca5a29 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Wed, 21 Feb 2018 07:56:26 +0100 Subject: Integrate Patrole as a new testcase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's published in a new container because the current results don't allow gating. 0.2 is selected to meet OpenStack Pike's requirements. Co-Authored-By: Rémi Le Trocquer Change-Id: Iafcf8f66ee3531fc43136886095774885bfc3150 Signed-off-by: Cédric Ollivier --- docker/patrole/hooks/post_checkout | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 docker/patrole/hooks/post_checkout (limited to 'docker/patrole/hooks/post_checkout') diff --git a/docker/patrole/hooks/post_checkout b/docker/patrole/hooks/post_checkout new file mode 100644 index 000000000..8d0e98124 --- /dev/null +++ b/docker/patrole/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