Bug 1510519 - Port Bug 1482395: Move the WNP rules in-tree. rs=bustage-fix
authorRob Lemley <rob@thunderbird.net>
Wed, 28 Nov 2018 01:54:03 -0500
changeset 33791 b682f20af95a900492a0ac707000e93a86a537f3
parent 33790 ebdff9e200098f7232a184f28fe9e34434941e66
child 33792 9a840a138dbef9bb952620f827c1c9f36ee19246
push id388
push userclokep@gmail.com
push dateMon, 28 Jan 2019 20:54:56 +0000
reviewersbustage-fix
bugs1510519, 1482395
Bug 1510519 - Port Bug 1482395: Move the WNP rules in-tree. rs=bustage-fix
mail/config/whats_new_page.yml
taskcluster/ci/balrog/kind.yml
taskcluster/ci/release-balrog-submit-toplevel/kind.yml
new file mode 100644
--- /dev/null
+++ b/mail/config/whats_new_page.yml
@@ -0,0 +1,57 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+---
+- type: product-details
+  # %LOCALE% is automatically replaced by Balrog.
+  url: "https://www.thunderbird.net/%LOCALE%/{product}/{version}/releasenotes/"
+- type: show-url
+  # yamllint disable-line rule:line-length
+  url: "https://www.thunderbird.net/%LOCALE%/{product}/{version}/whatsnew/?oldversion=%OLD_VERSION%"
+  conditions:
+      blob-types: [wnp]
+      release-types: [release, release-rc]
+      products: [thunderbird]
+      update-channel: release
+      # e.g.: ["<61.0"]. {version.major_number} reflects the current version.
+      # This is done by taskgraph.
+      versions: ["<{version.major_number}.0"]
+      locales:
+          - az
+          - be
+          - cak
+          - cy
+          - da
+          - de
+          - dsb
+          - en-CA
+          - en-GB
+          - en-US
+          - es-AR
+          - et
+          - fr
+          - hi-IN
+          - hsb
+          - hu
+          - ia
+          - id
+          - it
+          - ka
+          - lij
+          - lt
+          - ms
+          - nb-NO
+          - nl
+          - pl
+          - pt-PT
+          - ro
+          - ru
+          - sk
+          - sl
+          - sq
+          - sv-SE
+          - th
+          - tr
+          - zh-CN
+          - zh-TW
--- a/taskcluster/ci/balrog/kind.yml
+++ b/taskcluster/ci/balrog/kind.yml
@@ -12,8 +12,14 @@ transforms:
 
 kind-dependencies:
     - beetmover-l10n
     - beetmover-repackage
 
 only-for-attributes:
     - nightly
     - signed
+
+job-template:
+    update-no-wnp:
+        by-release-type:
+            nightly: false
+            default: true
--- a/taskcluster/ci/release-balrog-submit-toplevel/kind.yml
+++ b/taskcluster/ci/release-balrog-submit-toplevel/kind.yml
@@ -3,16 +3,17 @@
 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
 loader: taskgraph.loader.transform:loader
 
 transforms:
     - taskgraph.transforms.release:run_on_releases
     - taskgraph.transforms.release_deps:transforms
     - taskgraph.transforms.scriptworker:add_balrog_scopes
+    - taskgraph.transforms.balrog_toplevel:transforms
     - taskgraph.transforms.task:transforms
 
 job-defaults:
     run-on-projects: []  # to make sure this never runs in CI
     shipping-phase: promote
     worker:
         implementation: balrog
         balrog-action: submit-toplevel
@@ -20,16 +21,17 @@ job-defaults:
         archive-domain:
             by-release-level:
                 production: archive.mozilla.org
                 staging: ftp.stage.mozaws.net
         download-domain:
             by-release-level:
                 production: download.mozilla.org
                 staging: bouncer-bouncer-releng.stage.mozaws.net
+    whats-new-config: comm/mail/config/whats_new_page.yml
 
 jobs:
     thunderbird:
         name: submit-toplevel-thunderbird-release-to-balrog
         description: Submit toplevel Thunderbird release to balrog
         shipping-product: thunderbird
         worker:
             product: thunderbird