[copr] backend config: added spawn_in_advance option, backported for host based version

This commit is contained in:
Valentin Gologuzov 2014-11-26 15:09:36 +01:00
parent e2226e741c
commit e98ae62f57
4 changed files with 40 additions and 0 deletions

View File

@ -60,6 +60,20 @@ prune_days=14
# path to executable script to clean old build # path to executable script to clean old build
prune_script=/usr/share/copr/copr_prune_old_builds.sh prune_script=/usr/share/copr/copr_prune_old_builds.sh
# enable package signing, require configured
# signer host and correct /etc/sign.conf
do_sign={{ do_sign }}
# host or ip of machine with copr-keygen
# usually the same as in /etc/sign.conf
keygen_host={{ keygen_host }}
# 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 }}
[builder] [builder]
# default is 1800 # default is 1800
timeout=3600 timeout=3600

View File

@ -56,6 +56,20 @@ prune_days=14
# path to executable script to clean old build # path to executable script to clean old build
prune_script=/usr/share/copr/copr_prune_old_builds.sh prune_script=/usr/share/copr/copr_prune_old_builds.sh
# enable package signing, require configured
# signer host and correct /etc/sign.conf
do_sign={{ do_sign }}
# host or ip of machine with copr-keygen
# usually the same as in /etc/sign.conf
keygen_host={{ keygen_host }}
# 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 }}
[builder] [builder]
# default is 1800 # default is 1800
timeout=3600 timeout=3600

View File

@ -75,6 +75,12 @@ prune_days=14
# path to executable script to clean old build # path to executable script to clean old build
prune_script=/usr/share/copr/copr_prune_old_builds.sh prune_script=/usr/share/copr/copr_prune_old_builds.sh
# 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 }}
[builder] [builder]
# default is 1800 # default is 1800
timeout=3600 timeout=3600

View File

@ -74,6 +74,12 @@ prune_days=14
# path to executable script to clean old build # path to executable script to clean old build
prune_script=/usr/share/copr/copr_prune_old_builds.sh prune_script=/usr/share/copr/copr_prune_old_builds.sh
# 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 }}
[builder] [builder]
# default is 1800 # default is 1800
timeout=3600 timeout=3600