107 lines
3.2 KiB
Text
107 lines
3.2 KiB
Text
[kojid]
|
|
; The number of seconds to sleep between tasks
|
|
; sleeptime=15
|
|
|
|
; The maximum number of jobs that kojid will handle at a time
|
|
maxjobs=25
|
|
|
|
; The minimum amount of free space (in MBs) required for each build root
|
|
; minspace=8192
|
|
|
|
; The directory root where work data can be found from the koji hub
|
|
; topdir=/mnt/koji
|
|
|
|
; Disable keepalive for now since it's not working in f23.
|
|
keepalive=False
|
|
|
|
rpmbuild_timeout=172800
|
|
|
|
use_createrepo_c=True
|
|
|
|
{% if host in groups['buildvm-s390x'] %}
|
|
# s390x builders use a local varnish cache
|
|
topurl = http://kojipkgs-cache01.s390.fedoraproject.org https://kojipkgs01.fedoraproject.org https://kojipkgs02.fedoraproject.org
|
|
{% elif koji_topurl == 'https://kojipkgs.fedoraproject.org/' %}
|
|
; add some additional urls for failover
|
|
topurl = {{koji_topurl}} https://kojipkgs01.fedoraproject.org https://kojipkgs02.fedoraproject.org
|
|
{% else %}
|
|
;url of package download site
|
|
topurl = {{koji_topurl}}
|
|
|
|
{% endif %}
|
|
; The directory root for temporary storage
|
|
; workdir=/tmp/koji
|
|
|
|
; 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=Fedora Project
|
|
|
|
; The packager to use in rpm headers
|
|
packager=Fedora Project
|
|
|
|
; the distribution to use in rpm headers
|
|
distribution=Fedora Project
|
|
|
|
; The _host string to use in mock
|
|
mockhost=redhat-linux-gnu
|
|
|
|
; The URL for the xmlrpc server
|
|
server={{koji_server_url}}
|
|
|
|
{% if env == 'staging' %}
|
|
; The URL for the packages tree
|
|
pkgurl=http://kojipkgs.stg.fedoraproject.org/packages
|
|
{% endif %}
|
|
|
|
{% if env == 'staging' %}
|
|
; A whitespace-separated list of hostname:repository pairs that kojid is authorized to checkout from (no quotes)
|
|
allowed_scms=
|
|
pkgs.stg.fedoraproject.org:/docker/*:false
|
|
pkgs.stg.fedoraproject.org:/rpms/*:false:fedpkg,sources
|
|
pkgs.stg.fedoraproject.org:/*:false:fedpkg,sources
|
|
pkgs.fedoraproject.org:/rpms/*:false:fedpkg,sources
|
|
pkgs.fedoraproject.org:/*:false:fedpkg,sources
|
|
pagure.io:/fedora-kickstarts.git:false
|
|
src.fedoraproject.org:/*:false:fedpkg,sources
|
|
{% else %}
|
|
; A space-separated list of hostname:repository pairs that kojid is authorized to checkout from (no quotes)
|
|
allowed_scms=pkgs.fedoraproject.org:/*:false:fedpkg,sources pagure.io:/fedora-kickstarts.git:false src.fedoraproject.org:/*:false:fedpkg,sources pagure.io:/fork/*/fedora-kickstarts.git:false
|
|
{% endif %}
|
|
|
|
; allow tasks to continue to completion if a sibling fails
|
|
; the parent task will fail but all child tasks will complete
|
|
build_arch_can_fail = true
|
|
|
|
; The mail host to use for sending email notifications
|
|
smtphost=bastion.phx2.fedoraproject.org
|
|
|
|
; The From address used when sending email notifications
|
|
from_addr=Fedora Koji Build System <buildsys@fedoraproject.org>
|
|
|
|
;configuration for SSL athentication
|
|
serverca = /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem
|
|
|
|
; Kerberos configuration
|
|
krb_principal = compile/{{ inventory_hostname }}@{{ ipa_realm }}
|
|
keytab = /etc/kojid/kojid.keytab
|
|
krbservice = host
|
|
krb_rdns = false
|
|
|
|
{% if 'runroot' in group_names %}
|
|
; Config for it lives in /etc/kojid/runroot.conf
|
|
plugins = runroot
|
|
|
|
{% else %}
|
|
|
|
{% if ansible_architecture == 'x86_64' %}
|
|
plugins = builder_containerbuild
|
|
{% else %}
|
|
plugins =
|
|
{% endif %}
|
|
|
|
{% endif %}
|