From 0082f493753c7edc21cc15a37a28821b533c679c Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 8 Jul 2015 18:07:32 +0000 Subject: [PATCH] Put all staging builders in all the koji host_channels. --- .../manual/staging-sync/templates/koji-reset-staging.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql index 02d1894939..cb20653c33 100644 --- a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql +++ b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql @@ -76,10 +76,10 @@ select now() as time, 'adding staging host(s)' as msg; insert into users (name, usertype, status) values ('{{ host }}', 1, 0); insert into host (user_id, name, arches) values ( (select id from users where name='{{host}}'), '{{host}}', 'i386 x86_64'); +{% for channel in [ 'default', 'createrepo', 'maven', 'appliance', 'livecd', 'vm', 'secure-boot', 'compose', 'eclipse', 'images', 'image'] %} insert into host_channels (host_id, channel_id) values ( - (select id from host where name='{{host}}'), (select id from channels where name='default')); -insert into host_channels (host_id, channel_id) values ( - (select id from host where name='{{host}}'), (select id from channels where name='createrepo')); + (select id from host where name='{{host}}'), (select id from channels where name='{{channel}}')); +{% endfor %} {% endfor %} -- Add some people to be admins, only in staging. Feel free to grow this list..