[tests-only][full-ci][k8s] test: run apiNotification test suite on k8s deployment (#12922)
test: run apiNotification test suite on k8s deployment Signed-off-by: Ashim Shrestha <ashimshrestha2384@gmail.com>
This commit is contained in:
1 parent
3e3bb41132
commit
13583aba0f
3 files changed
+22
-1
No files matched your search
@@ -34,7 +34,7 @@ jobs:
|
||||
- suite: apiContract
|
||||
- suite: apiLocks
|
||||
- suite: apiSettings
|
||||
# - suite: apiNotification
|
||||
- suite: apiNotification
|
||||
- suite: apiCors
|
||||
- suite: apiGraphUser
|
||||
- suite: apiGraph
|
||||
|
||||
@@ -26,6 +26,9 @@ prepare-charts:
|
||||
bash setup.sh $(CHART_REPO)
|
||||
kubectl create namespace $(DOMAIN) || true
|
||||
kubectl create configmap -n $(DOMAIN) ocis-fonts-ttf --from-file=../ci/NotoSans.ttf || true
|
||||
kubectl create configmap -n $(DOMAIN) ocis-translations \
|
||||
--from-file=de_LC_MESSAGES_notifications.po=../translations/de/LC_MESSAGES/notifications.po \
|
||||
--from-file=es_LC_MESSAGES_notifications.po=../translations/es/LC_MESSAGES/notifications.po || true
|
||||
|
||||
.PHONY: deploy-ocis
|
||||
deploy-ocis:
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
mountPath: /etc/ocis/fontsMap.json
|
||||
subPath: fontsMap.json
|
||||
{{- end -}}
|
||||
{{- if eq .appName "notifications" }}
|
||||
- name: ocis-translations
|
||||
mountPath: /etc/ocis/translations
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "ocis.extraVolumes" -}}
|
||||
@@ -23,6 +27,16 @@
|
||||
configMap:
|
||||
name: ocis-fonts-map
|
||||
{{- end -}}
|
||||
{{- if eq .appName "notifications" }}
|
||||
- name: ocis-translations
|
||||
configMap:
|
||||
name: ocis-translations
|
||||
items:
|
||||
- key: de_LC_MESSAGES_notifications.po
|
||||
path: de/LC_MESSAGES/notifications.po
|
||||
- key: es_LC_MESSAGES_notifications.po
|
||||
path: es/LC_MESSAGES/notifications.po
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{- define "ocis.extraEnvs" -}}
|
||||
@@ -50,6 +64,10 @@
|
||||
- name: ANTIVIRUS_CLAMAV_SOCKET
|
||||
value: "tcp://clamav:3310"
|
||||
{{- end -}}
|
||||
{{- if eq .appName "notifications" }}
|
||||
- name: OCIS_TRANSLATION_PATH
|
||||
value: /etc/ocis/translations
|
||||
{{- end -}}
|
||||
{{- if .Values.features.vault.enabled }}
|
||||
{{- if eq .appName "proxy" }}
|
||||
- name: OCIS_ENABLE_VAULT_MODE
|
||||
|
||||
Reference in new issue
Block a user