Bug 1418654: Allow tasks that run use `mach` to checkout comm-central; r?dustin draft
authorTom Prince <mozilla@hocat.ca>
Sat, 18 Nov 2017 10:42:12 -0700
changeset 703820 9aa77bd5c49331482d8e7097ef71495b3c7d1dcb
parent 703810 037674fc82f639fdf4f27cf5c94fc7006b67d122
child 741920 6d2bd9f1dab617f7a2afbb06991a3e782d39fd9e
push id90983
push userbmo:mozilla@hocat.ca
push dateMon, 27 Nov 2017 20:34:44 +0000
reviewersdustin
bugs1418654
milestone59.0a1
Bug 1418654: Allow tasks that run use `mach` to checkout comm-central; r?dustin MozReview-Commit-ID: 4i7dqhxjxra
taskcluster/taskgraph/transforms/job/mach.py
--- a/taskcluster/taskgraph/transforms/job/mach.py
+++ b/taskcluster/taskgraph/transforms/job/mach.py
@@ -11,16 +11,20 @@ from taskgraph.transforms.job import run
 from taskgraph.util.schema import Schema
 from voluptuous import Required
 
 mach_schema = Schema({
     Required('using'): 'mach',
 
     # The mach command (omitting `./mach`) to run
     Required('mach'): basestring,
+
+    # if true, perform a checkout of a comm-central based branch inside the
+    # gecko checkout
+    Required('comm-checkout', default=False): bool,
 })
 
 
 @run_job_using("docker-worker", "mach", schema=mach_schema)
 @run_job_using("native-engine", "mach", schema=mach_schema)
 def docker_worker_mach(config, job, taskdesc):
     run = job['run']