diff options
author | adheli.tavares <adheli.tavares@est.tech> | 2024-08-15 12:39:19 +0100 |
---|---|---|
committer | Adheli Tavares <adheli.tavares@est.tech> | 2024-08-26 08:21:39 +0000 |
commit | d802fd9a6c6aaffa330a30b68f7896ffebaa4fcd (patch) | |
tree | 823eb915f6322a38477d971273a0e43713ce0d06 /compose/get-versions.sh | |
parent | 10cf66cdd2cca12dad9f299714e6294ae35752a7 (diff) |
Change default database to PostgreSQL
Issue-ID: POLICY-5118
Change-Id: I22ece93aca3cbc5e406e4942ce5255a7b7b60761
Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
Diffstat (limited to 'compose/get-versions.sh')
-rwxr-xr-x | compose/get-versions.sh | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/compose/get-versions.sh b/compose/get-versions.sh index a51ccef9..0e8f251e 100755 --- a/compose/get-versions.sh +++ b/compose/get-versions.sh @@ -25,11 +25,13 @@ if [ -z "${WORKSPACE}" ]; then export WORKSPACE fi +LOCAL_IMAGES=false + #default values export POLICY_MARIADB_VER=10.10.2 echo POLICY_MARIADB_VER=${POLICY_MARIADB_VER} -export POLICY_POSTGRES_VER=11.1 +export POLICY_POSTGRES_VER=16.4 echo POLICY_POSTGRES_VER=${POLICY_POSTGRES_VER} if [ -n "$LOCAL_IMAGES" ] && [ "$LOCAL_IMAGES" = "true" ]; then @@ -45,8 +47,10 @@ if [ -n "$LOCAL_IMAGES" ] && [ "$LOCAL_IMAGES" = "true" ]; then export POLICY_CLAMP_VERSION="latest" export POLICY_CLAMP_PPNT_VERSION=$POLICY_CLAMP_VERSION export POLICY_DROOLS_APPS_VERSION="latest" + export CONTAINER_LOCATION="" else + export CONTAINER_LOCATION="nexus3.onap.org:10001/" GERRIT_BRANCH=$(awk -F= '$1 == "defaultbranch" { print $2 }' \ "${WORKSPACE}"/.gitreview) @@ -123,7 +127,7 @@ else getDockerVersion docker export POLICY_DOCKER_VERSION="$docker_image_version" - getDockerVersion models "'policy-models-simulator'" 3.0.1 + getDockerVersion models export POLICY_MODELS_VERSION="$docker_image_version" getDockerVersion api |