Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix-Env-TC] Fix Env TC #448

Open
wants to merge 86 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 84 commits
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
a588205
Resource change to large.
logoutdhaval Apr 19, 2024
e8be1b8
helm not found
logoutdhaval Apr 19, 2024
4413f5d
helm install
logoutdhaval Apr 19, 2024
45ea18c
test
logoutdhaval Apr 19, 2024
f65f6b1
int test memory reduced 1.5G
logoutdhaval Apr 19, 2024
fb60194
reduce memory to 512
logoutdhaval Apr 19, 2024
c0f3ee3
test
logoutdhaval Apr 19, 2024
731e04b
reduced time out
logoutdhaval Apr 19, 2024
4790f29
increased wait time
logoutdhaval Apr 19, 2024
240be33
xlarge
logoutdhaval Apr 19, 2024
ef59fa8
test
logoutdhaval Apr 19, 2024
12b059c
tse
logoutdhaval Apr 19, 2024
98c6e72
reduced memory
logoutdhaval Apr 22, 2024
83789cf
incerease sleep
logoutdhaval Apr 22, 2024
1b64e28
test
logoutdhaval Apr 22, 2024
df921ad
increased memory
logoutdhaval Apr 22, 2024
c59268a
test
logoutdhaval Apr 22, 2024
e4a8176
limits in kafka
logoutdhaval Apr 22, 2024
f6b6f91
reduced cpus for service
logoutdhaval Apr 22, 2024
b5f9d85
fix for cpu shortage
logoutdhaval Apr 22, 2024
27165e9
remove kibana
logoutdhaval Apr 22, 2024
2b59964
Change in ngrok
logoutdhaval Apr 22, 2024
4db5ad2
reduce cpu to 500
logoutdhaval Apr 22, 2024
0f20c2c
test
logoutdhaval Apr 23, 2024
1eb4b93
test1
logoutdhaval Apr 23, 2024
51d49af
reduced memeory and storage
logoutdhaval Apr 23, 2024
84dd459
final
logoutdhaval Apr 23, 2024
0fca764
readiness probe
logoutdhaval Apr 23, 2024
ff2d9c2
increase pvc size
logoutdhaval Apr 23, 2024
4003c6d
fix for pvc issue
logoutdhaval Apr 23, 2024
3d643f8
tste
logoutdhaval Apr 23, 2024
01097f6
config readiness probe
logoutdhaval Apr 23, 2024
21b8a16
increase readiness probe
logoutdhaval Apr 23, 2024
3a39b97
test
logoutdhaval Apr 23, 2024
8376d1d
account mapper readiness 180
logoutdhaval Apr 23, 2024
b7c2cbf
test it with 1Gi
logoutdhaval Apr 26, 2024
54ac20c
test
logoutdhaval May 14, 2024
eed1a97
yse
logoutdhaval May 14, 2024
1a205fb
test
logoutdhaval May 14, 2024
ba05f0c
TEST
logoutdhaval May 14, 2024
e310048
test
logoutdhaval May 14, 2024
deb73da
test
logoutdhaval May 14, 2024
b98dd44
test
logoutdhaval May 15, 2024
7c11eb3
test
logoutdhaval May 15, 2024
9cf6253
test
logoutdhaval May 15, 2024
654ad0b
remove test
logoutdhaval May 15, 2024
e3c2912
memory increase int test
logoutdhaval May 15, 2024
17a37fd
test
logoutdhaval May 15, 2024
c96860c
test
logoutdhaval May 15, 2024
2cb28c7
memory issue
logoutdhaval May 15, 2024
62df682
test
logoutdhaval May 15, 2024
cf4c4a4
token change
logoutdhaval May 15, 2024
a18bf03
tewst
logoutdhaval May 15, 2024
e92bd07
test
logoutdhaval May 15, 2024
10f4e0f
test
logoutdhaval May 15, 2024
36b96f3
tets
logoutdhaval May 15, 2024
b887d22
test
logoutdhaval May 15, 2024
53122b5
test
logoutdhaval May 15, 2024
95fa0de
test
logoutdhaval May 15, 2024
6b4f1ff
test
logoutdhaval May 15, 2024
fd3493b
check int memory RCA
logoutdhaval May 16, 2024
a3e9a4b
test
logoutdhaval May 16, 2024
536eacd
test
logoutdhaval May 16, 2024
cfae32c
test
logoutdhaval May 16, 2024
4cc0931
test
logoutdhaval May 16, 2024
97ff57f
image change
logoutdhaval May 16, 2024
fe66ad8
change in img
logoutdhaval May 16, 2024
0857130
resouce change
logoutdhaval May 16, 2024
b86b9ce
test
logoutdhaval May 16, 2024
6df886c
test
logoutdhaval May 16, 2024
5d1ca4c
test
logoutdhaval May 16, 2024
90b5c8a
test
logoutdhaval May 17, 2024
e984ad0
test
logoutdhaval May 17, 2024
614e802
change in account-mapper datasource url
logoutdhaval May 24, 2024
89e9b26
tenant fix
logoutdhaval May 24, 2024
9a71886
fix IDAM
logoutdhaval May 24, 2024
d531d41
test
logoutdhaval May 24, 2024
2ed4c51
fix IDAM
logoutdhaval May 24, 2024
9c23a8c
fix IDAM
logoutdhaval May 24, 2024
3aaa673
ingress fix
logoutdhaval May 24, 2024
938e492
fix
logoutdhaval May 24, 2024
2e4bce9
test
logoutdhaval May 24, 2024
15ff136
fix
logoutdhaval May 24, 2024
a286cc2
[fixEnvTC] Fix Env TC
shkr7 Jun 3, 2024
ea1c0cb
Rebase with upstream
shkr7 Jun 13, 2024
a005e47
Identation
shkr7 Jun 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
209 changes: 109 additions & 100 deletions .circleci/config.yml

