From 9d7e034b68479c293d5e059165daa336ee0d4305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Kone=C4=8Dn=C3=BD?= Date: Mon, 18 Jul 2022 14:43:31 +0200 Subject: [PATCH] [toddlers] Disable packager bugzilla sync on staging MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit distgit_packager_bugzilla_sync toddler doesn't work well on staging, because the accounts from staging dist_git are not properly synced to staging bugzilla. which is causing this toddler to run for too long and blocking the queue. Signed-off-by: Michal Konečný --- roles/openshift-apps/toddlers/templates/cron_playtime.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/openshift-apps/toddlers/templates/cron_playtime.yml b/roles/openshift-apps/toddlers/templates/cron_playtime.yml index ec1e9e8723..d8dd866a5a 100644 --- a/roles/openshift-apps/toddlers/templates/cron_playtime.yml +++ b/roles/openshift-apps/toddlers/templates/cron_playtime.yml @@ -2,7 +2,7 @@ apiVersion: batch/v1 kind: CronJob metadata: - name: playtime-packager-buzilla-sync + name: playtime-packager-bugzilla-sync spec: successfulJobsHistoryLimit: 3 failedJobsHistoryLimit: 3 @@ -211,6 +211,7 @@ spec: secretName: toddlers-fedora-messaging-crt +{% if env != 'staging' %} --- apiVersion: batch/v1 kind: CronJob @@ -263,3 +264,4 @@ spec: - name: fedora-messaging-cert-volume secret: secretName: toddlers-fedora-messaging-crt +{% endif %}