Issue-ID: POLICY-4853
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: If99cb19a60e65b720a60105d222ce321da7b01d3
# This script spins up kubernetes cluster in Microk8s for deploying policy helm charts.
# Runs CSITs in kubernetes.
-if [ -z "${WORKSPACE}" ]; then
- WORKSPACE=$(git rev-parse --show-toplevel)
- export WORKSPACE
-fi
+WORKSPACE=$(git rev-parse --show-toplevel)
+export WORKSPACE
export GERRIT_BRANCH=$(awk -F= '$1 == "defaultbranch" { print $2 }' "${WORKSPACE}"/.gitreview)
# Start Kubernetes
function start_kubernetes() {
- bash run-k8s-csit.sh install $3
- bash get-cluster-info.sh
+ bash run-k8s-csit.sh install
+ bash resources/scripts/get-cluster-info.sh
}
function install_jmeter() {
image: mariadb:10.5.8
dbmigrator:
- image: onap/policy-db-migrator:2.6-SNAPSHOT-latest
+ image: onap/policy-db-migrator:3.0.1-SNAPSHOT
schema: policyadmin
policy_home: "/opt/app/policy"