bug 1423081 - desktop uptake monitoring support. r=callek
authorAki Sasaki <asasaki@mozilla.com>
Tue, 05 Dec 2017 19:41:46 -0800
changeset 396375 64bc707ca4bac5ba947e805a17d2d8a99410a423
parent 396374 f477a33ac4630b6511cafa2932d62f4ecee0bbfc
child 396376 bab4575b91e459dd0015fb666ce7fa9453a5209b
push id56975
push userdluca@mozilla.com
push dateThu, 14 Dec 2017 09:59:07 +0000
treeherderautoland@16bcfaad13e1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerscallek
bugs1423081
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 1423081 - desktop uptake monitoring support. r=callek MozReview-Commit-ID: 8j69rHZ2Huk
taskcluster/ci/release-uptake-monitoring/kind.yml
--- a/taskcluster/ci/release-uptake-monitoring/kind.yml
+++ b/taskcluster/ci/release-uptake-monitoring/kind.yml
@@ -8,64 +8,110 @@ transforms:
    - taskgraph.transforms.release_deps:transforms
    - taskgraph.transforms.job:transforms
    - taskgraph.transforms.task:transforms
 
 kind-dependencies:
    - beetmover-cdns
 
 job-defaults:
-   shipping-phase: publish
+   description: Uptake monitoring job
+   worker-type: buildbot-bridge/buildbot-bridge
+   run-on-projects: []
+   shipping-phase: push
+   index:
+      type: release
+   run:
+      using: buildbot
+      release-promotion: true
+   worker:
+      properties:
+         tuxedo_server_url:
+            by-project:
+               mozilla-beta: https://bounceradmin.mozilla.com/api
+               mozilla-release: https://bounceradmin.mozilla.com/api
+               maple: https://admin-bouncer-releng.stage.mozaws.net/api
+               default: http://localhost/api
+   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"
+         plugins:
+            by-project:
+               mozilla-beta: ["log_collect"]
+               mozilla-release: ["log_collect"]
+               default: []
+
+      failed:
+         subject: "FAILED: [{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]}] {task_def[metadata][name]} task"
+         message: "FAILED: [{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]}] {task_def[metadata][name]} task"
+         plugins:
+            by-project:
+               mozilla-beta: ["log_collect", "ses"]
+               mozilla-release: ["log_collect", "ses"]
+               default: ["ses"]
+         emails:
+            by-project:
+               mozilla-beta: ["release-automation-notifications@mozilla.com"]
+               mozilla-release: ["release-automation-notifications@mozilla.com"]
+               try: ["{task_def[metadata][owner]}"]
+               maple: ["release+tcstaging@mozilla.com"]
+               default: []
+
+      exception:
+         subject: "EXCEPTION: [{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]}] {task_def[metadata][name]} task"
+         message: "EXCEPTION: [{task[shipping-product]} {release_config[version]} build{release_config[build_number]}/{config[params][project]}] {task_def[metadata][name]} task"
+         plugins:
+            by-project:
+               mozilla-beta: ["log_collect", "ses"]
+               mozilla-release: ["log_collect", "ses"]
+               default: ["ses"]
+         emails:
+            by-project:
+               mozilla-beta: ["release-automation-notifications@mozilla.com"]
+               mozilla-release: ["release-automation-notifications@mozilla.com"]
+               try: ["{task_def[metadata][owner]}"]
+               maple: ["release+tcstaging@mozilla.com"]
+               default: []
 
 jobs:
    fennec:
       name: fennec_release_uptake_monitoring
-      description: Uptake monitoring job
-      worker-type: buildbot-bridge/buildbot-bridge
-      run-on-projects: []
       shipping-product: fennec
       run:
-         using: buildbot
          product: fennec
          buildername: release-{branch}-fennec_uptake_monitoring
-         release-promotion: true
       worker:
          properties:
-            # TODO: Calculate "platforms" dynamically
             platforms: "android-api-16, android-x86"
-            tuxedo_server_url:
-               by-project:
-                  mozilla-beta: https://bounceradmin.mozilla.com/api
-                  mozilla-release: https://bounceradmin.mozilla.com/api
-                  maple: https://admin-bouncer-releng.stage.mozaws.net/api/
-                  default: http://localhost/api
       routes:
          - index.releases.v1.{branch}.latest.fennec.latest.uptake_monitoring
          - index.releases.v1.{branch}.{revision}.fennec.{underscore_version}.build{build_number}.uptake_monitoring
       index:
-         type: release
          product: fennec
-         job-name: android-api-16-opt
-      notifications:
-         completed:
-            by-project:
-               maple:
-                  - "release-drivers-staging"
-               try:
-               #  - "{task[tags][createdForUser]}"
-               default:
-                  - "release-drivers"
-         failed:
-            by-project:
-               maple:
-                  - "release-drivers-staging"
-               try:
-               #  - "{task[tags][createdForUser]}"
-               default:
-                  - "release-drivers"
-         exception:
-            by-project:
-               maple:
-                  - "release-drivers-staging"
-               try:
-               #  - "{task[tags][createdForUser]}"
-               default:
-                  - "release-drivers"
+   firefox:
+      name: firefox_release_uptake_monitoring
+      shipping-product: firefox
+      run:
+         product: firefox
+         buildername: release-{branch}-firefox_uptake_monitoring
+      worker:
+         properties:
+            platforms: "linux, linux64, win32, win64, macosx64"
+      routes:
+         - index.releases.v1.{branch}.latest.firefox.latest.uptake_monitoring
+         - index.releases.v1.{branch}.{revision}.firefox.{underscore_version}.build{build_number}.uptake_monitoring
+      index:
+         product: firefox
+   devedition:
+      name: devedition_release_uptake_monitoring
+      shipping-product: devedition
+      run:
+         product: devedition
+         buildername: release-{branch}-devedition_uptake_monitoring
+      worker:
+         properties:
+            platforms: "linux, linux64, win32, win64, macosx64"
+      routes:
+         - index.releases.v1.{branch}.latest.devedition.latest.uptake_monitoring
+         - index.releases.v1.{branch}.{revision}.devedition.{underscore_version}.build{build_number}.uptake_monitoring
+      index:
+         product: devedition