koji / staging sync: add osbuild channel

When syncing we need to setup the osbuild channel in staging on staging
builders so they process osbuild tasks.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-03-07 10:03:38 -08:00
parent 8d16e27c05
commit f65b97866a

View file

@ -94,7 +94,7 @@ insert into host (user_id, name) values (
(select id from users where name='{{host}}'), '{{host}}');
insert into host_config (host_id, arches, creator_id) values (
(select id from host where name='{{host}}'), '{{ group.arches }}', 2045);
{% for channel in [ 'default', 'appliance', 'vm', 'secure-boot', 'compose', 'eclipse', 'images', 'image'] + group.extra_channels|default([]) %}
{% for channel in [ 'default', 'osbuild', 'appliance', 'vm', 'secure-boot', 'compose', 'eclipse', 'images', 'image'] + group.extra_channels|default([]) %}
insert into host_channels (host_id, channel_id, creator_id) values (
(select id from host where name='{{host}}'), (select id from channels where name='{{channel}}'), 2045);
{% endfor %}