Port bug 1606922: Move MOZ_AUTOMATION_PACKAGE_TESTS from mozconfigs to taskcluster. rs=bustage-fix
authorRob Lemley <rob@thunderbird.net>
Wed, 26 Feb 2020 06:57:19 -0500
changeset 37438 f666055d952578464a012089ff80287153f87b10
parent 37437 0498fb268e27f56d3d67b7cef3e6eae54a2f63d5
child 37439 b6948968da8c459ded34fc2e929d21222962cba8
push id2566
push userclokep@gmail.com
push dateMon, 09 Mar 2020 19:20:31 +0000
treeherdercomm-beta@a352facfa0a4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage-fix
bugs1606922
Port bug 1606922: Move MOZ_AUTOMATION_PACKAGE_TESTS from mozconfigs to taskcluster. rs=bustage-fix This change is so that tests are not packaged for builds that do not use them.
taskcluster/ci/build/linux.yml
taskcluster/ci/build/macosx.yml
taskcluster/ci/build/windows.yml
--- a/taskcluster/ci/build/linux.yml
+++ b/taskcluster/ci/build/linux.yml
@@ -9,16 +9,18 @@ linux64/opt:
         job-name: linux64-opt
     treeherder:
         platform: linux64/opt
         symbol: B
     worker-type: b-linux
     worker:
         docker-image: {in-tree: "debian7-amd64-build"}
         max-run-time: 7200
+        env:
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
             - comm/mozharness
         config:
             - builds/taskcluster_base_thunderbird.py
@@ -50,16 +52,18 @@ linux64-shippable/opt:
         type: shippable
     treeherder:
         platform: linux64-shippable/opt
         symbol: B
     worker-type: b-linux
     worker:
         docker-image: {in-tree: "debian7-amd64-build"}
         max-run-time: 7200
+        env:
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
             - comm/mozharness
         config:
             - builds/taskcluster_base_thunderbird.py
@@ -84,16 +88,18 @@ linux64/debug:
         job-name: linux64-debug
     treeherder:
         platform: linux64/debug
         symbol: B
     worker-type: b-linux
     worker:
         docker-image: {in-tree: "debian7-amd64-build"}
         max-run-time: 7200
+        env:
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
             - comm/mozharness
         config:
             - builds/taskcluster_base_thunderbird.py
@@ -120,16 +126,18 @@ linux/opt:
         job-name: linux32-opt
     treeherder:
         platform: linux32/opt
         symbol: B
     worker-type: b-linux
     worker:
         docker-image: {in-tree: "debian7-i386-build"}
         max-run-time: 7200
+        env:
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
             - comm/mozharness
         config:
             - builds/taskcluster_base_thunderbird.py
@@ -161,16 +169,18 @@ linux-shippable/opt:
         type: shippable
     treeherder:
         platform: linux32-shippable/opt
         symbol: B
     worker-type: b-linux
     worker:
         docker-image: {in-tree: "debian7-i386-build"}
         max-run-time: 7200
+        env:
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
             - comm/mozharness
         config:
             - builds/taskcluster_base_thunderbird.py
@@ -195,16 +205,18 @@ linux/debug:
         job-name: linux32-debug
     treeherder:
         platform: linux32/debug
         symbol: B
     worker-type: b-linux
     worker:
         docker-image: {in-tree: "debian7-i386-build"}
         max-run-time: 7200
+        env:
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
             - comm/mozharness
         config:
             - builds/taskcluster_base_thunderbird.py
--- a/taskcluster/ci/build/macosx.yml
+++ b/taskcluster/ci/build/macosx.yml
@@ -12,16 +12,17 @@ macosx64/debug:
         symbol: B
         tier: 1
     worker-type: b-linux
     worker:
         max-run-time: 7200
         env:
             # We just use the browser manifest, since we don't need anything different
             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
             - comm/mozharness
         config:
             - builds/taskcluster_base_thunderbird.py
