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