Issue-ID: INF-317
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Change-Id: I183ad4460a90a12cd1ae43e8a418563b343d758e
#!/bin/bash
# pull latest code to debug
#!/bin/bash
# pull latest code to debug
-cd /root/
-git clone "https://gerrit.o-ran-sc.org/r/pti/o2"
+# cd /root/
+# git clone "https://gerrit.o-ran-sc.org/r/pti/o2"
# cd o2
# git pull https://gerrit.o-ran-sc.org/r/pti/o2 refs/changes/85/7085/5
# pip install retry
# cd o2
# git pull https://gerrit.o-ran-sc.org/r/pti/o2 refs/changes/85/7085/5
# pip install retry
-pip install -e /root/o2
-
+# pip install -e /root/o2
+pip install -e /src
cat <<EOF>>/etc/hosts
127.0.0.1 api
cat <<EOF>>/etc/hosts
127.0.0.1 api
#!/bin/bash
# pull latest code to debug
#!/bin/bash
# pull latest code to debug
-cd /root/
-git clone "https://gerrit.o-ran-sc.org/r/pti/o2"
-pip install -e /root/o2
+# cd /root/
+# git clone "https://gerrit.o-ran-sc.org/r/pti/o2"
+# pip install -e /root/o2
-python /root/o2/o2app/entrypoints/redis_eventconsumer.py
+# python /root/o2/o2app/entrypoints/redis_eventconsumer.py
+python /src/o2app/entrypoints/redis_eventconsumer.py
#!/bin/bash
# pull latest code to debug
#!/bin/bash
# pull latest code to debug
-cd /root/
-git clone "https://gerrit.o-ran-sc.org/r/pti/o2"
-pip install -e /root/o2
+# cd /root/
+# git clone "https://gerrit.o-ran-sc.org/r/pti/o2"
+# pip install -e /root/o2
-python /root/o2/o2app/entrypoints/resource_watcher.py
+# python /root/o2/o2app/entrypoints/resource_watcher.py
+python /src/o2app/entrypoints/resource_watcher.py
app: o2api
spec:
serviceAccountName: {{ .Values.o2ims.serviceaccountname }}
app: o2api
spec:
serviceAccountName: {{ .Values.o2ims.serviceaccountname }}
- imagePullSecrets:
- - name: {{ .Values.o2ims.imagePullSecrets }}
+ # imagePullSecrets:
+ # - name: {{ .Values.o2ims.imagePullSecrets }}
{{- if .Values.o2ims.affinity }}
affinity:
{{ toYaml .Values.o2ims.affinity | indent 8 }}
{{- if .Values.o2ims.affinity }}
affinity:
{{ toYaml .Values.o2ims.affinity | indent 8 }}
- name: DB_PASSWORD
value: o2ims123
- name: FLASK_APP
- name: DB_PASSWORD
value: o2ims123
- name: FLASK_APP
- value: /root/o2/o2app/entrypoints/flask_application.py
+ value: /src/o2app/entrypoints/flask_application.py
- name: FLASK_DEBUG
value: {{ .Values.o2ims.logginglevel }}
- name: LOGGING_CONFIG_LEVEL
- name: FLASK_DEBUG
value: {{ .Values.o2ims.logginglevel }}
- name: LOGGING_CONFIG_LEVEL