Fix INF-378 inventory subscription filter not take effect as expected
[pti/o2.git] / tests / o2app-redis-entry.sh
1 #!/bin/sh
2
3 # pip install -e /src
4 # python /o2ims/entrypoints/resource_watcher.py
5
6 # test only
7 if [ ! -e '/usr/local/bin/helm' ]; then
8     apt-get install -y curl
9     curl -O https://get.helm.sh/helm-v3.3.1-linux-amd64.tar.gz;
10     tar -zxvf helm-v3.3.1-linux-amd64.tar.gz; cp linux-amd64/helm /usr/local/bin
11 fi
12
13 mkdir -p /etc/o2
14 cp -r /configs/* /etc/o2/
15 mkdir -p /src/o2common
16 cp -r /o2common/* /src/o2common
17 mkdir -p /src/o2ims
18 cp -r /o2ims/* /src/o2ims
19 mkdir -p /src/o2dms
20 cp -r /o2dms/* /src/o2dms
21 mkdir -p /src/o2app
22 cp -r /o2app/* /src/o2app
23 mkdir -p /src/helm_sdk
24 cp -r /helm_sdk/* /src/helm_sdk
25
26 pip install -e /src
27
28
29 python /o2app/entrypoints/redis_eventconsumer.py