From 2003cd2b5b425aa831d6090f940aa56edfc04f01 Mon Sep 17 00:00:00 2001 From: Mark O Brien Date: Fri, 22 Jul 2022 11:49:05 +0100 Subject: [PATCH] limit image builder to one buildhost in stg Signed-off-by: Mark O Brien --- roles/koji_builder/templates/kojid.conf | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/roles/koji_builder/templates/kojid.conf b/roles/koji_builder/templates/kojid.conf index 21726620c6..9e67b307f2 100644 --- a/roles/koji_builder/templates/kojid.conf +++ b/roles/koji_builder/templates/kojid.conf @@ -155,8 +155,14 @@ keytab = /etc/kojid/kojid.keytab {{ plugins.append("rpmautospec_builder") }} - +{% if env == 'staging' %} +{% if inventory_hostname == 'buildvm-x86-05.stg.iad2.fedoraproject.org' %} {{ plugins.append("osbuild") }} +{% endif %} +{% else %} +{{ plugins.append("osbuild") }} +{% endif %} + ; Config for the runroot plugin lives in /etc/kojid/runroot.conf, if enabled plugins = {{ plugins | join(" ") }}