From 53247fcbae9250bf7a4f785baba13f718b166fb4 Mon Sep 17 00:00:00 2001 From: Mohan Boddu Date: Jun 17 2020 19:49:20 +0000 Subject: koji gc policy for eln tags https://pagure.io/releng/issue/9534 Signed-off-by: Mohan Boddu --- diff --git a/roles/koji_hub/templates/koji-gc.conf.j2 b/roles/koji_hub/templates/koji-gc.conf.j2 index 9dc308b..9eaab63 100644 --- a/roles/koji_hub/templates/koji-gc.conf.j2 +++ b/roles/koji_hub/templates/koji-gc.conf.j2 @@ -143,6 +143,9 @@ policy = tag *-infra && order >= 2 :: untag tag *-infra-stg && order >= 2 && age > 4 weeks :: untag + #stuff for eln tags + tag eln* && order >= 2 :: untag + #default: keep the last 3 order > 2 :: untag diff --git a/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 b/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 index ccf1f1e..d7edab3 100644 --- a/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 +++ b/roles/koji_hub/templates/prune-signed-copies-protected-tags.j2 @@ -15,3 +15,4 @@ f{{ FedoraPreviousPreviousCycleNumber }}-infra-stg epel7-infra epel7-infra-stg coreos-pool +eln