Bug 1372721 - Remove run-on-projects from source-test tasks; r=dustin
authorGregory Szorc <gps@mozilla.com>
Tue, 13 Jun 2017 14:25:23 -0700
changeset 363710 c01b9173e0b51cadbbbfb9d01fcd5c959de752cf
parent 363709 38faa7d2c936221cd97115488c9940e5c70bc232
child 363711 943eb1e43eb09fbc78eaa924ebad806a03c85731
push id44668
push usergszorc@mozilla.com
push dateTue, 13 Jun 2017 23:33:55 +0000
treeherderautoland@c3a290d58b7d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1372721
milestone56.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 1372721 - Remove run-on-projects from source-test tasks; r=dustin The default value for run-on-projects is "all." Many of the tasks changed in this commit were defining "run-on-projects" to integration+release, which is essentially all (notably missing "try"). I can't think of a good reason to not schedule these lint tasks on all repos by default. So just do that. MozReview-Commit-ID: EowUGNzC7K3
taskcluster/ci/source-test/doc.yml
taskcluster/ci/source-test/mozlint.yml
taskcluster/ci/source-test/python-tests.yml
taskcluster/ci/source-test/webidl.yml
--- a/taskcluster/ci/source-test/doc.yml
+++ b/taskcluster/ci/source-test/doc.yml
@@ -16,16 +16,13 @@ sphinx:
     run:
         using: run-task
         command: >
             cd /home/worker/checkouts/gecko &&
             ./mach doc --outdir docs-out --no-open &&
             rm -rf docs-out/html/Mozilla_Source_Tree_Docs/_venv &&
             mv docs-out/html/Mozilla_Source_Tree_Docs docs &&
             tar -czf docs.tar.gz docs
-    run-on-projects:
-        - integration
-        - release
     when:
         files-changed:
             - '**/*.py'
             - '**/*.rst'
             - 'tools/docs/**'
--- a/taskcluster/ci/source-test/mozlint.yml
+++ b/taskcluster/ci/source-test/mozlint.yml
@@ -14,19 +14,16 @@ mozlint-eslint:
         command: >
             cd /home/worker/checkouts/gecko/ &&
             /build/tooltool.py fetch -m tools/lint/eslint/manifest.tt &&
             tar xvfz eslint.tar.gz &&
             rm eslint.tar.gz &&
             ln -s ../tools/lint/eslint/eslint-plugin-mozilla node_modules &&
             ln -s ../tools/lint/eslint/eslint-plugin-spidermonkey-js node_modules &&
             ./mach lint -l eslint -f treeherder --quiet
-    run-on-projects:
-        - integration
-        - release
     when:
         files-changed:
             # Files that are likely audited.
             - '**/*.js'
             - '**/*.jsm'
             - '**/*.jsx'
             - '**/*.html'
             - '**/*.xhtml'
@@ -50,19 +47,16 @@ mozlint-flake8:
         tier: 1
     worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
     worker:
         docker-image: {in-tree: "lint"}
         max-run-time: 1800
     run:
         using: mach
         mach: lint -l flake8 -f treeherder
-    run-on-projects:
-        - integration
-        - release
     when:
         files-changed:
             - '**/*.py'
             - '**/.flake8'
             - 'python/mozlint/**'
             - 'tools/lint/**'
 
 wptlint-gecko:
@@ -74,19 +68,16 @@ wptlint-gecko:
         tier: 1
     worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
     worker:
         docker-image: {in-tree: "lint"}
         max-run-time: 1800
     run:
         using: mach
         mach: lint -l wpt -l wpt_manifest -f treeherder
-    run-on-projects:
-        - integration
-        - release
     when:
         files-changed:
             - 'testing/web-platform/tests/**'
             - 'testing/web-platform/mozilla/tests/**'
             - 'testing/web-platform/meta/MANIFEST.json'
             - 'testing/web-platform/mozilla/meta/MANIFEST.json'
             - 'python/mozlint/**'
             - 'tools/lint/**'
