Skip to content

Commit d7c9567

Browse files
committed
feat(pontoon): allow specifying syncProjectCronjob's concurrencyPolicy
1 parent 171ed52 commit d7c9567

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

charts/pontoon/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v2
22
name: pontoon
33
home: https://github.com/mozilla/pontoon
4-
version: 2.0.0
4+
version: 2.1.0
55
# Pontoon no longer cuts releases.
66
# See https://github.com/mozilla/pontoon/releases/tag/2018-12-19
77
# and https://hub.docker.com/r/skillsnetwork/pontoon/tags

charts/pontoon/templates/pontoon-sync-projects-cronjob.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99
release: {{ .Release.Name }}
1010
component: "pontoon-sync-projects-cronjob"
1111
spec:
12+
concurrencyPolicy: {{ .Values.syncProjectCronjob.concurrencyPolicy | quote }}
1213
schedule: {{ .Values.syncProjectCronjob.schedule | quote }}
1314
suspend: {{ .Values.syncProjectCronjob.suspend }}
1415
successfulJobsHistoryLimit: {{ .Values.syncProjectCronjob.successfulJobsHistoryLimit }}

charts/pontoon/values.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ worker:
8989
# Schedule job to sync projects with external VCS
9090
# https://mozilla-pontoon.readthedocs.io/en/latest/admin/deployment.html#scheduled-jobs
9191
syncProjectCronjob:
92+
concurrencyPolicy: Allow
9293
schedule: "@every 30m"
9394
suspend: false
9495
successfulJobsHistoryLimit: 10
@@ -125,7 +126,7 @@ postgres:
125126
enabled: false
126127
postgresqlUsername: "postgres"
127128
postgresqlDatabase: "pontoon"
128-
# If NOT using the PostgreSQL in this chart (postgres.enabled=false),
129+
# If NOT using the PostgreSQL in this chart (postgres.enabled=false),
129130
# you must specify a custom databasUrl here or pontoon won't work
130131
databaseUrl: ""
131132

0 commit comments

Comments
 (0)