Bug 1432219 - fix build_attributes for checksums.
authorMihai Tabara <mtabara@mozilla.com>
Mon, 19 Feb 2018 14:32:51 +0000
changeset 403959 2877cb2e70ed46aa154c329a93911b7ab40903b1
parent 403958 4ff02fa1033ebecde5ec5c0ea6dcc6539e73181a
child 405040 f0d4ade9098aaf5dddc6715851b8c8cbcf690c62
push id457
push usermtabara@mozilla.com
push dateMon, 19 Feb 2018 14:33:58 +0000
bugs1432219
milestone60.0a1
Bug 1432219 - fix build_attributes for checksums. MozReview-Commit-ID: LY1rVii9XSC
taskcluster/ci/release-generate-checksums/kind.yml
taskcluster/taskgraph/transforms/checksums.py
taskcluster/taskgraph/transforms/release_generate_checksums.py
--- a/taskcluster/ci/release-generate-checksums/kind.yml
+++ b/taskcluster/ci/release-generate-checksums/kind.yml
@@ -6,17 +6,17 @@ loader: taskgraph.loader.transform:loade
 
 kind-dependencies:
    - beetmover-source
    - post-beetmover-checksums-dummy
 
 transforms:
    - taskgraph.transforms.build:transforms
    - taskgraph.transforms.release_deps:transforms
-   - taskgraph.transforms.checksums:transforms
+   - taskgraph.transforms.release_generate_checksums:transforms
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms
 
 job-defaults:
    name: generate-checksums
    description: generates checksums
    run-on-projects: []  # to make sure this never runs as part of CI
    shipping-phase: promote
@@ -43,19 +43,16 @@ job-defaults:
          - "version={version}"
          - "build-number={build_number}"
       script: "mozharness/scripts/release/generate-checksums.py"
    index:
       type: release
    routes:
       - index.releases.v1.{branch}.latest.{product}.latest.checksums
       - index.releases.v1.{branch}.{revision}.{product}.{underscore_version}.build{build_number}.checksums
-   attributes:
-      build_platform: linux64
-      build_type: opt
    treeherder:
       symbol: Rel(GenChcks)
       kind: test
       tier: 1
    notifications:
       completed:
          subject: "COMPLETED: [{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]}] {task_def[metadata][name]} task"
          message: "COMPLETED: [{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]}] {task_def[metadata][name]} task"
@@ -95,16 +92,19 @@ job-defaults:
                mozilla-release: ["release-automation-notifications@mozilla.com"]
                try: ["{task_def[metadata][owner]}"]
                maple: ["release+tcstaging@mozilla.com"]
                default: []
 
 jobs:
    firefox:
       shipping-product: firefox
+      attributes:
+         build_platform: linux64
+         build_type: opt
       index:
          product: firefox
       run:
          config:
             by-project:
                mozilla-release:
                   - releases/checksums_firefox.py
                mozilla-beta:
@@ -113,16 +113,19 @@ jobs:
                   - releases/dev_checksums_firefox.py
                default:
                   - releases/dev_checksums_firefox.py
       treeherder:
          platform: linux64/opt
 
    fennec:
       shipping-product: fennec
+      attributes:
+         build_platform: android-nightly
+         build_type: opt
       index:
          product: fennec
       run:
          config:
             by-project:
                mozilla-release:
                   - releases/checksums_fennec.py
                mozilla-beta:
@@ -131,16 +134,19 @@ jobs:
                   - releases/dev_checksums_fennec.py
                default:
                   - releases/dev_checksums_fennec.py
       treeherder:
          platform: Android/opt
 
    devedition:
       shipping-product: devedition
+      attributes:
+         build_platform: linux64-devedition
+         build_type: opt
       index:
          product: devedition
       run:
          config:
             by-project:
                mozilla-release:
                   - releases/checksums_devedition.py
                mozilla-beta:
rename from taskcluster/taskgraph/transforms/checksums.py
rename to taskcluster/taskgraph/transforms/release_generate_checksums.py