configpolicy/roles/koji-builder/templates/kojid.conf.j2

97 lines
2.6 KiB
Django/Jinja

{#- vim: set ft=jinja : -#}
[kojid]
; The number of seconds to sleep between tasks
; sleeptime=15
; The maximum number of jobs that kojid will handle at a time
maxjobs={{ kojid_maxjobs }}
; The minimum amount of free space (in MBs) required for each build root
minspace={{ kojid_minspace }}
; The directory root where work data can be found from the koji hub
topdir={{ koji_home }}
; The directory root for temporary storage
workdir={{ koji_temp }}
; The directory root for mock
; mockdir=/var/lib/mock
; The user to run as when doing builds
; mockuser=kojibuilder
; The vendor to use in rpm headers
; vendor=Koji
; The packager to use in rpm headers
; packager=Koji
; The distribution to use in rpm headers
; distribution=Koji
; The _host string to use in mock
; mockhost=koji-linux-gnu
; The URL for the xmlrpc server
server={{ kojihub_url }}
; The URL for the file access
topurl={{ kojifiles_url }}
; use createrepo_c rather than createrepo
; use_createrepo_c=False
; A space-separated list of tuples from which kojid is allowed to checkout.
; The format of those tuples is:
;
; host:repository[:use_common[:source_cmd]]
;
; Incorrectly-formatted tuples will be ignored.
;
; If use_common is not present, kojid will attempt to checkout a common/
; directory from the repository. If use_common is set to no, off, false, or 0,
; it will not attempt to checkout a common/ directory.
;
; source_cmd is a shell command (args separated with commas instead of spaces)
; to run before building the srpm. It is generally used to retrieve source
; files from a remote location. If no source_cmd is specified, "make sources"
; is run by default.
allowed_scms={{ kojid_allowed_scms|join(' ') }}
; The mail host to use for sending email notifications
smtphost={{ koji_smtp_relay }}
; The From address used when sending email notifications
from_addr=Koji Build System <koji@{{ ansible_domain }}>
;configuration for Kerberos authentication
;the format of the principal used by the build hosts
;%s will be replaced by the FQDN of the host
;host_principal_format = compile/%s@EXAMPLE.COM
;location of the keytab
;keytab = /etc/kojid/kojid.keytab
;the service name of the principal being used by the hub
;krbservice = host
;configuration for SSL authentication
;client certificate
cert = /etc/kojid/kojid.pem
;certificate of the CA that issued the client certificate
ca = /etc/kojid/clientca.crt
;certificate of the CA that issued the HTTP server certificate
serverca = /etc/kojid/serverca.crt
;if set to True, failing subtask will not automatically cancel other siblings
;build_arch_can_fail = False
{% if yum_proxy|d %}
yum_proxy = {{ yum_proxy }}
{% endif %}