[opensuse-buildservice] How to build a Project on specific hosts
Hi, We have a private OBS instance (obs-server-2.3.1-6.7.x86_64) running under openSUSE 12.1 Would like to know if we can configure an entire project to be built only on specific worker(s). I'm aware of the powerhosts and powerpkgs, but it seems like that only handles a list of packages that can be built on particular hosts. My requirement is to have a complete Project built on specific hosts, other projects should not be able to build on those hosts. Thanks, Mal -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Monday 2015-09-28 20:57, Malcolm Fernandes wrote:
Hi,
We have a private OBS instance (obs-server-2.3.1-6.7.x86_64) running under openSUSE 12.1
Would like to know if we can configure an entire project to be built only on specific worker(s).
In prjconf: Constraint: hostlabel BLAHSTRING then in /etc/sysconfig/obs-server, you add BLAHSTRING as a worker hostlabel. -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-----Original Message----- From: Jan Engelhardt [mailto:jengelh@inai.de] Sent: Monday, September 28, 2015 12:36 PM To: Malcolm Fernandes Cc: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] How to build a Project on specific hosts
On Monday 2015-09-28 20:57, Malcolm Fernandes wrote:
Hi,
We have a private OBS instance (obs-server-2.3.1-6.7.x86_64) running under openSUSE 12.1
Would like to know if we can configure an entire project to be built only on specific worker(s).
In prjconf:
Constraint: hostlabel BLAHSTRING
then in /etc/sysconfig/obs-server, you add BLAHSTRING as a worker hostlabel.
[MF] What is the variable name that I would use in /etc/sysconfig/obs-server to define the machine name? Would it just be 'hostlabel' itself: hostlabel=BLAHSTRING Thanks, Mal -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tuesday 2015-09-29 03:22, Malcolm Fernandes wrote:
-----Original Message----- From: Jan Engelhardt [mailto:jengelh@inai.de] Sent: Monday, September 28, 2015 12:36 PM To: Malcolm Fernandes Cc: opensuse-buildservice@opensuse.org Subject: Re: [opensuse-buildservice] How to build a Project on specific hosts
On Monday 2015-09-28 20:57, Malcolm Fernandes wrote:
Hi,
We have a private OBS instance (obs-server-2.3.1-6.7.x86_64) running under openSUSE 12.1
Would like to know if we can configure an entire project to be built only on specific worker(s).
In prjconf:
Constraint: hostlabel BLAHSTRING
then in /etc/sysconfig/obs-server, you add BLAHSTRING as a worker hostlabel.
[MF] What is the variable name that I would use in /etc/sysconfig/obs-server to define the machine name? Would it just be 'hostlabel' itself: hostlabel=BLAHSTRING
OBS_WORKER_HOSTLABELS="BLAHSTRING SOMEOTHERLABEL ..." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, Am 28.09.2015 um 20:57 schrieb Malcolm Fernandes:
We have a private OBS instance (obs-server-2.3.1-6.7.x86_64) running under openSUSE 12.1
Would like to know if we can configure an entire project to be built only on specific worker(s).
I'm aware of the powerhosts and powerpkgs, but it seems like that only handles a list of packages that can be built on particular hosts.
My requirement is to have a complete Project built on specific hosts, other projects should not be able to build on those hosts.
At least in recent OBS installations, /usr/lib/obs/server/BSConfig.pm allows to partition by project, there's an example for "home" in there. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton; HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Andreas Färber
-
Jan Engelhardt
-
Malcolm Fernandes