chore: update Jenkinsfile execute mode to 'on_demand' for service hub and frontend; add appEnv to notification and payment configs in alpha and prod values
This commit is contained in:
parent
eef1a389f9
commit
4bb2653bb7
@ -8,7 +8,7 @@ executeFreeleapsPipeline {
|
|||||||
serviceGitRepo = "https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-service-hub.git"
|
serviceGitRepo = "https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-service-hub.git"
|
||||||
serviceGitRepoType = 'monorepo'
|
serviceGitRepoType = 'monorepo'
|
||||||
serviceGitCredentialsId = 'freeleaps-ops-git-credentials'
|
serviceGitCredentialsId = 'freeleaps-ops-git-credentials'
|
||||||
executeMode = 'fully'
|
executeMode = 'on_demand'
|
||||||
commitMessageLintEnabled = false
|
commitMessageLintEnabled = false
|
||||||
components = [
|
components = [
|
||||||
[
|
[
|
||||||
|
|||||||
@ -7,7 +7,7 @@ executeFreeleapsPipeline {
|
|||||||
serviceGitRepo = "https://gitea.freeleaps.mathmast.com/products/freeleaps.git"
|
serviceGitRepo = "https://gitea.freeleaps.mathmast.com/products/freeleaps.git"
|
||||||
serviceGitRepoType = 'monorepo'
|
serviceGitRepoType = 'monorepo'
|
||||||
serviceGitCredentialsId = 'freeleaps-repos-gitea-credentails'
|
serviceGitCredentialsId = 'freeleaps-repos-gitea-credentails'
|
||||||
executeMode = 'fully'
|
executeMode = 'on_demand'
|
||||||
commitMessageLintEnabled = false
|
commitMessageLintEnabled = false
|
||||||
components = [
|
components = [
|
||||||
[
|
[
|
||||||
|
|||||||
@ -20,6 +20,10 @@ spec:
|
|||||||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }}
|
||||||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||||
replicas: {{ .Values.notification.replicas }}
|
replicas: {{ .Values.notification.replicas }}
|
||||||
|
{{- if .Values.logIngest.enabled }}
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
{{- end }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
@ -36,8 +40,6 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
{{- if .Values.logIngest.enabled }}
|
{{- if .Values.logIngest.enabled }}
|
||||||
serviceAccountName: "{{ .Release.Name }}-otel-collector"
|
serviceAccountName: "{{ .Release.Name }}-otel-collector"
|
||||||
strategy:
|
|
||||||
type: Recreate
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: "notification"
|
- name: "notification"
|
||||||
|
|||||||
@ -7,6 +7,7 @@ type: Opaque
|
|||||||
data:
|
data:
|
||||||
TZ: {{ .Values.notification.configs.tz | b64enc | quote }}
|
TZ: {{ .Values.notification.configs.tz | b64enc | quote }}
|
||||||
APP_NAME: {{ .Values.notification.configs.appName | b64enc | quote }}
|
APP_NAME: {{ .Values.notification.configs.appName | b64enc | quote }}
|
||||||
|
APP_ENV: {{ .Values.notification.configs.appEnv | default "alpha" | b64enc | quote }}
|
||||||
SERVICE_API_ACCESS_HOST: {{ .Values.notification.configs.serviceApiAccessHost | b64enc | quote }}
|
SERVICE_API_ACCESS_HOST: {{ .Values.notification.configs.serviceApiAccessHost | b64enc | quote }}
|
||||||
SERVICE_API_ACCESS_PORT: {{ .Values.notification.configs.serviceApiAccessPort | toString | b64enc }}
|
SERVICE_API_ACCESS_PORT: {{ .Values.notification.configs.serviceApiAccessPort | toString | b64enc }}
|
||||||
RABBITMQ_HOST: {{ .Values.notification.configs.rabbitmqHost | b64enc | quote }}
|
RABBITMQ_HOST: {{ .Values.notification.configs.rabbitmqHost | b64enc | quote }}
|
||||||
|
|||||||
@ -78,6 +78,7 @@ notification:
|
|||||||
configs:
|
configs:
|
||||||
tz: UTC
|
tz: UTC
|
||||||
appName: notification
|
appName: notification
|
||||||
|
appEnv: alpha
|
||||||
serviceApiAccessHost: 0.0.0.0
|
serviceApiAccessHost: 0.0.0.0
|
||||||
serviceApiAccessPort: 8003
|
serviceApiAccessPort: 8003
|
||||||
mongodbName: freeleaps2
|
mongodbName: freeleaps2
|
||||||
|
|||||||
@ -7,6 +7,11 @@ dashboard:
|
|||||||
name: freeleaps-prod-notification-dashboard
|
name: freeleaps-prod-notification-dashboard
|
||||||
title: Notification Service Dashboard (PROD)
|
title: Notification Service Dashboard (PROD)
|
||||||
metricsPrefix: freeleaps_notification
|
metricsPrefix: freeleaps_notification
|
||||||
|
logIngest:
|
||||||
|
enabled: true
|
||||||
|
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
|
||||||
|
logPathPattern: /app/log/notification/*.log
|
||||||
|
logPath: /app/log/notification
|
||||||
notification:
|
notification:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
image:
|
image:
|
||||||
@ -64,6 +69,7 @@ notification:
|
|||||||
configs:
|
configs:
|
||||||
tz: UTC
|
tz: UTC
|
||||||
appName: notification
|
appName: notification
|
||||||
|
appEnv: prod
|
||||||
serviceApiAccessHost: 0.0.0.0
|
serviceApiAccessHost: 0.0.0.0
|
||||||
serviceApiAccessPort: 8003
|
serviceApiAccessPort: 8003
|
||||||
mongodbName: freeleaps2
|
mongodbName: freeleaps2
|
||||||
|
|||||||
@ -7,6 +7,7 @@ type: Opaque
|
|||||||
data:
|
data:
|
||||||
TZ: {{ .Values.payment.configs.tz | b64enc | quote }}
|
TZ: {{ .Values.payment.configs.tz | b64enc | quote }}
|
||||||
APP_NAME: {{ .Values.payment.configs.appName | b64enc | quote }}
|
APP_NAME: {{ .Values.payment.configs.appName | b64enc | quote }}
|
||||||
|
APP_ENV: {{ .Values.payment.configs.appEnv | default "alpha" | b64enc | quote }}
|
||||||
SERVICE_API_ACCESS_HOST: {{ .Values.payment.configs.serviceApiAccessHost | b64enc | quote }}
|
SERVICE_API_ACCESS_HOST: {{ .Values.payment.configs.serviceApiAccessHost | b64enc | quote }}
|
||||||
SERVICE_API_ACCESS_PORT: {{ .Values.payment.configs.serviceApiAccessPort | toString | b64enc }}
|
SERVICE_API_ACCESS_PORT: {{ .Values.payment.configs.serviceApiAccessPort | toString | b64enc }}
|
||||||
MONGODB_NAME: {{ .Values.payment.configs.mongodbName | b64enc | quote }}
|
MONGODB_NAME: {{ .Values.payment.configs.mongodbName | b64enc | quote }}
|
||||||
|
|||||||
@ -78,6 +78,7 @@ payment:
|
|||||||
configs:
|
configs:
|
||||||
tz: UTC
|
tz: UTC
|
||||||
appName: payment
|
appName: payment
|
||||||
|
appEnv: alpha
|
||||||
serviceApiAccessHost: 0.0.0.0
|
serviceApiAccessHost: 0.0.0.0
|
||||||
serviceApiAccessPort: 8006
|
serviceApiAccessPort: 8006
|
||||||
mongodbName: freeleaps2
|
mongodbName: freeleaps2
|
||||||
|
|||||||
@ -7,6 +7,11 @@ dashboard:
|
|||||||
name: freeleaps-prod-payment-dashboard
|
name: freeleaps-prod-payment-dashboard
|
||||||
title: Payment Service Dashboard (PROD)
|
title: Payment Service Dashboard (PROD)
|
||||||
metricsPrefix: freeleaps_payment
|
metricsPrefix: freeleaps_payment
|
||||||
|
logIngest:
|
||||||
|
enabled: true
|
||||||
|
lokiEndpoint: http://loki-gateway.freeleaps-logging-system
|
||||||
|
logPathPattern: /app/log/payment/*.log
|
||||||
|
logPath: /app/log/payment
|
||||||
payment:
|
payment:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
image:
|
image:
|
||||||
@ -64,6 +69,7 @@ payment:
|
|||||||
configs:
|
configs:
|
||||||
tz: UTC
|
tz: UTC
|
||||||
appName: payment
|
appName: payment
|
||||||
|
appEnv: prod
|
||||||
serviceApiAccessHost: 0.0.0.0
|
serviceApiAccessHost: 0.0.0.0
|
||||||
serviceApiAccessPort: 8006
|
serviceApiAccessPort: 8006
|
||||||
mongodbName: freeleaps2
|
mongodbName: freeleaps2
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user