Setting up a buildfarm with chroot
Hello everyone!
As far as I understand, it's currently not supported to run all roles (master, agent, repo) of a build farm on the same machine.
I thought it might be possible by giving each of them a different chroot environment.
I provide the required folders (/proc, /bin, /usr, ...) in the chroot environment, but /etc is only a copy to avoid conflicts.
When I go into the chroot and run ./reconfigure.bash repo
, everything seems to work (the console output is the same as outside the chroot), but the result seems to be nothing. No /etc/apache2/sites-available/10-repos.conf
is created, no server running.
Is there something that makes it inherently impossible to run the setup in a chroot?
And is using chroot even a viable choice when trying to run all three roles in the same environment?
Thanks in advance!