Makefile.master
author Chris Cooper <ccooper@deadsquid.com>
Thu, 09 Oct 2014 14:31:52 -0400
changeset 11160 469791fa7a9363d6d257dde9c64ab050e136e46e
parent 11154 d997f6adb14d9dde49125113bf8ddda64aab1c32
permissions -rw-r--r--
Bug 1078507 - undo unintended change to Makefile.master - r=bustage

PWD=$(shell pwd)
BUILDBOT=$(PWD)/bin/buildbot
HG=hg
PRODUCTION_MASTERS=tools/buildfarm/maintenance/production-masters.json
export PYTHONDONTWRITEBYTECODE=1
export PYTHONPATH=""

start:
	cd master && $(BUILDBOT) start $$PWD
stop:
	cd master && $(BUILDBOT) stop $$PWD
restart:
	cd master && $(BUILDBOT) restart $$PWD
reconfig:
	cd master && $(BUILDBOT) reconfig $$PWD
checkconfig:
	cd master && $(BUILDBOT) checkconfig
update:
	(cd buildbotcustom && $(HG) pull && $(HG) update -C)
	(cd buildbot-configs && $(HG) pull && $(HG) update -C)
	(cd tools && $(HG) pull && $(HG) update -C)
	(python buildbot-configs/update-master-json.py $(PRODUCTION_MASTERS) master/master_config.json)
version:
	$(BUILDBOT) --version