1. build-bot
  2. build-bot
  3. build-bot

NAME

build-bot - Fedora's Mock Web Service

SYNOPSIS

pkg-wizard build-bot is a simple web-service on top of Mock. Think of it as something in between Fedora's Mock and the complex Koji.

The main goals of pkg-wizard build-bot are:

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.

FEATURES

Used in combination with pkg-wizard remote-build, you can:

RUNNING A PKG-WIZARD BUILD-BOT

I assume that you have pkg-wizard already installed. Refer to INSTALLING PKG-WIZARD and INIT-ENV otherwise.

Starting a new build-bot for the first time:

  1. Create a buildbot user

    $ adduser buildbot

  2. Add the buildbot user to the mock group

    $ gpasswd -a buildbot mock

  3. Change user ID to buildbot and change to the /home/buildbot directory

    $ su buildbot

    $ cd /home/buildbot

  4. 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.

  5. 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

Have a look at pkgwiz remote-build to learn how to send packages to the build-bot.

USAGE

$ 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

UNDERSTANDING BUILD-BOT DIRECTORY LAYOUT

When pkg-wizard build-bot is started for the first time, it will create a few directories in the current working directory.

incoming

output

failed

snapshot

tags

workspace

archive

SEE ALSO

PKGWIZ, INIT-ENV, REMOTE-BUILD, INSTALLING PKG-WIZARD

  1. The FrameOS PROJECT
  2. April 2011
  3. build-bot