2014-10-10 12:35:14 +02:00
|
|
|
[backend]
|
|
|
|
|
|
|
|
# URL where are results visible
|
|
|
|
# default is http://copr
|
|
|
|
results_baseurl=http://copr-be-dev.cloud.fedoraproject.org/results
|
|
|
|
|
|
|
|
# ??? What is this
|
|
|
|
# default is http://coprs/rest/api
|
|
|
|
frontend_url=http://copr-fe-dev.cloud.fedoraproject.org/backend
|
2014-10-30 11:56:20 +01:00
|
|
|
frontend_base_url=http://copr-fe-dev.cloud.fedoraproject.org
|
2014-10-10 12:35:14 +02:00
|
|
|
|
|
|
|
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
|
|
|
|
# default is PASSWORDHERE but you really should change it. really.
|
2014-10-17 20:11:11 +02:00
|
|
|
frontend_auth={{ copr_backend_password }}
|
2014-10-10 12:35:14 +02:00
|
|
|
|
2014-10-17 21:36:27 +02:00
|
|
|
group0_name=PC
|
|
|
|
group0_archs=i386,x86_64
|
|
|
|
group0_spawn_playbook=/home/copr/provision/builderpb.yml
|
|
|
|
group0_terminate_playbook=/home/copr/provision/terminatepb.yml
|
|
|
|
group0_max_workers=2
|
|
|
|
|
|
|
|
|
2014-10-10 12:35:14 +02:00
|
|
|
# path to ansible playbook which spawns builder
|
|
|
|
# see /usr/share/copr*/playbooks/ for examples
|
|
|
|
# default is /etc/copr/builder_playbook.yml
|
|
|
|
spawn_playbook=/home/copr/provision/builderpb.yml
|
|
|
|
|
|
|
|
# path to ansible playbook which terminate builder
|
|
|
|
# default is /etc/copr/terminate_playbook.yml
|
|
|
|
terminate_playbook=/home/copr/provision/terminatepb.yml
|
|
|
|
|
2014-10-21 18:29:23 +02:00
|
|
|
terminate_vars=vm_name
|
|
|
|
|
2014-10-10 12:35:14 +02:00
|
|
|
# directory where jobs are stored
|
|
|
|
# no defaults
|
|
|
|
jobsdir=/var/lib/copr/jobs
|
|
|
|
|
|
|
|
# directory where results are stored
|
|
|
|
# should be accessible from web using 'results_baseurl' URL
|
|
|
|
# no default
|
|
|
|
destdir=/var/lib/copr/public_html/results
|
|
|
|
|
|
|
|
# default is 10
|
|
|
|
sleeptime=30
|
|
|
|
|
|
|
|
# default is 8
|
|
|
|
num_workers=5
|
|
|
|
|
|
|
|
# path to log file
|
|
|
|
# default is /var/log/copr/backend.log
|
|
|
|
logfile=/var/log/copr/backend.log
|
|
|
|
|
|
|
|
# default is /var/log/copr/workers/
|
|
|
|
worker_logdir=/var/log/copr/workers/
|
|
|
|
|
|
|
|
# exit on worker failure
|
|
|
|
# default is false
|
|
|
|
#exit_on_worker=false
|
|
|
|
|
|
|
|
# publish fedmsg notifications from workers if true
|
|
|
|
# default is false
|
|
|
|
#fedmsg_enabled=false
|
|
|
|
|
|
|
|
# enable package signing, require configured
|
|
|
|
# signer host and correct /etc/sign.conf
|
2014-11-25 18:51:28 +01:00
|
|
|
do_sign={{ do_sign }}
|
|
|
|
|
|
|
|
# host or ip of machine with copr-keygen
|
|
|
|
# usually the same as in /etc/sign.conf
|
|
|
|
keygen_host={{ keygen_host }}
|
2014-10-10 12:35:14 +02:00
|
|
|
|
2014-11-06 16:33:14 +01:00
|
|
|
# minimum age for builds to be pruned
|
|
|
|
prune_days=14
|
|
|
|
# path to executable script to clean old build
|
|
|
|
prune_script=/usr/share/copr/copr_prune_old_builds.sh
|
|
|
|
|
2014-11-26 15:09:36 +01:00
|
|
|
# Spawn builder in advance, before we get task?
|
|
|
|
# It save time, but consume resources even when
|
|
|
|
# nothing is in queue
|
|
|
|
|
|
|
|
spawn_in_advance={{ spawn_in_advance }}
|
|
|
|
|
2014-10-10 12:35:14 +02:00
|
|
|
[builder]
|
|
|
|
# default is 1800
|
|
|
|
timeout=3600
|