From 95fcfe8375d92e09166f530aff955fb2e41c993e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 9 Jun 2023 11:26:30 -0700 Subject: [PATCH] koji_hub: fix matches to include allow Signed-off-by: Kevin Fenzi --- roles/koji_hub/templates/hub.conf.j2 | 32 ++++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/roles/koji_hub/templates/hub.conf.j2 b/roles/koji_hub/templates/hub.conf.j2 index 2c4e5d43cd..8a30df4c2c 100644 --- a/roles/koji_hub/templates/hub.conf.j2 +++ b/roles/koji_hub/templates/hub.conf.j2 @@ -206,17 +206,17 @@ sidetag = build_from_scm = match scm_host src.stg.fedoraproject.org :: { bool scratch :: fedpkg sources - match scm_repository /rpms/* :: fedpkg sources - match scm_repository /modules/* :: fedpkg sources - match scm_repository /containers/* :: fedpkg sources - match scm_repository /flatpaks/* :: fedpkg sources + match scm_repository /rpms/* :: allow fedpkg sources + match scm_repository /modules/* :: allow fedpkg sources + match scm_repository /containers/* :: allow fedpkg sources + match scm_repository /flatpaks/* :: allow fedpkg sources } match scm_host pkgs.stg.fedoraproject.org :: { bool scratch :: fedpkg sources - match scm_repository /rpms/* :: fedpkg sources - match scm_repository /modules/* :: fedpkg sources - match scm_repository /containers/* :: fedpkg sources - match scm_repository /flatpaks/* :: fedpkg sources + match scm_repository /rpms/* :: allow fedpkg sources + match scm_repository /modules/* :: allow fedpkg sources + match scm_repository /containers/* :: allow fedpkg sources + match scm_repository /flatpaks/* :: allow fedpkg sources } match scm_host pkgs.fedoraproject.org && match scm_repository /* :: allow fedpkg sources match scm_host pagure.io && match scm_repository /fedora-kickstarts.git :: allow @@ -226,17 +226,17 @@ build_from_scm = build_from_scm = match scm_host src.fedoraproject.org :: { bool scratch :: fedpkg sources - match scm_repository /rpms/* :: fedpkg sources - match scm_repository /modules/* :: fedpkg sources - match scm_repository /containers/* :: fedpkg sources - match scm_repository /flatpaks/* :: fedpkg sources + match scm_repository /rpms/* :: allow fedpkg sources + match scm_repository /modules/* :: allow fedpkg sources + match scm_repository /containers/* :: allow fedpkg sources + match scm_repository /flatpaks/* :: allow fedpkg sources } match scm_host pkgs.fedoraproject.org :: { bool scratch :: fedpkg sources - match scm_repository /rpms/* :: fedpkg sources - match scm_repository /modules/* :: fedpkg sources - match scm_repository /containers/* :: fedpkg sources - match scm_repository /flatpaks/* :: fedpkg sources + match scm_repository /rpms/* :: allow fedpkg sources + match scm_repository /modules/* :: allow fedpkg sources + match scm_repository /containers/* :: allow fedpkg sources + match scm_repository /flatpaks/* :: allow fedpkg sources } match scm_host pagure.io :: { bool scratch :: allow