Bug 1370469 - Fix transform for spidermonkey jobs to actually do schema validation. r=dustin
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 06 Jun 2017 16:50:40 +0900
changeset 410625 c0132e87075a11b65e712e81fe9c7eb73acaab55
parent 410624 50a086be7e63261d5bde166a05007022a618e5ed
child 410626 de88730802a859cd59e7cddd4c301ed69fd2da2c
push id7391
push usermtabara@mozilla.com
push dateMon, 12 Jun 2017 13:08:53 +0000
treeherdermozilla-beta@2191d7f87e2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1370469
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1370469 - Fix transform for spidermonkey jobs to actually do schema validation. r=dustin
taskcluster/taskgraph/transforms/job/spidermonkey.py
--- a/taskcluster/taskgraph/transforms/job/spidermonkey.py
+++ b/taskcluster/taskgraph/transforms/job/spidermonkey.py
@@ -23,20 +23,21 @@ sm_run_schema = Schema({
     Required('spidermonkey-variant'): basestring,
 
     # The tooltool manifest to use; default from sm-tooltool-config.sh  is used
     # if omitted
     Optional('tooltool-manifest'): basestring,
 })
 
 
-@run_job_using("docker-worker", "spidermonkey")
-@run_job_using("docker-worker", "spidermonkey-package")
-@run_job_using("docker-worker", "spidermonkey-mozjs-crate")
-def docker_worker_spidermonkey(config, job, taskdesc, schema=sm_run_schema):
+@run_job_using("docker-worker", "spidermonkey", schema=sm_run_schema)
+@run_job_using("docker-worker", "spidermonkey-package", schema=sm_run_schema)
+@run_job_using("docker-worker", "spidermonkey-mozjs-crate",
+               schema=sm_run_schema)
+def docker_worker_spidermonkey(config, job, taskdesc):
     run = job['run']
 
     worker = taskdesc['worker']
     worker['artifacts'] = []
     worker['caches'] = []
 
     if int(config.params['level']) > 1:
         worker['caches'].append({