ReleaseEngineering/How To/Install buildbot

From MozillaWiki
Jump to: navigation, search
hg clone http://hg.mozilla.org/build/buildbot
cd buildbot
hg up -r production-0.8
cd master # if you want the buildbot used for a slave change to the "slave" directory
sudo python setup.py install

armenzg-laptop $ buildbot --version
Buildbot version: 0.8.2-hg-Not-trusting-file-/Users/armenzg/repos/releng/buildbot/.hg/hgrc-from-untrusted-user-armenzg,-group-staff
Not-trusting-file-/Users/armenzg/repos/releng/buildbot/.hg/hgrc-from-untrusted-user-armenzg,-group-staff
d8998b10d0b6-default-hg-d8998b10d0b6-default
Twisted version: 11.0.0

NOTE: The untrusted message should be alright. Not sure how to get rid of it.

You also need to create the queue directories to not get this message:

OSError: [Errno 13] Permission denied: '/dev/shm'
sudo mkdir -p /dev/shm
sudo chown `whoami` /dev/shm