...
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | deploy-nonrtric |
---|
|
# Package nonrtric-common and serve it using Helm local repo
HELM_HOME=$(helm home)
COMMON_CHART_VERSION=$(cat $ROOT_DIR/../ric-common/Common-Template/helm/nonrtric-common/Chart.yaml | grep version | awk '{print $2}')
helm package -d /tmp $ROOT_DIR/../ric-common/Common-Template/helm/nonrtric-common
cp /tmp/nonrtric-common-$COMMON_CHART_VERSION.tgz $HELM_HOME/repository/local/ |
You can use the example override yaml or your custom yaml file to to invoke this script. Call the below command from /dep/bin directory,
Code Block |
---|
language | bash |
---|
theme | Midnight |
---|
title | run deploy command |
---|
|
root@vm1:~/dep/bin#./deploy-nonrtric -f ../nonrtric/RECIPE_EXAMPLE/example_recipe.yaml |