From 8f38c7c4f23a97252b85597c4defc7bab04e5d20 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 11 Jun 2020 10:35:11 -0700 Subject: [PATCH] iad2: kojira: try and monitor external repos for changes too and add a queue_file for kojira debugging Signed-off-by: Kevin Fenzi --- roles/koji_hub/templates/kojira.conf.j2 | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/roles/koji_hub/templates/kojira.conf.j2 b/roles/koji_hub/templates/kojira.conf.j2 index ad6fb41903..e49038d001 100644 --- a/roles/koji_hub/templates/kojira.conf.j2 +++ b/roles/koji_hub/templates/kojira.conf.j2 @@ -40,3 +40,17 @@ serverca = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem ;we want this super long so we don't delete latest repos ;just set this to 6 months for now. dist_repo_lifetime = 7257600 + +; If True, monitor external repos and trigger the appropriate Koji repo +; regenerations when they change. +; Note that you need to have your database set to use UTC, as otherwise +; you can end with weird behaviour. For details see +; https://pagure.io/koji/issue/2159 +check_external_repos = True + +; Writable path could be set here. In such case, kojira will write a +; list of currently monitored tags there with simple statistics in +; every cycle. File would contain information about how long these +; tags are expired and what is the computed score for them. This can +; be used to debug and check in realtime the actual performance. +queue_file = /var/tmp/kojira-queue