Ok! So, after a couple... intense;)... hours of hacking at my plague
config files, here's what I've come up with for server/builder/target.
This is the result of both looking at the default configs that are
generated, looking at the code, and repetitively starting the
server/builder and waiting for it to complain when it doesn't find
something it expects :)
However, it still doesn't build from CVS correctly. So I include
these files here in the hopes the error of my ways will be shown to
me, and also so others may glean what they will from them :) (server
names have been replaced, so as to protect the innocent.) To make
things a little simpler while figuring it all out, I only have one
target cfg defined: fedora-3-i386-core.
One generic question beforehand... what's the appropriate way to
specify multiple values on a line? Whitespace separating the values,
or a ', '?
plague-server.cfg
------------------------------------------------------------------
[Database]
engine = pgdb
[Directories]
repo_dir = /var/plague/repodir
server_work_dir = /var/plague/rpmbuild
target_configs_dir = /etc/plague/targets
tmpdir = /tmp
[CVS]
use_cvs = yes
cvs_root = :pserver:anonymous@our.cvs.server:/cvsroot/cvsrepo
[General]
hostname = server
debug = yes
[SSL]
server_key_and_cert = /etc/plague/server/certs/server_key_and_cert.pem
ca_cert = /etc/plague/server/certs/buildsystem_ca_cert.pem
[UI]
use_ssl = yes
log_url =
http://server/logs/
guest_allowed = yes
port = 8887
client_ca_cert = /etc/plague/server/certs/users_ca_cert.pem
[pgdb Engine]
host = localhost
password =
user = root
database = buildsys
[sqlite Engine]
timeout = 3
database = /etc/plague/server/jobdb
[Builders]
use_ssl = yes
# builders = 127.0.0.1:8888
builders = server:8888
[Email]
success_emails = buildsys(a)mail.addy
email_from = buildsys@server
admin_emails = buildsys(a)mail.addy
[Arches]
base_arches = i386
--------end file----------------------------------------------------------
Question: what's the purpose of guest_allowed? I'm thinking I should
disable it...
plague-builder.cfg --------------------------------------------------
[SSL]
builder_key_and_cert_dir = /etc/plague/builder/certs
use_ssl = yes
ca_cert = /etc/plague/builder/certs/buildsystem_ca_cert.pem
[Directories]
target_configs_dir = /etc/plague/targets
builder_work_dir = /tmp/builder_work
[Network]
fileserver_port = 8889
xmlrpc_port = 8888
hostname = server
[General]
debug = yes
builder_cmd = /usr/bin/mock
builder_user = plague-builder
-----end file-----------------------------------------------------
targets/fedora-4-i386-core.cfg --------------------------
[General]
distro = fedora
target = fc4
basearch = i386
repo = core
mock_config = fedora-4-i386-core
repo_script =
[Arches]
base_arches = i386
[Aliases]
user_aliases = 4 fc4 FC-4
[CVS]
use_cvs = yes
cvs_root = :pserver:anonymous@our.cvs.server:/cvsroot/cvsrepo
cvs_rsh =
[Aliases]
cvs_alias =
------end file------------------------------------------------------
Question: Did I get the aliases/cvs_alias correct? (Note that I
setup the cvs repo to mirror that of fedora-extras, and to leverage
the same Makefile.common, etc., system.) I tried a couple for
cvs_alias, to no avail.
At this point, I can successfully enqueue package builds by cvstag
(make tag ; make plague), but the build always fails, within seconds,
without any error logging by either the builder or the server.
Again, if there's something I should be reading, etc, to figure this
all out, just smack me and send me on my way :)
-Chris