build-bot - Fedora's Mock Web Service
The main goals of pkg-wizard build-bot are:
Be easy to install.
Be well documented.
Be simple to use.
If you have tried to install and use Koji before, you know the drill. Having said that, Koji is much more powerful and featureful than pkg-wizard's build-bot.
Used in combination with pkg-wizard remote-build, you can:
Starting a new build-bot for the first time:
Create a buildbot user
$ adduser buildbot
Add the buildbot user to the mock group
$ gpasswd -a buildbot mock
Change user ID to buildbot and change to the /home/buildbot directory
$ su buildbot
$ cd /home/buildbot
Start the build-bot
$ pkgwiz build-bot -m epel-5-x86_64 --daemonize --log-format web
This will start a build-bot listening in port 4567/tcp, using the mock profile from /etc/mock/epel-5-x86_64.cfg. From now on, the build-bot is ready to accept packages. Make sure the build-bot server firewall permits incoming traffic to port 4567/tcp. The build-bot server logs to build-bot.log file in the current working directory.
OPTIONAL (RHEL/Fedora only): enable pkgwiz-buildbot system service
If you want to start the build-bot automatically everytime the system boots, run the following command:
$ chkconfig pkgwiz-buildbot on
$ pkgwiz build-bot
Invalid mock profile.
Usage: pkgwiz build-bot (options)
--daemonize --log-format FMT Log format to use (web, cli) --log-server-port PORT log server port (60001 default) -m, --mock-profile PROF -p, --port PORT --working-dir DIR -h, --help Show this message
When pkg-wizard build-bot is started for the first time, it will create a few directories in the current working directory.