From 73c5cc8bfe2b6d75e698b44cf9fc1cbc48a72596 Mon Sep 17 00:00:00 2001 From: pdragosh Date: Mon, 11 Mar 2019 14:22:39 -0400 Subject: Fix casablanca policy script This should fix the CSIT for casablanca merge jobs. Issue-ID: POLICY-1579 Change-Id: I7a70883b82fa06b922e1cfa24be72c9c575e7f10 Signed-off-by: pdragosh --- scripts/policy/script1.sh | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/policy/script1.sh b/scripts/policy/script1.sh index c47c4bf8..e51af903 100755 --- a/scripts/policy/script1.sh +++ b/scripts/policy/script1.sh @@ -61,21 +61,29 @@ fi echo $DOCKER_IP git clone http://gerrit.onap.org/r/oparent +cd oparent +git checkout casablanca +cd ${WORK_DIR} git clone http://gerrit.onap.org/r/policy/engine -cd engine/packages/docker +cd engine +git checkout casablanca +cd packages/docker ${WORK_DIR}/maven/apache-maven-3.3.9/bin/mvn prepare-package --settings ${WORK_DIR}/oparent/settings.xml docker build -t onap/policy-pe target/policy-pe cd ${WORK_DIR} git clone http://gerrit.onap.org/r/policy/drools-pdp -cd drools-pdp/packages/docker +cd drools-pdp +git checkout casablanca +cd packages/docker ${WORK_DIR}/maven/apache-maven-3.3.9/bin/mvn prepare-package --settings ${WORK_DIR}/oparent/settings.xml docker build -t onap/policy-drools target/policy-drools cd ${WORK_DIR} git clone http://gerrit.onap.org/r/policy/docker cd docker +git checkout casablanca chmod +x config/drools/drools-tweaks.sh -- cgit 1.2.3-korg