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 703811 8e7002e6fa829ae650fb8cec9a326aa3b3922d94
parent 703810 037674fc82f639fdf4f27cf5c94fc7006b67d122
child 703812 98abe8f9ed864c9893724bb78d67f9ffa2e542d6
push id90981
push userbmo:mozilla@hocat.ca
push dateMon, 27 Nov 2017 20:23:23 +0000
reviewersdustin
bugs1418654
milestone59.0a1
Bug 1418654: Allow tasks that run use `mach` to checkout comm-central; r?dustin
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']