diff --git a/roles/koji_hub/tasks/main.yml b/roles/koji_hub/tasks/main.yml index 91375546cf..e3ee195db5 100644 --- a/roles/koji_hub/tasks/main.yml +++ b/roles/koji_hub/tasks/main.yml @@ -108,6 +108,7 @@ - packages - koji_hub - fedora-messaging + - python2-koji-sidetag-plugin-hub - name: create the config folder for fedora-messaging when: env == 'staging' diff --git a/roles/koji_hub/templates/hub.conf.j2 b/roles/koji_hub/templates/hub.conf.j2 index 52852b415f..d091f4215f 100644 --- a/roles/koji_hub/templates/hub.conf.j2 +++ b/roles/koji_hub/templates/hub.conf.j2 @@ -75,7 +75,11 @@ DisableNotifications = True #Plugins = koji-disable-builds-plugin #Plugins = darkserver-plugin +{% if env == "staging" %} +Plugins = fedmsg-koji-plugin runroot_hub hub_containerbuild tag2distrepo sidetag +{% else %} Plugins = fedmsg-koji-plugin runroot_hub hub_containerbuild tag2distrepo +{% endif %} [policy] @@ -158,3 +162,11 @@ package_list = tag coreos-pool coreos-release && has_perm coreos-continuous && match action add unblock block :: allow # Catch-all rule. all :: deny + +{% if env == "staging" %} +sidetag = + tag f31-build :: allow + tag f30-build :: allow + tag f29-build :: allow + all :: deny +{% endif %}