Files
fedora-infra_ansible/roles/koji_builder/templates/runroot.conf.j2
Kevin Fenzi e3e2cb1d93 odcs: retire service ( infra 12192 )
Time to retire ODCS. ELN is moved off and that was the last thing using
it. Thanks for all the service ODCS!

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
2024-09-24 18:21:51 +00:00

60 lines
1.7 KiB
Django/Jinja

[paths]
; comma-delimited list of default mountpoints
; They will be mounted during each run. It is suggested, that these
; paths have readonly options and are made writable via extra_mounts
; parameter for individual calls.
; default_mounts = /mnt/archive,/mnt/workdir
{% if env == 'production' %}
default_mounts = /mnt/koji
{% elif env == 'staging' %}
; In staging we also need the production split volume
default_mounts = /mnt/koji,/mnt/fedora_koji_prod/koji,/etc/kojid/secrets
{% endif %}
; comma-delimited list of safe roots.
; Each extra_mount needs to start with some of these prefixes. Other paths are
; not allowed for mounting. Only absolute paths are allowed here, no
; wildcards.
safe_roots = /mnt/koji/compose,/mnt/koji/atomic-cd
; path substitutions is tuple per line, delimited by comma, order is
; important.
; Path prefixes which can be substituted for other mountpoints.
; Usable for locations symlinked from other mounts.
; path_subs = /mnt/archive/prehistory/,/mnt/prehistoric_disk/archive/prehistory
; mount origins, order is important here, ordered by best catch
; [path0]
; mountpoint = /mnt/archive
; path = archive.org:/vol/archive
; fstype = nfs
; options = ro,hard,intr,nosuid,nodev,noatime,tcp
[path0]
mountpoint = /mnt/koji/compose
path = /mnt/koji/compose
fstype = bind
options = bind
[path1]
mountpoint = /mnt/koji
path = /mnt/koji
fstype = bind
options = bind
{% if env == 'staging' %}
; we need to mount the production split volume here.
[path3]
mountpoint = /mnt/fedora_koji_prod/koji
path = /mnt/fedora_koji_prod/koji
fstype = bind
options = ro,bind
; Directory for secrets to be used by certain builds
[path4]
mountpoint = /etc/kojid/secrets
path = /etc/kojid/secrets
fstype = bind
options = ro,bind
{% endif %}