get the version number from config.json instead of hard coding it 21/11821/1
authorpceicicd <pekwatch746@gmail.com>
Mon, 25 Sep 2023 22:57:38 +0000 (22:57 +0000)
committerpceicicd <pekwatch746@gmail.com>
Mon, 25 Sep 2023 22:57:46 +0000 (22:57 +0000)
Change-Id: Ibd7c9a8a4d50f5ef6b2708347d44e865f7aa9aa3
Signed-off-by: pceicicd <pekwatch746@gmail.com>
XTesting/xapp/deploy.sh

index 2da0d59..b85dfc8 100644 (file)
@@ -50,5 +50,6 @@ cd ../../../..
 # use dms_cli to install the kpimon-go xApp
 git clone "https://gerrit.o-ran-sc.org/r/ric-app/kpimon-go"
 cd kpimon-go/deploy/
+export XAPP_VERSION=`grep version config.json | cut -f2 -d: | cut -f2 -d\"`
 dms_cli onboard config.json schema.json
-dms_cli install kpimon-go 2.0.1 ricxapp
+dms_cli install kpimon-go ${XAPP_VERSION} ricxapp