Large diffs are not rendered by default.

47 changes: 27 additions & 20 deletions helm/g2p-sandbox/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ph-ee-engine:
LOGGING_LEVEL_ROOT: "INFO"
LOGGING_PATTERN_CONSOLE: "%d{dd-MM-yyyy HH:mm:ss.SSS} %magenta([%thread]) %highlight(%-5level) %logger.%M - %msg%n"
tenants: "rhino,gorilla,wakanda,pluto,venus,jupiter"
DFSPIDS: "wakanda,pluto,venus,jupiter"
DFSPIDS: "wakanda,pluto,venus,jupiter,gorilla"

zeebe-operate-helm:
enabled: true
Expand Down Expand Up @@ -66,19 +66,12 @@ ph-ee-engine:
# Shrink default JVM heap.
esJavaOpts: "-Xmx512m -Xms512m"
# Allocate smaller chunks of memory per pod.
resources:
requests:
cpu: "100m"
memory: "1024M"
limits:
cpu: "1000m"
memory: "1024M"
volumeClaimTemplate:
accessModes: [ "ReadWriteOnce" ]
storageClassName: "gp2"
resources:
requests:
storage: 10Gi
storage: 5Gi

kibana:
enabled: true
Expand Down Expand Up @@ -189,8 +182,6 @@ ph-ee-engine:

mockpayment:
enabled: true
limits:
memory: "768M"
ingress:
enabled: false
hosts:
Expand Down Expand Up @@ -305,12 +296,6 @@ ph-ee-engine:
enabled: true
image: docker.io/openmf/ph-ee-connector-gsma:latest
SPRING_PROFILES_ACTIVE: "bb"
limits:
cpu: "500m"
memory: "512M"
requests:
cpu: "100m"
memory: "256M"
deployment:
annotations:
deployTime: "{{ .Values.deployTime }}"
Expand Down Expand Up @@ -578,9 +563,18 @@ ph-ee-engine:
region: "ap-south-1"
access_key: "aws-access-key"
secret_key: "aws-secret-key"
hostname: "connector.sandbox.mifos.io"
hostname: "connector1.sandbox.mifos.io"
ingress:
enabled: true
hosts:
- host: connector1.sandbox.mifos.io
paths:
- path: "/"
backend:
service:
name: ph-ee-connector
port:
number: 80
annotations:
nginx.ingress.kubernetes.io/access-control-allow-origin: 'true'
nginx.ingress.kubernetes.io/cors-allow-methods: PUT, GET, POST, OPTIONS, DELETE
Expand All @@ -598,9 +592,22 @@ ph-ee-engine:

