wiki:BuildBot

Version 7 (modified by bdash@webkit.org, 17 years ago) ( diff )

--

WebKit BuildBot

The WebKit BuildBot is a system to help automate the compile/test cycle. After every commit to WebKit's Subversion repository it will schedule compilation and tests on a variety of different computers, known as build slaves.

Running a Build Slave

Each build slave needs a unique username and password to be able to take part in the compile/test cycle. Please email bdash if you would like to contribute a build slave.

Please ensure that you are familiar with building WebKit from source so that problems getting the slave up and running can be easily troubleshooted. The machine will need to have:

  • Xcode 2.4 (or greater) installed.
  • Subversion installed and accessible on the PATH.
  • the Ahem font installed.
  • If possible, set the computer to not go to sleep (under Energy Saver in System Preferences)

Installing BuildBot and Dependencies

  1. Install Twisted
    1. Download Twisted 2.5.0 from http://tmrc.mit.edu/mirror/twisted/Twisted/2.5/Twisted-2.5.0.tar.bz2.
    2. Extract it.
    3. In a shell, change into the Twisted-2.5.0/zope.interface-3.3.0 directory and run sudo python setup.py install
    4. Change back up to the Twisted-2.5.0 directory and run sudo python setup.py install
  2. Install BuildBot
    1. Download the latest version of BuildBot from http://buildbot.net/.
    2. Extract it.
    3. In a shell, change into the buildbot directory and run sudo python setup.py install

Configuring a Build Slave

  1. Open a shell inside a directory suitable to keep the build slaves copy of the WebKit repository.
  2. Add /System/Library/Frameworks/Python.framework/Versions/2.3/bin/ to your shell's PATH variable.
  3. Run buildbot create-slave WebKit-BuildSlave build.webkit.org:9989 [username] [password]
  4. Change to the WebKit-BuildSlave directory
  5. Rename Makefile.sample to Makefile
  6. Edit info/admin and info/host to contain basic contact information and information about the build slave.
  7. Run make start to start the build slave. Logging information can be viewed by running make log.
  8. Generate an ssh (dsa) key pair and send id_dsa.pub to bdash to allow the machine to upload build results.
  9. Once you recieve login information from bdash, ssh once to buildbot master, thus adding an entry to your knownhosts file (prevents upload script from later hanging).

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.