From 283df2cc622d128e8b340ebdffbf797403d78c94 Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Tue, 4 Jun 2024 13:58:34 +0200 Subject: [PATCH] [toddlers] Disable distgit_commit_processor on production The distgit_commit_processor has errors on production, let's enable it only for staging now. Signed-off-by: Michal Konecny --- .../openshift-apps/toddlers/templates/fedora-messaging.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/openshift-apps/toddlers/templates/fedora-messaging.toml b/roles/openshift-apps/toddlers/templates/fedora-messaging.toml index a5b55ae157..7c3ae2f38d 100644 --- a/roles/openshift-apps/toddlers/templates/fedora-messaging.toml +++ b/roles/openshift-apps/toddlers/templates/fedora-messaging.toml @@ -400,6 +400,11 @@ notify_emails = [ # Configuration section for distgit_commit_processor [consumer_config.distgit_commit_processor] +{% if env == "staging" %} +enabled = true +{% else %} +enabled = false +{% endif %} mail_from = "notifications@{{ env_prefix }}fedoraproject.org" mail_to = "scm-commits@lists.{{ env_prefix }}fedoraproject.org" # This is the default subject