beef up the AI/ML framework tests by adding InfluxDB as data source and populate...
[it/test.git] / XTesting / aiml-fw / deploy.sh
index 5ebd275..e472b90 100644 (file)
@@ -7,3 +7,15 @@ git clone "https://gerrit.o-ran-sc.org/r/aiml-fw/aimlfw-dep" /aimlfw-dep
 cd /aimlfw-dep
 
 bin/install_traininghost.sh 2>&1 | tee /tmp/install-thost-`echo $RANDOM`.log
+
+# deploy InfluxDB as the data lake
+helm repo add bitnami https://charts.bitnami.com/bitnami
+helm install my-release bitnami/influxdb
+
+# install the dependencies for populating InfluxDB
+pip3 install pandas
+pip3 install influxdb-client
+
+# populate the sample data in InfluxDB as source for training
+cd /root
+python3 insert.py