aboutsummaryrefslogtreecommitdiffstats
path: root/policy-drools/docker-install.sh
diff options
context:
space:
mode:
authorKrzysztof Kwiecien <krzysztof.kwiecien1@orange.com>2017-08-08 11:44:36 +0200
committerKrzysztof Kwiecien <krzysztof.kwiecien1@orange.com>2017-08-08 12:18:13 +0200
commite572b590bfe254a1bbccf70b567580b72802f656 (patch)
tree6ae125397e5e3ecafae1856c1e78bf9e9945d250 /policy-drools/docker-install.sh
parent0beb802ff51065830f7d33a137465b8c6653f175 (diff)
correct feature install procedure in docker/drools
change FEATURES_HOME variable assigment to allow feature install (including healthcheck feature) in docker image, change credential to be in line with robot Issue: POLICY-145 Change-Id: Ib7640e3947dab280f368531b693dc26e09fa6f21 Signed-off-by: Krzysztof Kwiecien <krzysztof.kwiecien1@orange.com>
Diffstat (limited to 'policy-drools/docker-install.sh')
-rw-r--r--policy-drools/docker-install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/policy-drools/docker-install.sh b/policy-drools/docker-install.sh
index aaa3d10d..8f5fbe4e 100644
--- a/policy-drools/docker-install.sh
+++ b/policy-drools/docker-install.sh
@@ -822,6 +822,8 @@ function installFeatures
fi
local name featureConf
+ export FEATURES_HOME="${POLICY_HOME}/${FEATURES_DIR}"
+ echo "FEATURES_HOME is ${FEATURES_HOME}"
mkdir -p "${FEATURES_HOME}" > /dev/null 2>&1
if [[ -d "${FEATURES_HOME}" && -x "${FEATURES_HOME}" ]]; then
@@ -891,6 +893,6 @@ LOGFILE=$PWD/install.log.$TIMESTAMP
OPERATION=install
BASE_CONF=base.conf
HOME_M2=$HOME/.m2
-FEATURES_HOME="${POLICY_HOME}/features"
+FEATURES_DIR="features"
do_install 2>&1 | tee $LOGFILE