X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=bin%2Fverify-ric-charts;h=dd269bb8d650542b6dff8dd1a1c1fbb14d9107e4;hb=16d1788c8835feb3bf819711704cb63a2116c829;hp=e9feb06c8ee24c4a7e74fcb246d965754e2caae0;hpb=a72e0f1c2ae78ab9eadacf5e7b3df53998584a72;p=it%2Fdep.git diff --git a/bin/verify-ric-charts b/bin/verify-ric-charts index e9feb06c..dd269bb8 100755 --- a/bin/verify-ric-charts +++ b/bin/verify-ric-charts @@ -78,10 +78,14 @@ while IFS= read -r -d $'\0'; do done < <(find $ROOT_DIR/../ -maxdepth 5 -name Chart.yaml -printf '%h\0') echo "***************************************" - +echo "Remove nonrtric parent chart from linting as its a conceptual visualization of Nonrtric components. This chart doesn't contain any templates & it's primarily +used for grouping of all Nonrtric components in deployment" for dir in "${CHART_ARRAY[@]}" do + if [[ $dir == *"/helm/nonrtric"* ]]; then + echo "Skip Nonrtric Parent chart" + else echo "Update chart dependency for directory $dir" helm dep up $dir # Lint clearly marks errors; e.g., [ERROR] @@ -106,4 +110,5 @@ do sleep 1 egrep -n '%!.\(.*=.*\)' /tmp/output && echo "Error: Type mismatch." && exit 1 echo "***************************************************************************************************************" + fi done