X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-platform%2F50-RIC-Platform%2Fbin%2Finstall;fp=ric-platform%2F50-RIC-Platform%2Fbin%2Finstall;h=53023f3cf24b27fb4795eb2f926e13dd208702f6;hb=fc4f466d6a05466097cdcfff1990e732c3b288b0;hp=87040d795e9c621e5b1972cbfbdd7ced7629a98b;hpb=1185de0a37a13edef909d9159b4b45687ae05205;p=it%2Fdep.git diff --git a/ric-platform/50-RIC-Platform/bin/install b/ric-platform/50-RIC-Platform/bin/install index 87040d79..53023f3c 100755 --- a/ric-platform/50-RIC-Platform/bin/install +++ b/ric-platform/50-RIC-Platform/bin/install @@ -44,17 +44,18 @@ echo "Platform Namespace: $NAMESPACE" echo "Helm Release Name: $RELEASE_NAME" -COMMON_CHART_VERSION=$(cat $DIR/../charts/common/Chart.yaml | grep version | awk '{print $2}') +COMMON_CHART_VERSION=$(cat $DIR/../helm/common/Chart.yaml | grep version | awk '{print $2}') -helm package -d /tmp $DIR/../charts/common +helm package -d /tmp $DIR/../helm/common for component in $RICPLT_COMPONENTS; do echo "Preparing chart for comonent $component" - cp /tmp/common-$COMMON_CHART_VERSION.tgz $DIR/../charts/$component/charts/ + mkdir -p $DIR/../helm/$component/charts/ + cp /tmp/common-$COMMON_CHART_VERSION.tgz $DIR/../helm/$component/charts/ if [ -z $OVERRIDEYAML ]; then - helm install --namespace "${NAMESPACE}" --name "${RELEASE_NAME}-$component" $DIR/../charts/$component + helm install --namespace "${NAMESPACE}" --name "${RELEASE_NAME}-$component" $DIR/../helm/$component else - helm install -f $OVERRIDEYAML --namespace "${NAMESPACE}" --name "${RELEASE_NAME}-$component" $DIR/../charts/$component + helm install -f $OVERRIDEYAML --namespace "${NAMESPACE}" --name "${RELEASE_NAME}-$component" $DIR/../helm/$component fi done