User:Armenzg:cheat sheet
Contents
Snippet generation understanding
nthomas: armenzg: normally you'd have to clean up aus2-staging:/opt/aus2/build, then prometheus-vm:/builds/nightly-update-generation/aus, then aus2-staging:/opt/aus2/incoming/2 [4:53pm] nthomas: armenzg: but the partial generator deletes anything it pulls from aus2/build that is more than 4 days old, so it's not going to get snippets that point to non-existent files armenzg: I would like to take note of this - or do we have a page explaining the process? [4:54pm] nthomas: you can read patch-packager.p
Setup your local buildbot environment
- Comment out the TinderboxMailNotifiers
- Add the dummy factories
- "rm *.{py,ini,cfg}"
- symlink like this: "ln -s ../buildbot-configs/mozilla2-staging/*.{py,ini,cfg}"
- link to master1.cfg -> "ln -s master1.cfg master.cfg"
- symlink l10n-changesets
Add dummy factories to your master.cfg
Add this:
dummy_factory = factory.BuildFactory() dummy_factory.addStep(Dummy())
In Vim do this:
%s/'factory': $1/'factory': $1\n'factory': dummy_factory/c
- TBA
Email your self a patch from a slave
mail -s "My patch" armenzg@mozilla.com < my_patch.diff
Do not try this with binary files. Read about uuencode in this page: http://www.shelldorado.com/articles/mailattachments.html#top
The BuildSlaves.py file
from buildbot.buildslave import BuildSlave
SlaveList= [
BuildSlave("staging-1.9-master","",max_builds=1), BuildSlave("fx-linux-1.9-slave1","",max_builds=1), BuildSlave("fx-linux-1.9-slave3","",max_builds=1), BuildSlave("fx-linux-1.9-slave4","",max_builds=1), BuildSlave("fx-win32-1.9-slave1", "",max_builds=1), BuildSlave("fx-win32-1.9-slave3", "",max_builds=1), BuildSlave("fx-win32-1.9-slave4", "",max_builds=1), BuildSlave("mini-test", "",max_builds=1), BuildSlave("fx-mac-1.9-slave1", "",max_builds=1), BuildSlave("moz2-linux64-slave01","",max_builds=1), BuildSlave("moz2-linux-slave01","",max_builds=1), BuildSlave("moz2-linux-slave02","",max_builds=1), BuildSlave("moz2-linux-slave03","",max_builds=1), BuildSlave("moz2-linux-slave04","",max_builds=1), BuildSlave("moz2-linux-slave05","",max_builds=1), BuildSlave("moz2-linux-slave06","",max_builds=1), BuildSlave("moz2-linux-slave07","",max_builds=1), BuildSlave("moz2-linux-slave08","",max_builds=1), BuildSlave("moz2-linux-slave09","",max_builds=1), BuildSlave("moz2-linux-slave10","",max_builds=1), BuildSlave("moz2-linux-slave11","",max_builds=1), BuildSlave("moz2-linux-slave12","",max_builds=1), BuildSlave("moz2-linux-slave13","",max_builds=1), BuildSlave("moz2-linux-slave14","",max_builds=1), BuildSlave("moz2-linux-slave15","",max_builds=1), BuildSlave("moz2-linux-slave16","",max_builds=1), BuildSlave("moz2-linux-slave17","",max_builds=1), BuildSlave("moz2-linux-slave18","",max_builds=1), BuildSlave("moz2-linux-slave19","",max_builds=1), BuildSlave("moz2-linux-slave20","",max_builds=1), BuildSlave("moz2-linux-slave21","",max_builds=1), BuildSlave("moz2-win32-slave01","",max_builds=1), BuildSlave("moz2-win32-slave02","",max_builds=1), BuildSlave("moz2-win32-slave03","",max_builds=1), BuildSlave("moz2-win32-slave04","",max_builds=1), BuildSlave("moz2-win32-slave05","",max_builds=1), BuildSlave("moz2-win32-slave06","",max_builds=1), BuildSlave("moz2-win32-slave07","",max_builds=1), BuildSlave("moz2-win32-slave08","",max_builds=1), BuildSlave("moz2-win32-slave09","",max_builds=1), BuildSlave("moz2-win32-slave10","",max_builds=1), BuildSlave("moz2-win32-slave11","",max_builds=1), BuildSlave("moz2-win32-slave12","",max_builds=1), BuildSlave("moz2-win32-slave13","",max_builds=1), BuildSlave("moz2-win32-slave14","",max_builds=1), BuildSlave("moz2-win32-slave15","",max_builds=1), BuildSlave("moz2-win32-slave16","",max_builds=1), BuildSlave("moz2-win32-slave17","",max_builds=1), BuildSlave("moz2-win32-slave18","",max_builds=1), BuildSlave("moz2-win32-slave19","",max_builds=1), BuildSlave("moz2-win32-slave20","",max_builds=1), BuildSlave("moz2-win32-slave21","",max_builds=1), BuildSlave("moz2-win32-slave22","",max_builds=1), BuildSlave("moz2-win32-slave23","",max_builds=1), BuildSlave("moz2-win32-slave24","",max_builds=1), BuildSlave("moz2-win32-slave25","",max_builds=1), BuildSlave("moz2-win32-slave26","",max_builds=1), BuildSlave("moz2-win32-slave27","",max_builds=1), BuildSlave("bm-xserve16","",max_builds=1), BuildSlave("bm-xserve17","",max_builds=1), BuildSlave("bm-xserve18","",max_builds=1), BuildSlave("bm-xserve19","",max_builds=1), BuildSlave("bm-xserve20","",max_builds=1), BuildSlave("bm-xserve21","",max_builds=1), BuildSlave("bm-xserve22","",max_builds=1), BuildSlave("bm-xserve23","",max_builds=1), BuildSlave("moz2-darwin9-slave01","",max_builds=1), BuildSlave("moz2-darwin9-slave02","",max_builds=1), BuildSlave("moz2-darwin9-slave03","",max_builds=1), BuildSlave("moz2-darwin9-slave04","",max_builds=1), BuildSlave("moz2-darwin9-slave05","",max_builds=1), BuildSlave("moz2-darwin9-slave06","",max_builds=1), BuildSlave("moz2-darwin9-slave07","",max_builds=1), BuildSlave("moz2-darwin9-slave08","",max_builds=1), BuildSlave("moz2-darwin9-slave09","",max_builds=1), BuildSlave("moz2-darwin9-slave10","",max_builds=1),
]