ReleaseEngineering/How To/Setup Personal Development Master
< ReleaseEngineering | How To
- Create a new one from a buildbot-configs check out:
make -f Makefile.setup \ MASTER_NAME=staging-builder_master1 \ BASEDIR=/builds/buildbot/armenzg/build \ PYTHON=/tools/python/bin/python \ VIRTUALENV=/tools/python/bin/virtualenv \ BUILDBOTCUSTOM_BRANCH=default \ BUILDBOTCONFIGS_BRANCH=default \ virtualenv deps install-buildbot master master-makefile
NOTE: Use python setup-master.py -8 -l to get a list of valid "MASTER_NAME" values
- Create a Makefile that will point to your personal buildbot:
BUILDBOT=/builds/buildbot/armenzg/test/bin/buildbot unexport PYTHONHOME export PYTHONPATH=.:tools/lib/python export PYTHONDONTWRITEBYTECODE=1
- Modify the master/master_localconfig.py to set your personal ports.
- Go to slavealloc.build.m.o and login as root
su slavealloc # create a CSV similar to this one cat /tmp/armenzg-master.csv nickname,fqdn,http_port,pb_port,datacenter,pool sm-armenzg-build,staging-master.build.mozilla.org,8040,9040,sjc1,staging-pers sm-armenzg-test,staging-master.build.mozilla.org,8041,9041,sjc1,staging-pers # import your master into the DB # look at history to see what the value of PASSWORD should be /tools/slavealloc/bin/slavealloc dbimport -D mysql://buildslaves:PASSWORD/buildslaves --master-data /tmp/