Bug 1439258: Add nightly builds; r=Fallen
authorTom Prince <mozilla@hocat.ca>
Thu, 11 Jan 2018 21:02:34 -0700
changeset 30312 5620690a17267e56e1407ae64294624747701ea1
parent 30311 480bf9c5545832f4919375d7cc090c3998136743
child 30313 91311b1d6aa3bddd427858cb7f8c149a81c71a92
push id2140
push userclokep@gmail.com
push dateMon, 12 Mar 2018 19:42:51 +0000
treeherdercomm-beta@2d485f0d3723 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersFallen
bugs1439258
Bug 1439258: Add nightly builds; r=Fallen Differential Revision: https://phabricator.services.mozilla.com/D604
mozharness/builds/taskcluster_base_thunderbird.py
taskcluster/ci/build/linux.yml
taskcluster/ci/build/macosx.yml
taskcluster/ci/build/windows.yml
taskcluster/ci/test/test-platforms.yml
--- a/mozharness/builds/taskcluster_base_thunderbird.py
+++ b/mozharness/builds/taskcluster_base_thunderbird.py
@@ -1,7 +1,10 @@
 config = {
     'stage_product': 'thunderbird',
     'stage_username': 'tbirdbld',
     'stage_ssh_key': 'tbirdbld_rsa',
     'app_name': 'comm/mail',
     'objdir': 'obj-thunderbird',
+
+    # Thunderbird doesn't compile under pgo
+    'pgo_platforms': []
 }
--- a/taskcluster/ci/build/linux.yml
+++ b/taskcluster/ci/build/linux.yml
@@ -22,16 +22,49 @@ linux64/opt:
         script: "mozharness/scripts/fx_desktop_build.py"
         need-xvfb: true
     toolchains:
         - linux64-clang
         - linux64-gcc
         - linux64-rust
         - linux64-sccache
 
+linux64-nightly/opt:
+    description: "Linux64 Nightly"
+    attributes:
+        nightly: true
+    index:
+        product: thunderbird
+        job-name: linux64-opt
+        type: nightly
+    treeherder:
+        platform: linux64/opt
+        symbol: tc(N)
+    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
+    worker:
+        docker-image: {in-tree: "debian7-amd64-build"}
+        max-run-time: 36000
+    run:
+        using: mozharness
+        comm-checkout: true
+        actions: [build check-test update]
+        config-paths:
+            - comm/mozharness
+        config:
+            - builds/taskcluster_base_thunderbird.py
+            - builds/releng_base_linux_64_builds.py
+            - disable_signing.py
+            - taskcluster_nightly.py
+        script: "mozharness/scripts/fx_desktop_build.py"
+        need-xvfb: true
+    toolchains:
+        - linux64-clang
+        - linux64-gcc
+        - linux64-rust
+
 linux64/debug:
     description: "Linux64 Debug"
     index:
         product: thunderbird
         job-name: linux64-debug
     treeherder:
         platform: linux64/debug
         symbol: tc(B)
@@ -81,16 +114,49 @@ linux/opt:
         script: "mozharness/scripts/fx_desktop_build.py"
         need-xvfb: true
     toolchains:
         - linux64-clang
         - linux64-gcc
         - linux64-rust
         - linux64-sccache
 
+linux-nightly/opt:
+    description: "Linux32 Nightly"
+    attributes:
+        nightly: true
+    index:
+        product: thunderbird
+        job-name: linux32-opt
+        type: nightly
+    treeherder:
+        platform: linux32/opt
+        symbol: tc(N)
+    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
+    worker:
+        docker-image: {in-tree: "debian7-i386-build"}
+        max-run-time: 36000
+    run:
+        using: mozharness
+        comm-checkout: true
+        actions: [build check-test update]
+        config-paths:
+            - comm/mozharness
+        config:
+            - builds/taskcluster_base_thunderbird.py
+            - builds/releng_base_linux_32_builds.py
+            - disable_signing.py
+            - taskcluster_nightly.py
+        script: "mozharness/scripts/fx_desktop_build.py"
+        need-xvfb: true
+    toolchains:
+        - linux64-clang
+        - linux64-gcc
+        - linux64-rust
+
 linux/debug:
     description: "Linux32 Debug"
     index:
         product: thunderbird
         job-name: linux32-debug
     treeherder:
         platform: linux32/debug
         symbol: tc(B)
