X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-infra%2F15-Chartmuseum%2Fbin%2Finstall;h=ae097feaa358af0d588ce4215abbdcd3cd614416;hb=5ae874ed52889b075d3544b6814bcc29a4e07c2c;hp=f1a3bb83b549dac2dfa3594799572d95b2154bea;hpb=00599f878be182dc99e515e94b50f35b35956619;p=it%2Fdep.git diff --git a/ric-infra/15-Chartmuseum/bin/install b/ric-infra/15-Chartmuseum/bin/install index f1a3bb83..ae097fea 100755 --- a/ric-infra/15-Chartmuseum/bin/install +++ b/ric-infra/15-Chartmuseum/bin/install @@ -64,11 +64,12 @@ NODENAME=$(kubectl get node | awk 'NR==2{print $1}') kubectl label --overwrite nodes $NODENAME helm-node=enable DIRTEMP=$DIR -. ./clear_data_path +. "$DIR/clear_data_path" DIR=$DIRTEMP RICINFRA_COMPONENTS="chartmuseum" +mkdir -p /tmp/chartmuseum-data echo "Deploying RIC infra components [$RICINFRA_COMPONENTS]" echo "Helm Release Name: $RELEASE_NAME" @@ -79,11 +80,10 @@ helm package -d /tmp $DIR/../../../ric-common/Common-Template/helm/ric-common - - for component in $RICINFRA_COMPONENTS; do mkdir -p $DIR/../helm/$component/charts/ + cp /tmp/ric-common-$COMMON_CHART_VERSION.tgz $DIR/../helm/$component/charts/ if [ -z $OVERRIDEYAML ]; then