Skip to content

Commit

Permalink
feat(pontoon): allow specifying syncProjectCronjob's concurrencyPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
reevejd committed Sep 13, 2022
1 parent 171ed52 commit d7c9567
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/pontoon/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: pontoon
home: https://github.com/mozilla/pontoon
version: 2.0.0
version: 2.1.0
# Pontoon no longer cuts releases.
# See https://github.com/mozilla/pontoon/releases/tag/2018-12-19
# and https://hub.docker.com/r/skillsnetwork/pontoon/tags
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
release: {{ .Release.Name }}
component: "pontoon-sync-projects-cronjob"
spec:
concurrencyPolicy: {{ .Values.syncProjectCronjob.concurrencyPolicy | quote }}
schedule: {{ .Values.syncProjectCronjob.schedule | quote }}
suspend: {{ .Values.syncProjectCronjob.suspend }}
successfulJobsHistoryLimit: {{ .Values.syncProjectCronjob.successfulJobsHistoryLimit }}
Expand Down
3 changes: 2 additions & 1 deletion charts/pontoon/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ worker:
# Schedule job to sync projects with external VCS
# https://mozilla-pontoon.readthedocs.io/en/latest/admin/deployment.html#scheduled-jobs
syncProjectCronjob:
concurrencyPolicy: Allow
schedule: "@every 30m"
suspend: false
successfulJobsHistoryLimit: 10
Expand Down Expand Up @@ -125,7 +126,7 @@ postgres:
enabled: false
postgresqlUsername: "postgres"
postgresqlDatabase: "pontoon"
# If NOT using the PostgreSQL in this chart (postgres.enabled=false),
# If NOT using the PostgreSQL in this chart (postgres.enabled=false),
# you must specify a custom databasUrl here or pontoon won't work
databaseUrl: ""

Expand Down

0 comments on commit d7c9567

Please sign in to comment.