@@ -55,16 +56,17 @@ macosx64/opt:
         symbol: B
         tier: 1
     worker-type: b-linux
     worker:
         max-run-time: 7200
         env:
             # We just use the browser manifest, since we don't need anything different
             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
             - comm/mozharness
         config:
             - builds/taskcluster_base_thunderbird.py
@@ -103,16 +105,17 @@ macosx64-shippable/opt:
         symbol: B
         tier: 1
     worker-type: b-linux
     worker:
         max-run-time: 7200
         env:
             # We just use the browser manifest, since we don't need anything different
             TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         using: mozharness
         comm-checkout: true
         actions: [build]
         config-paths:
             - comm/mozharness
         config:
             - builds/taskcluster_base_thunderbird.py
--- a/taskcluster/ci/build/windows.yml
+++ b/taskcluster/ci/build/windows.yml
@@ -31,16 +31,17 @@ win32/opt:
         platform: windows2012-32/opt
         symbol: B
         tier: 1
     worker-type: b-win2012
     worker:
         max-run-time: 7200
         env:
             TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win32/releng.manifest"
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         actions: [build]
         options: [append-env-variables-from-configs]
         script: mozharness/scripts/fx_desktop_build.py
         config:
             - builds/taskcluster_base_thunderbird.py
             - builds/taskcluster_base_windows.py
             - builds/taskcluster_base_win32.py
@@ -67,16 +68,17 @@ win32-shippable/opt:
         platform: windows2012-32-shippable/opt
         symbol: B
         tier: 1
     worker-type: b-win2012
     worker:
         max-run-time: 10800
         env:
             TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win32/releng.manifest"
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         actions: [build]
         options: [append-env-variables-from-configs]
         script: mozharness/scripts/fx_desktop_build.py
         config:
             - builds/taskcluster_base_thunderbird.py
             - builds/taskcluster_base_windows.py
             - builds/taskcluster_base_win32.py
@@ -95,16 +97,17 @@ win32/debug:
         platform: windows2012-32/debug
         symbol: B
         tier: 1
     worker-type: b-win2012
     worker:
         max-run-time: 7200
         env:
             TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win32/releng.manifest"
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         actions: [build]
         options: [append-env-variables-from-configs]
         script: mozharness/scripts/fx_desktop_build.py
         config:
             - builds/taskcluster_base_thunderbird.py
             - builds/taskcluster_base_windows.py
             - builds/taskcluster_base_win32.py
@@ -125,16 +128,17 @@ win64/opt:
         platform: windows2012-64/opt
         symbol: B
         tier: 1
     worker-type: b-win2012
     worker:
         max-run-time: 7200
         env:
             TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win64/releng.manifest"
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         actions: [build]
         options: [append-env-variables-from-configs]
         script: mozharness/scripts/fx_desktop_build.py
         config:
             - builds/taskcluster_base_thunderbird.py
             - builds/taskcluster_base_windows.py
             - builds/taskcluster_base_win64.py
@@ -161,16 +165,17 @@ win64-shippable/opt:
         platform: windows2012-64-shippable/opt
         symbol: B
         tier: 1
     worker-type: b-win2012
     worker:
         max-run-time: 10800
         env:
             TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win64/releng.manifest"
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         actions: [build]
         options: [append-env-variables-from-configs]
         script: mozharness/scripts/fx_desktop_build.py
         config:
             - builds/taskcluster_base_thunderbird.py
             - builds/taskcluster_base_windows.py
             - builds/taskcluster_base_win64.py
@@ -189,16 +194,17 @@ win64/debug:
         platform: windows2012-64/debug
         symbol: B
         tier: 1
     worker-type: b-win2012
     worker:
         max-run-time: 7200
         env:
             TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win64/releng.manifest"
+            MOZ_AUTOMATION_PACKAGE_TESTS: "1"
     run:
         actions: [build]
         options: [append-env-variables-from-configs]
         script: mozharness/scripts/fx_desktop_build.py
         config:
             - builds/taskcluster_base_thunderbird.py
             - builds/taskcluster_base_windows.py
             - builds/taskcluster_base_win64.py