Code Review
/
pti
/
o2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix the helm install failed
[pti/o2.git]
/
tests
/
o2app-redis-entry.sh
diff --git
a/tests/o2app-redis-entry.sh
b/tests/o2app-redis-entry.sh
index
e47ce96
..
a4b2d8c
100644
(file)
--- a/
tests/o2app-redis-entry.sh
+++ b/
tests/o2app-redis-entry.sh
@@
-3,6
+3,13
@@
# pip install -e /src
# python /o2ims/entrypoints/resource_watcher.py
# pip install -e /src
# python /o2ims/entrypoints/resource_watcher.py
+# test only
+if [ ! -e '/usr/local/bin/helm' ]; then
+ apt-get install -y curl
+ curl -O https://get.helm.sh/helm-v3.3.1-linux-amd64.tar.gz;
+ tar -zxvf helm-v3.3.1-linux-amd64.tar.gz; cp linux-amd64/helm /usr/local/bin
+fi
+
mkdir -p /etc/o2
cp -r /configs/* /etc/o2/
mkdir -p /src/o2common
mkdir -p /etc/o2
cp -r /configs/* /etc/o2/
mkdir -p /src/o2common
@@
-13,5
+20,10
@@
mkdir -p /src/o2dms
cp -r /o2dms/* /src/o2dms
mkdir -p /src/o2app
cp -r /o2app/* /src/o2app
cp -r /o2dms/* /src/o2dms
mkdir -p /src/o2app
cp -r /o2app/* /src/o2app
+mkdir -p /src/helm_sdk
+cp -r /helm_sdk/* /src/helm_sdk
+
pip install -e /src
pip install -e /src
+
+
python /o2app/entrypoints/redis_eventconsumer.py
python /o2app/entrypoints/redis_eventconsumer.py