--- a/taskcluster/ci/build/macosx.yml
+++ b/taskcluster/ci/build/macosx.yml
@@ -63,8 +63,47 @@ macosx64/opt:
     toolchains:
         - linux64-cctools-port
         - linux64-clang
         - linux64-hfsplus
         - linux64-libdmg
         - linux64-llvm-dsymutil
         - linux64-rust-macos
         - linux64-sccache
+
+macosx64-nightly/opt:
+    description: "MacOS X x64 Cross-compile Nightly"
+    attributes:
+        nightly: true
+    index:
+        product: thunderbird
+        job-name: macosx64-opt
+        type: nightly
+    treeherder:
+        platform: osx-cross/opt
+        symbol: tc(N)
+        tier: 1
+    worker-type: aws-provisioner-v1/gecko-{level}-b-macosx64
+    worker:
+        max-run-time: 36000
+        env:
+            # We just use the browser manifest, since we don't need anything different
+            TOOLTOOL_MANIFEST: "browser/config/tooltool-manifests/macosx64/cross-releng.manifest"
+    run:
+        using: mozharness
+        comm-checkout: true
+        actions: [build update]
+        config-paths:
+            - comm/mozharness
+        config:
+            - builds/taskcluster_base_thunderbird.py
+            - builds/releng_base_mac_64_cross_builds.py
+            - disable_signing.py
+            - taskcluster_nightly.py
+        script: "mozharness/scripts/fx_desktop_build.py"
+        tooltool-downloads: internal
+    toolchains:
+        - linux64-cctools-port
+        - linux64-clang
+        - linux64-hfsplus
+        - linux64-libdmg
+        - linux64-llvm-dsymutil
+        - linux64-rust-macos
--- a/taskcluster/ci/build/windows.yml
+++ b/taskcluster/ci/build/windows.yml
@@ -10,30 +10,67 @@ win32/opt:
     worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
     worker:
         max-run-time: 7200
         env:
             TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win32/releng.manifest"
     run:
         using: mozharness
         comm-checkout: true
+        actions: [build, check-test, update]
         options: [append-env-variables-from-configs]
         script: mozharness/scripts/fx_desktop_build.py
         config-paths:
             - comm/mozharness
         config:
             - builds/taskcluster_base_thunderbird.py
             - builds/taskcluster_base_windows.py
             - builds/taskcluster_base_win32.py
             - builds/taskcluster_sub_win32/opt.py
     toolchains:
         - win32-clang-cl
         - win32-rust
         - win64-sccache
 
+win32-nightly/opt:
+    description: "Win32 Nightly"
+    attributes:
+        nightly: true
+    index:
+        product: thunderbird
+        job-name: win32-opt
+        type: nightly
+    treeherder:
+        platform: windows2012-32/opt
+        symbol: tc(N)
+        tier: 1
+    worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
+    worker:
+        max-run-time: 7200
+        env:
+            TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win32/releng.manifest"
+    run:
+        using: mozharness
+        comm-checkout: true
+        actions: [build, check-test, update]
+        options: [append-env-variables-from-configs]
+        script: mozharness/scripts/fx_desktop_build.py
+        config-paths:
+            - comm/mozharness
+        config:
+            - builds/taskcluster_base_thunderbird.py
+            - builds/taskcluster_base_windows.py
+            - builds/taskcluster_base_win32.py
+            - builds/taskcluster_sub_win32/opt.py
+            - disable_signing.py
+            - taskcluster_nightly.py
+    toolchains:
+        - win32-clang-cl
+        - win32-rust
+
 win32/debug:
     description: "Win32 Debug"
     index:
         product: thunderbird
         job-name: win32-debug
     treeherder:
         platform: windows2012-32/debug
         symbol: tc(B)
