Makefile.master
author Justin Wood <Callek@gmail.com>
Tue, 08 May 2018 08:12:06 -0400
changeset 15762 99bed33022737a0ad6373fa863943822be1f6d73
parent 11160 469791fa7a9363d6d257dde9c64ab050e136e46e
permissions -rw-r--r--
Bug 1459831 - Switch off buildbot builds on comm-beta. r=rail This patch is form-for-function identical to https://reviewboard.mozilla.org/r/229980/diff/3 Differential Revision: https://phabricator.services.mozilla.com/D1209

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