Bug 1408352 - Add 'always_target' to lint and python unittest tasks, r?dustin draft
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Mon, 30 Oct 2017 09:43:52 -0400
changeset 692217 6c19de382ad3dc300a7321effe138756a4329fe5
parent 692216 a6a8fc4fd8e2f479b544a64e49223149349e2462
child 738705 0fa22891d7f60ee8af3c6e57a37a7d70771f35a3
push id87441
push userahalberstadt@mozilla.com
push dateThu, 02 Nov 2017 18:52:31 +0000
reviewersdustin
bugs1408352
milestone58.0a1
Bug 1408352 - Add 'always_target' to lint and python unittest tasks, r?dustin The mochitest and reftest selftest tasks are excluded because they also schedule several builds as dependencies which is likely going to be unexpected behaviour. MozReview-Commit-ID: 9eoVJ5qpAMO
taskcluster/ci/source-test/mozlint.yml
taskcluster/ci/source-test/python.yml
--- a/taskcluster/ci/source-test/mozlint.yml
+++ b/taskcluster/ci/source-test/mozlint.yml
@@ -1,9 +1,10 @@
 job-defaults:
+    always-target: true
     treeherder:
         kind: test
         tier: 1
     worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
     worker:
         docker-image: {in-tree: "lint"}
         max-run-time: 1800
     run:
--- a/taskcluster/ci/source-test/python.yml
+++ b/taskcluster/ci/source-test/python.yml
@@ -1,10 +1,11 @@
 job-defaults:
     platform: linux64/opt
+    always-target: true
     worker-type:
         by-platform:
             linux64.*: aws-provisioner-v1/gecko-t-linux-xlarge
     treeherder:
         kind: test
         tier: 2
     run:
         using: mach
@@ -47,16 +48,17 @@ marionette-harness:
 
 mochitest-harness:
     description: testing/mochitest unittests
     platform:
         - linux64/opt
         - linux64/debug
         - linux64-asan/opt
     require-build: true
+    always-target: false
     treeherder:
         symbol: py(mch)
     worker:
         by-platform:
             linux64.*:
                 docker-image: {in-tree: "desktop1604-test"}
                 max-run-time: 3600
     run:
@@ -144,16 +146,17 @@ mozversioncontrol:
 
 reftest-harness:
     description: layout/tools/reftest unittests
     platform:
         - linux64/opt
         - linux64/debug
         - linux64-asan/opt
     require-build: true
+    always-target: false
     treeherder:
         symbol: py(ref)
     worker:
         by-platform:
             linux64.*:
                 docker-image: {in-tree: "desktop1604-test"}
                 max-run-time: 3600
     run: