On 2017-10-30 11:57, Thomas Bouron wrote:
Hi Dominik

Thanks for the reply and links. Went already to [1] but it wasn't clear to me 
what distro each node was (unless going through every one of them but... there 
are a lot) As you said, it seems there isn't a centos or Red Hat slave, I'll 
file a request to INFRA for this then.

You also have the option to run the build with docker on ubuntu using a centos docker image. I think it would be wise to evaluate that option before filing a request to INFRA. The great benefit is that you can build an rpm and test a built rpm on all the rhel flavored docker images that you would like to support without the requirement to add additional operating systems or hardware to the zoo of build slaves.


PS: I'm asking the RPM binary to build RPM only, not use RPM packages on Debian 
(that would be mad indeed) and for ease of use: would be simpler for us to 
build everything in one go rather than having a special jenkins jobs to build 
only the RPM.

My preference is to split targets into different stages and to run the build of those stages on the targeted operating system along with the tests for the targeted operating system. Jenkins makes the development of such build pipelines rather easy.


Best.

On 2017-10-30 10:27, Dominik Psenner <dpsen...@gmail.com> wrote:
Hi Thomas,

RPM is a red hat package manager package and in my eyes it is a bad idea
to install such packages on a debian flavored distribution.

There seems to be no red hat flavored linux distribution (fedora,
centos, rhel, mandriva, ..) in the row of build slaves, probably because
you are the first who needs it [1]. I assume you would have to file an
INFRA ticket to get such a build slave. Alternatively you could try to
run a red hat flavored distribution docker image on an ubuntu build
slave. There are for instance official centos docker images on docker
hub [2].

Cheers,
Dominik

[1] https://builds.apache.org/computer/
[2] https://hub.docker.com/_/centos/

On 2017-10-30 10:27, Thomas Bouron wrote:
Hi.

I'm looking to enable DEB & RPM package builds for SNAPSHOT versions of Apache 
Brooklyn. We currently build only the DEB (on an ubuntu slave) but I couldn't find 
any other slave running debian-like distro with RPM installed

Are you aware of any?

Thanks.

Best.


Reply via email to