--- a/taskcluster/ci/source-test/python-tests.yml
+++ b/taskcluster/ci/source-test/python-tests.yml
@@ -7,19 +7,16 @@ taskgraph-tests:
         tier: 2
     worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
     worker:
         docker-image: {in-tree: "lint"}
         max-run-time: 1800
     run:
         using: mach
         mach: taskgraph python-tests
-    run-on-projects:
-        - integration
-        - release
     when:
         files-changed:
             - 'taskcluster/**/*.py'
             - 'config/mozunit.py'
             - 'python/mach/**/*.py'
 
 marionette-harness:
     description: testing/marionette/harness unit tests
@@ -34,19 +31,16 @@ marionette-harness:
     worker:
         by-platform:
             linux64.*:
                 docker-image: {in-tree: "lint"}
                 max-run-time: 3600
     run:
         using: mach
         mach: python-test --subsuite marionette-harness
-    run-on-projects:
-        - integration
-        - release
     when:
         files-changed:
           - 'testing/marionette/harness/**'
           - 'testing/mozbase/mozlog/mozlog/**'
           - 'testing/mozbase/mozlog/setup.py'
           - 'testing/mozbase/packages.txt'
           - 'python/mach_commands.py'
 
@@ -68,19 +62,16 @@ mochitest-harness:
                 max-run-time: 3600
     run:
         using: run-task
         command: >
             source /home/worker/scripts/xvfb.sh &&
             start_xvfb '1600x1200x24' 0 &&
             cd /home/worker/checkouts/gecko &&
             ./mach python-test --subsuite mochitest
-    run-on-projects:
-        - integration
-        - release
     when:
         files-changed:
             - 'config/mozunit.py'
             - 'python/mach_commands.py'
             - 'testing/mochitest/**'
             - 'testing/mozharness/mozharness/base/log.py'
             - 'testing/mozharness/mozharness/mozilla/structuredlog.py'
             - 'testing/mozharness/mozharness/mozilla/testing/errors.py'
@@ -100,19 +91,16 @@ mozbase:
     worker:
         by-platform:
             linux64.*:
                 docker-image: {in-tree: "lint"}
                 max-run-time: 3600
     run:
         using: mach
         mach: python-test --subsuite mozbase
-    run-on-projects:
-        - integration
-        - release
     when:
         files-changed:
             - 'testing/mozbase/**'
             - 'config/mozunit.py'
             - 'python/mach_commands.py'
 
 mozharness:
     description: mozharness integration tests
@@ -126,19 +114,16 @@ mozharness:
         docker-image: {in-tree: "lint"}
         max-run-time: 1800
     run:
         using: run-task
         cache-dotcache: true
         command: >
             cd /home/worker/checkouts/gecko/testing/mozharness &&
             /usr/local/bin/tox -e py27-hg4.1
-    run-on-projects:
-        - integration
-        - release
     when:
         files-changed:
             - 'testing/mozharness/**'
 
 mozlint:
     description: python/mozlint unit tests
     platform: linux64/opt
     treeherder:
@@ -151,15 +136,12 @@ mozlint:
     worker:
         by-platform:
             linux64.*:
                 docker-image: {in-tree: "lint"}
                 max-run-time: 3600
     run:
         using: mach
         mach: python-test --subsuite mozlint
-    run-on-projects:
-        - integration
-        - release
     when:
         files-changed:
             - 'python/mozlint/**'
             - 'python/mach_commands.py'
--- a/taskcluster/ci/source-test/webidl.yml
+++ b/taskcluster/ci/source-test/webidl.yml
@@ -7,17 +7,14 @@ webidl-test:
         tier: 1
     worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
     worker:
         docker-image: {in-tree: "lint"}
         max-run-time: 1800
     run:
         using: mach
         mach: webidl-parser-test --verbose
-    run-on-projects:
-        - integration
-        - release
     when:
         files-changed:
             - 'dom/bindings/parser/runtests.py'
             - 'dom/bindings/parser/WebIDL.py'
             - 'dom/bindings/parser/tests/**'
             - 'other-licenses/ply/**'