ReferencePlatforms/BuildbotMaster: Difference between revisions

no edit summary
(Created page with '=Set up a new Buildbot Master= Starting with a fresh image of the linux ref platform, the following must be done to set up a new instance of a buildbot master. ==Clone Buildbot…')
 
No edit summary
 
Line 4: Line 4:


==Clone Buildbotcustom==
==Clone Buildbotcustom==
  cd /tools
  mkdir -p /tools/buildbotcustom/
  mkdir buildbotcustom/
  cd /tools/buildbotcustom
For a staging master
  hg clone http://hg.mozilla.org/build/buildbotcustom buildbotcustom-clean
  hg clone http://hg.mozilla.org/build/buildbotcustom buildbotcustom-clean
  ln -s buildbotcustom-clean buildbotcustom
  ln -s buildbotcustom-clean buildbotcustom
Or a production master
hg clone http://hg.mozilla.org/build/buildbotcustom buildbotcustom
==Clone Buildbotconfigs==
mkdir -p /builds/buildbot
cd /builds/buildbot
For a staging master
mkdir user-configs
hg clone http://hg.mozilla.org/build/buildbot-configs user-configs/clean-configs
ln -s user-configs/clean-configs configs
Or a production master
hg clone http://hg.mozilla.org/build/buildbot-configs configs


==Update Buildbot==  
==Update Buildbot==  
Line 13: Line 26:
  cd /tools/buildbot
  cd /tools/buildbot
  hg up -r BUILDBOT_PRODUCTION
  hg up -r BUILDBOT_PRODUCTION
python setup.py install --prefix=/tools/buildbot


==Install SQLAlchemy==
==Install SQLAlchemy==
Line 25: Line 39:
==For a Talos Master==
==For a Talos Master==
  # in each build master's directory:
  # in each build master's directory:
  hg clone http://hg.mozilla.org/build/tool
  hg clone http://hg.mozilla.org/build/tools
 
==Other changes==
 
There are some slave-specific things that can also be done (full docs needed)
* make sure puppet is disabled (chkconfig)
* disable cltbld's cron job to start Xvfb and metacity
* remove scratchbox
* modify /etc/default/buildbot to start your master, or if you need to use a Makefile then use chkconfig to disable the buildbot service
* add a cron job to cleanup the builder dirs of your masters
Confirmed users
4,293

edits