Makefile.master
author Rail Aliiev <rail@mozilla.com>
Tue, 22 May 2012 12:52:27 -0400
changeset 6080 2f3434bde0e1aec3b33b474aaebdbc60f89ef44b
parent 5128 11633aa2bb4f8503e4b40bce452b3d3ce925da3a
child 11154 d997f6adb14d9dde49125113bf8ddda64aab1c32
permissions -rw-r--r--
Bug 754291 - buildbot master Makefile refers to the wrong hg. r=bhearsum

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