Hello @all...

I am currently in the process of revamping my server infrastructure and
two things on my list are to finally use Salt (CM system) and to reduce
the update time for each server and have a "small staging" area before I
emerge packages/updates to the live system.

So, I wanted to ask the community for advice on how they deal with the
whole build server issue -- especially if you go for a build chroot on
the same machine? Before I go out and reinvent the wheel for all sorts
of problems and tools, I thought this is definitely something a lot of
people have run into before. :)

Why a build chroot on each server instead of a dedicated build server?

For one thing, scaling up for me means, I will maintain more servers for
my clients (I am self-employed) which results in a "server park" that is
generally diverse and not all that homogeneous. I only have very few
servers I own and use myself.

Secondly, if the client ever decides to cancel my services, he can still
use the build/staging system as-is which is imho a nice to have feature.
I generally don't believe in locking the customer in -- at all.

And last but not least: A dedicated build machine is also a matter of
costs and since there would be quite a few build environments running on
it (containers, chroots, whatever) and factoring in other things like
traffic and all, this can easily get rather expensive soonish once
scaled up which is something I would like to avoid.

>From my perspective, a few areas are problematic:

Automation of the build process for example is one area where I think it
is difficult to just schedule a cron job since due to dependency and/or
other conflicts, builds might not even run. Or packages change their
default USE flags and might need adjustments. Or revdep-rebuilds. So, I
guess there is still some manual intervention necessary here? I am just
purely looking at the "build server" part here. The actually updating to
the system is a totally different matter.

Are there any tools out there to help manage a "build server"? I have
read about people using catalyst for that -- which is not quite what I
am looking for. I guess Gentoo Infra might have developed their own set
of tools -- and maybe released those to the wild? :)

Is a "build server chroot" per server really feasible and advisable or
are there any good reasons against it?

I would appreciate any help, input or feedback that I can get. Thanks a
lot in advance.

With Kind Regards from Germany,
Matthias

-- 
Dipl.-Inf. (FH) Matthias Dahl | Software Engineer | binary-island.eu
 services: custom software [desktop, mobile, web], server administration

Reply via email to