@@ -41,16 +78,17 @@ win32/debug:
     worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
     worker:
         max-run-time: 7200
         env:
             TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win32/releng.manifest"
     run:
         using: mozharness
         comm-checkout: true
+        actions: [build, check-test, update]
         options: [append-env-variables-from-configs]
         script: mozharness/scripts/fx_desktop_build.py
         config-paths:
             - comm/mozharness
         config:
             - builds/taskcluster_base_thunderbird.py
             - builds/taskcluster_base_windows.py
             - builds/taskcluster_base_win32.py
@@ -86,16 +124,52 @@ win64/opt:
             - builds/taskcluster_base_windows.py
             - builds/taskcluster_base_win64.py
             - builds/taskcluster_sub_win64/opt.py
     toolchains:
         - win64-clang-cl
         - win64-rust
         - win64-sccache
 
+win64-nightly/opt:
+    description: "Win64 Nightly"
+    attributes:
+        nightly: true
+    index:
+        product: thunderbird
+        job-name: win64-opt
+        type: nightly
+    treeherder:
+        platform: windows2012-64/opt
+        symbol: tc(N)
+        tier: 1
+    worker-type: aws-provisioner-v1/gecko-{level}-b-win2012
+    worker:
+        max-run-time: 7200
+        env:
+            TOOLTOOL_MANIFEST: "comm/mail/config/tooltool-manifests/win64/releng.manifest"
+    run:
+        using: mozharness
+        comm-checkout: true
+        actions: [build, check-test, update]
+        options: [append-env-variables-from-configs]
+        script: mozharness/scripts/fx_desktop_build.py
+        config-paths:
+            - comm/mozharness
+        config:
+            - builds/taskcluster_base_thunderbird.py
+            - builds/taskcluster_base_windows.py
+            - builds/taskcluster_base_win64.py
+            - builds/taskcluster_sub_win64/opt.py
+            - disable_signing.py
+            - taskcluster_nightly.py
+    toolchains:
+        - win64-clang-cl
+        - win64-rust
+
 win64/debug:
     description: "Win64 Debug"
     index:
         product: thunderbird
         job-name: win64-debug
     treeherder:
         platform: windows2012-64/debug
         symbol: tc(B)
--- a/taskcluster/ci/test/test-platforms.yml
+++ b/taskcluster/ci/test/test-platforms.yml
@@ -14,58 +14,83 @@
 
 # Linux platforms (matching /linux.*/)
 
 linux64/opt:
     build-platform: linux64/opt
     test-sets:
         - common-tests
 
+linux64-nightly/opt:
+    build-platform: linux64-nightly/opt
+    test-sets:
+        - common-tests
+
 linux64/debug:
     build-platform: linux64/debug
     test-sets:
         - common-tests
 
 linux32/opt:
     build-platform: linux/opt
     test-sets:
         - common-tests
 
+linux32-nightly/opt:
+    build-platform: linux-nightly/opt
+    test-sets:
+        - common-tests
+
 linux32/debug:
     build-platform: linux/debug
     test-sets:
         - common-tests
 
 # Windows platforms (matching /windows.*/)
 
 # win32
 windows7-32/opt:
     build-platform: win32/opt
     test-sets:
         - common-tests
 
+windows7-32-nightly/opt:
+    build-platform: win32-nightly/opt
+    test-sets:
+        - common-tests
+
 windows7-32/debug:
     build-platform: win32/debug
     test-sets:
         - common-tests
 
 # win64
 windows10-64/opt:
     build-platform: win64/opt
     test-sets:
         - common-tests
 
+windows10-64-nightly/opt:
+    build-platform: win64-nightly/opt
+    test-sets:
+        - common-tests
+
 windows10-64/debug:
     build-platform: win64/debug
     test-sets:
         - common-tests
 
 # MacOS X platforms (matching /macosx.*/)
 
 macosx64/debug:
     build-platform: macosx64/debug
     test-sets:
         - common-tests
 
 macosx64/opt:
     build-platform: macosx64/opt
     test-sets:
         - common-tests
+
+macosx64-nightly/opt:
+    build-platform: macosx64-nightly/opt
+    test-sets:
+        - common-tests