account_mapper:
enabled: true
image: docker.io/openmf/ph-ee-identity-account-mapper:v1.4.0
image: docker.io/openmf/ph-ee-identity-account-mapper:latest
hostname: "identity-mapper.sandbox.mifos.io"
LOGGING_LEVEL_ROOT: INFO
LOGGING_LEVEL_ROOT: INFO
limits:
cpu: "400m"
memory: "512M"
requests:
cpu: "150m"
memory: "256M"
livenessProbe:
initialDelaySeconds: 20
periodSeconds: 30
readinessProbe:
initialDelaySeconds: 180
periodSeconds: 30

ingress:
enabled: false
pathtype: Prefix
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ spec:
{{ toYaml .Values.deployment.annotations | indent 8 }}
{{- end }}
spec:
initContainers:
#During this Pod's initialization, check that operationsmysql service is up and running before starting this pod
- name: check-operationsmysql-ready
image: busybox:latest
command: [ 'sh', '-c','until nc -vz operationsmysql 3306; do echo "Waiting for operationsmysql service"; sleep 2; done;' ]
containers:
- name: ph-ee-identity-account-mapper
image: "{{ .Values.image}}"
Expand All @@ -37,14 +42,14 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8080
initialDelaySeconds: 20
periodSeconds: 30
initialDelaySeconds: {{.Values.livenessProbe.initialDelaySeconds}}
periodSeconds: {{.Values.livenessProbe.periodSeconds}}
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8080
initialDelaySeconds: 20
periodSeconds: 30
initialDelaySeconds: {{.Values.readinessProbe.initialDelaySeconds}}
periodSeconds: {{.Values.readinessProbe.periodSeconds}}
env:
- name: "ZEEBE_BROKER_CONTACTPOINT"
value: "{{ .Release.Name }}-zeebe-gateway:26500"
Expand Down
6 changes: 6 additions & 0 deletions helm/identity-account-mapper/account-mapper/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,9 @@ deployment:
apiVersion: "apps/v1"
annotations:
deployTime: "{{ .Values.deployTime }}"
livenessProbe:
initialDelaySeconds: 20
periodSeconds: 30
readinessProbe:
initialDelaySeconds: 20
periodSeconds: 30
10 changes: 5 additions & 5 deletions helm/ph-ee-engine/ams-paygops/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8080
initialDelaySeconds: 20
periodSeconds: 30
initialDelaySeconds: {{.Values.livenessProbe.initialDelaySeconds}}
periodSeconds: {{.Values.livenessProbe.periodSeconds}}
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8080
initialDelaySeconds: 20
periodSeconds: 30
initialDelaySeconds: {{.Values.readinessProbe.initialDelaySeconds}}
periodSeconds: {{.Values.readinessProbe.periodSeconds}}
env:
- name: "SPRING_PROFILES_ACTIVE"
value: "{{ .Values.global.SPRING_PROFILES_ACTIVE }}"
Expand Down Expand Up @@ -66,4 +66,4 @@ spec:
requests:
memory: "{{ .Values.requests.memory }}"
cpu: "{{ .Values.requests.cpu }}"
{{- end }}
{{- end }}
8 changes: 7 additions & 1 deletion helm/ph-ee-engine/ams-paygops/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,10 @@ requests:
deployment:
apiVersion: "apps/v1"
annotations:
deployTime: "{{ .Values.deployTime }}"
deployTime: "{{ .Values.deployTime }}"
livenessProbe:
initialDelaySeconds: 20
periodSeconds: 30
readinessProbe:
initialDelaySeconds: 20
periodSeconds: 30
10 changes: 5 additions & 5 deletions helm/ph-ee-engine/ams-roster/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8080
initialDelaySeconds: 20
periodSeconds: 30
initialDelaySeconds: {{.Values.livenessProbe.initialDelaySeconds}}
periodSeconds: {{.Values.livenessProbe.periodSeconds}}
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8080
initialDelaySeconds: 20
periodSeconds: 30
initialDelaySeconds: {{.Values.readinessProbe.initialDelaySeconds}}
periodSeconds: {{.Values.readinessProbe.periodSeconds}}
env:
- name: "SPRING_PROFILES_ACTIVE"
value: "{{ .Values.global.SPRING_PROFILES_ACTIVE }}"
Expand Down Expand Up @@ -66,4 +66,4 @@ spec:
requests:
memory: "{{ .Values.requests.memory }}"
cpu: "{{ .Values.requests.cpu }}"
{{- end }}
{{- end }}
8 changes: 7 additions & 1 deletion helm/ph-ee-engine/ams-roster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,10 @@ requests:
deployment:
apiVersion: "apps/v1"
annotations:
deployTime: "{{ .Values.deployTime }}"
deployTime: "{{ .Values.deployTime }}"
livenessProbe:
initialDelaySeconds: 20
periodSeconds: 30
readinessProbe:
initialDelaySeconds: 20
periodSeconds: 30
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ spec:
{{- if .Values.deployment.annotations }}
{{ toYaml .Values.deployment.annotations | indent 8 }}
{{- end }}
spec:
spec:
initContainers:
#During this Pod's initialization, check that zeebe-gateway service is up and running before starting this pod
- name: check-zeebe-gateway-ready
image: busybox:latest
command: [ 'sh', '-c','until nc -vz {{ .Release.Name }}-zeebe-gateway 26500; do echo "Waiting for zeebe-gateway service"; sleep 2; done;' ]
affinity: {{ toYaml .Values.deployment.affinity | nindent 8 }}
nodeSelector: {{ toYaml .Values.deployment.nodeSelector | nindent 8 }}
tolerations: {{ toYaml ( .Values.tolerations | default .Values.deployment.tolerations ) | nindent 8 }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ spec:
{{ toYaml .Values.deployment.annotations | indent 8 }}
{{- end }}
spec:
initContainers:
#During this Pod's initialization, check that zeebe-gateway service is up and running before starting this pod
- name: check-zeebe-gateway-ready
image: busybox:latest
command: [ 'sh', '-c','until nc -vz {{ .Release.Name }}-zeebe-gateway 26500; do echo "Waiting for zeebe-gateway service"; sleep 2; done;' ]
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriod }}
containers:
- name: ph-ee-connector-bill-pay
Expand Down
5 changes: 5 additions & 0 deletions helm/ph-ee-engine/connector-bulk/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ spec:
{{ toYaml .Values.deployment.annotations | indent 8 }}
{{- end }}
spec:
initContainers:
#During this Pod's initialization, check that zeebe-gateway service is up and running before starting this pod
- name: check-zeebe-gateway-ready
image: busybox:latest
command: [ 'sh', '-c','until nc -vz {{ .Release.Name }}-zeebe-gateway 26500; do echo "Waiting for zeebe-gateway service"; sleep 2; done;' ]
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriod }}
containers:
- name: ph-ee-connector-bulk
Expand Down
18 changes: 14 additions & 4 deletions helm/ph-ee-engine/connector-channel/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,16 @@ spec:
{{ toYaml .Values.deployment.annotations | indent 8 }}
{{- end }}
spec:
initContainers:
#During this Pod's initialization, check that zeebe-gateway service is up and running before starting this pod
- name: check-zeebe-gateway-ready
image: busybox:latest
command: [ 'sh', '-c','until nc -vz {{ .Release.Name }}-zeebe-gateway 26500; do echo "Waiting for zeebe-gateway service"; sleep 2; done;' ]
#During this Pod's initialization, check that redis is up and running before starting this pod
- name: check-redis-ready
image: busybox:latest
command: [ 'sh', '-c','until nc -vz {{ .Release.Name }}-redis-master 6379; do echo "Waiting for redis-master service"; sleep 2; done;' ]

