Bug 1381577 - Sign windows l10n repacks. r=kmoir draft
authorJustin Wood <Callek@gmail.com>
Tue, 18 Jul 2017 14:39:55 -0400
changeset 611737 e2119d9036e69983bc989e78401329a6dc98db58
parent 611736 6dbe6b8a05640930a5ba1103b89898ae3e7a9e64
child 611738 1efbc052fef642baa75037e16c70e81f581ba854
push id69287
push userCallek@gmail.com
push dateThu, 20 Jul 2017 01:11:37 +0000
reviewerskmoir
bugs1381577
milestone56.0a1
Bug 1381577 - Sign windows l10n repacks. r=kmoir Land date changes to support windows nightlies onto central MozReview-Commit-ID: ICgAujVGR9G
taskcluster/ci/beetmover-l10n/kind.yml
taskcluster/ci/nightly-l10n-signing/kind.yml
taskcluster/taskgraph/transforms/nightly_l10n_signing.py
--- a/taskcluster/ci/beetmover-l10n/kind.yml
+++ b/taskcluster/ci/beetmover-l10n/kind.yml
@@ -12,8 +12,10 @@ transforms:
 kind-dependencies:
   - nightly-l10n-signing
 
 only-for-attributes:
   - nightly
 
 not-for-build-platforms:
    - macosx64-nightly/opt
+   - win32-nightly/opt
+   - win64-nightly/opt
--- a/taskcluster/ci/nightly-l10n-signing/kind.yml
+++ b/taskcluster/ci/nightly-l10n-signing/kind.yml
@@ -9,12 +9,8 @@ transforms:
    - taskgraph.transforms.signing:transforms
    - taskgraph.transforms.task:transforms
 
 kind-dependencies:
   - nightly-l10n
 
 only-for-attributes:
   - nightly
-
-not-for-build-platforms:
-   - win32-nightly/opt
-   - win64-nightly/opt
--- a/taskcluster/taskgraph/transforms/nightly_l10n_signing.py
+++ b/taskcluster/taskgraph/transforms/nightly_l10n_signing.py
@@ -31,16 +31,37 @@ def make_signing_description(config, job
             ]
         elif 'macosx' in dep_platform:
             job_specs = [
                 {
                     'artifacts': ['public/build/{locale}/target.dmg'],
                     'format': 'macapp',
                 }
             ]
+        elif 'win32' in dep_platform:
+            job_specs = [
+                {
+                    'artifacts': [
+                        'public/build/{locale}/target.zip',
+                        'public/build/{locale}/setup.exe',
+                        'public/build/{locale}/setup-stub.exe'
+                    ],
+                    'format': 'sha2signcode',
+                }
+            ]
+        elif 'win64' in dep_platform:
+            job_specs = [
+                {
+                    'artifacts': [
+                        'public/build/{locale}/target.zip',
+                        'public/build/{locale}/setup.exe',
+                    ],
+                    'format': 'sha2signcode',
+                }
+            ]
         elif 'linux' in dep_platform:
             job_specs = [
                 {
                     'artifacts': ['public/build/{locale}/target.tar.bz2'],
                     'format': 'gpg',
                 }, {
                     'artifacts': ['public/build/{locale}/target.complete.mar'],
                     'format': 'mar',