Leo Eraly wrote:
Michal Marek wrote:
Leo Eraly wrote:
But I can't seem to figure out how to configure remote workers. I need a x86_64 remote worker and I need a x86_32 remote worker (in xen)
So I can install the obs-worker package on the different machines but how do I configure all these different machines to be used in my build system. Can you give me some pointers/examples?
This worked for me:
On the worker machine, set OBS_STORAGE_SERVER /etc/sysconfig/obs-worker. Then on the scheduler machine, set $srcserver and $reposerver in /usr/lib/obs/server/BSConfig.pm.
BTW couldn't the $srcserver and $reposerver default to
http://`hostname -f`:port
or something like that? This would make switching from a single-host installation to a distributed setup much easier :)
Yes , this seems to work. It took me a while to find out that the workers gets his configuration file from the central server and is therefore overwritten every time you restart your worker.
Another small question: Can my sles10 box also build the sles9 packages if a add a SUSE:SLES-9 repository or do I have to run a worker on a sles9 machine to make it work?
Seems I forgot to add a sles9.conf file to /srv/obs/projects which is needed before any build can take place. Kind regards, -- Leo Eraly <leo at unstable dot be> --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org