diff options
Diffstat (limited to 'plans/policy/drools-applications/setup.sh')
-rwxr-xr-x | plans/policy/drools-applications/setup.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/plans/policy/drools-applications/setup.sh b/plans/policy/drools-applications/setup.sh index 24422a63..e2ca7893 100755 --- a/plans/policy/drools-applications/setup.sh +++ b/plans/policy/drools-applications/setup.sh @@ -16,12 +16,20 @@ # # SPDX-License-Identifier: Apache-2.0 # ============LICENSE_END========================================================= +source ${SCRIPTS}/policy/config/policy-csit.conf +export POLICY_MARIADB_VER +echo ${GERRIT_BRANCH} +echo ${POLICY_MARIADB_VER} echo "Uninstall docker-py and reinstall docker." pip uninstall -y docker-py pip uninstall -y docker pip install -U docker==2.7.0 +sudo apt-get -y install libxml2-utils +export POLICY_DROOLS_APPS_VERSION="$(curl -q --silent https://git.onap.org/policy/drools-applications/plain/pom.xml?h=${GERRIT_BRANCH} | xmllint --xpath '/*[local-name()="project"]/*[local-name()="version"]/text()' -)" +echo ${POLICY_DRROLS_APPS_VERSION} + docker login -u docker -p docker nexus3.onap.org:10001 # Adding this waiting container to avoid race condition between api and mariadb containers. |