From c07ff326a4ae23b04246d939adfdb73d3bc0c26d Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Sat, 9 Mar 2019 22:47:51 +0100 Subject: [PATCH] koji hub stg: Set up policy for CoreOS continuous builds Allow users with coreos-continuous permission to add/block/unblock packages in *-coreos-continuous tags. For more details, see: * https://meetbot.fedoraproject.org/teams/releng/releng.2019-03-06-16.00.log.html * https://pagure.io/releng/issue/8165 --- roles/koji_hub/templates/hub.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/koji_hub/templates/hub.conf.j2 b/roles/koji_hub/templates/hub.conf.j2 index 77ea0144fe..71792c7485 100644 --- a/roles/koji_hub/templates/hub.conf.j2 +++ b/roles/koji_hub/templates/hub.conf.j2 @@ -151,6 +151,8 @@ package_list = # Infra people can themselves add/block/unblock packages in their # tags without bothering admins. tag *infra* && has_perm infra && match action add unblock block :: allow + # CoreOS continuous builds, https://pagure.io/releng/issue/8165 + tag f{{FedoraRawhideNumber}}-coreos-continuous f{{FedoraBranchedNumber}}-coreos-continuous f{{FedoraCycleNumber}}-coreos-continuous f{{FedoraPreviousCycleNumber}}-coreos-continuous && has_perm coreos-continuous && match action add unblock block :: allow # Catch-all rule. all :: deny