terminationGracePeriodSeconds: {{ .Values.terminationGracePeriod }}
containers:
- name: ph-ee-connector-channel
Expand All @@ -39,15 +49,15 @@ spec:
path: /actuator/health/liveness
port: 8443
scheme: HTTPS
initialDelaySeconds: 20
periodSeconds: 180
initialDelaySeconds: {{.Values.livenessProbe.initialDelaySeconds}}
periodSeconds: {{.Values.livenessProbe.periodSeconds}}
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8443
scheme: HTTPS
initialDelaySeconds: 20
periodSeconds: 180
initialDelaySeconds: {{.Values.readinessProbe.initialDelaySeconds}}
periodSeconds: {{.Values.readinessProbe.periodSeconds}}
env:
- name: "SPRING_PROFILES_ACTIVE"
value: "{{ .Values.SPRING_PROFILES_ACTIVE }}"
Expand Down
5 changes: 5 additions & 0 deletions helm/ph-ee-engine/connector-crm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ spec:
{{ toYaml .Values.deployment.annotations | indent 8 }}
{{- end }}
spec:
initContainers:
#During this Pod's initialization, check that zeebe-gateway service is up and running before starting this pod
- name: check-zeebe-gateway-ready
image: busybox:latest
command: [ 'sh', '-c','until nc -vz {{ .Release.Name }}-zeebe-gateway 26500; do echo "Waiting for zeebe-gateway service"; sleep 2; done;' ]
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriod }}
containers:
- name: ph-ee-connector-crm
Expand Down
7 changes: 6 additions & 1 deletion helm/ph-ee-engine/connector-gsma/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ spec:
{{ toYaml .Values.deployment.annotations | indent 8 }}
{{- end }}
spec:
initContainers:
#During this Pod's initialization, check that zeebe-gateway service is up and running before starting this pod
- name: check-zeebe-gateway-ready
image: busybox:latest
command: [ 'sh', '-c','until nc -vz {{ .Release.Name }}-zeebe-gateway 26500; do echo "Waiting for zeebe-gateway service"; sleep 2; done;' ]
containers:
- name: "ph-ee-connector-gsma-mm"
image: "{{ .Values.image }}"
Expand Down Expand Up @@ -50,4 +55,4 @@ spec:
- name: ph-ee-config
configMap:
name: ph-ee-config
{{- end }}
{{- end }}
2 changes: 1 addition & 1 deletion helm/ph-ee-engine/connector-gsma/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ requests:
deployment:
apiVersion: "apps/v1"
annotations:
deployTime: "{{ .Values.deployTime }}"
deployTime: "{{ .Values.deployTime }}"
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ spec:
{{ toYaml .Values.deployment.annotations | indent 8 }}
{{- end }}
spec:
initContainers:
#During this Pod's initialization, check that zeebe-gateway service is up and running before starting this pod
- name: check-zeebe-gateway-ready
image: busybox:latest
command: [ 'sh', '-c','until nc -vz {{ .Release.Name }}-zeebe-gateway 26500; do echo "Waiting for zeebe-gateway service"; sleep 2; done;' ]
terminationGracePeriodSeconds: {{ .Values.terminationGracePeriod }}
containers:
- name: ph-ee-connector-mock-payment-schema
Expand All @@ -38,14 +43,14 @@ spec:
httpGet:
path: /actuator/health/liveness
port: 8080
initialDelaySeconds: 20
periodSeconds: 30
initialDelaySeconds: {{.Values.livenessProbe.initialDelaySeconds}}
periodSeconds: {{.Values.livenessProbe.periodSeconds}}
readinessProbe:
httpGet:
path: /actuator/health/readiness
port: 8080
initialDelaySeconds: 20
periodSeconds: 30
initialDelaySeconds: {{.Values.readinessProbe.initialDelaySeconds}}
periodSeconds: {{.Values.readinessProbe.periodSeconds}}
env:
- name: "SPRING_PROFILES_ACTIVE"
value: "{{ .Values.global.SPRING_PROFILES_ACTIVE }}"
Expand Down
9 changes: 8 additions & 1 deletion helm/ph-ee-engine/connector-mock-payment-schema/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,11 @@ ingress:
tls: [ ]
# - secretName: sandbox-secret
# hosts:
# - chart-example.local
# - chart-example.local
livenessProbe:
initialDelaySeconds: 20
periodSeconds: 30
readinessProbe:
initialDelaySeconds: 20
periodSeconds: 30

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ spec:
{{ toYaml .Values.deployment.annotations | indent 8 }}
{{- end }}
spec:
initContainers:
#During this Pod's initialization, check that zeebe-gateway service is up and running before starting this pod
- name: check-zeebe-gateway-ready
image: busybox:latest
command: [ 'sh', '-c','until nc -vz {{ .Release.Name }}-zeebe-gateway 26500; do echo "Waiting for zeebe-gateway service"; sleep 2; done;' ]
containers:
- name: ph-ee-connector-mojaloop-java
image: "{{ .Values.image }}"
Expand Down Expand Up @@ -88,4 +93,4 @@ spec:
- name: ph-ee-config
configMap:
name: ph-ee-config
{{- end }}
{{- end }}
Loading