From f1488602ed5839f2b36948fd8d71e75d689a37a7 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 23 Aug 2023 12:33:10 -0700 Subject: [PATCH] koji_hub: send flatpak builds to the flatpak channel Right now flatpak builds use the 'default' channel, which is most builders. Unfortunately, they get s390x builders from time to time and those builders are in another datacenter that cannot talk to the candidate-registry to upload resulting containers. So, to work around this, we will setup a 'flatpak' channel that just has machines in iad2 and then this PR configures the hub to send all such builds to those machines (avoiding the s390x ones). Signed-off-by: Kevin Fenzi --- roles/koji_hub/templates/hub.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/koji_hub/templates/hub.conf.j2 b/roles/koji_hub/templates/hub.conf.j2 index da9af4fe4f..d366821b9a 100644 --- a/roles/koji_hub/templates/hub.conf.j2 +++ b/roles/koji_hub/templates/hub.conf.j2 @@ -127,6 +127,7 @@ 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 {% if env == 'staging' %} # kojid-cloud-scheduler tag setup for stg env only