From 9449e2dc3f3ef5a5c8614f9de62b4df2a43ab31f Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 10 Oct 2024 15:54:03 -0700 Subject: [PATCH] koji_hub: do not send buildSRPMFromSCM to createrepo channel Long ago we sent buildSRPMFromSCM tasks to createrepo channel because we didn't want s390x (which wasn't in that channel) to do them. However, with koji 1.35.x these tasks obey the noarch_arches tag value as to which arch they run on. This means we would need to add s390x and ppc64le to createrepo for them to always work. So, instead lets drop this hub policy for buildSRPMFromSCM and then they will just get default channel and obey noarch_arches as is expected. If s390x proves too slow at these tasks, we can just remove it from noarch_arches or come up with another plan. newRepo distRepo in this policy was pointless, koji automatically does these tasks with channel=createrepo, so no need to specify it here. Signed-off-by: Kevin Fenzi --- roles/koji_hub/templates/hub.conf.j2 | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/koji_hub/templates/hub.conf.j2 b/roles/koji_hub/templates/hub.conf.j2 index 6ec02fced0..085f2032ce 100644 --- a/roles/koji_hub/templates/hub.conf.j2 +++ b/roles/koji_hub/templates/hub.conf.j2 @@ -129,7 +129,6 @@ tag = channel = method osbuildImage :: use osbuild - method newRepo distRepo buildSRPMFromSCM :: use createrepo method buildContainer :: use container method flatpakBuild :: use flatpak has req_channel && has_perm customchannel :: req