Bug 1421062: [release] Update secondary balrog tasks to get scopes based on project; r=aki
authorTom Prince <mozilla@hocat.ca>
Fri, 04 May 2018 12:33:58 -0600
changeset 473134 6ca277616782b019a0d5fd94f7f5c11bda17b7ef
parent 473133 a585d77f897ff1c669a426cd70f1deb6278ae56e
child 473135 17c0ea4c79e320f5abded71b849dff2bfbb408df
push id1728
push userjlund@mozilla.com
push dateMon, 18 Jun 2018 21:12:27 +0000
treeherdermozilla-release@c296fde26f5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaki
bugs1421062
milestone61.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 1421062: [release] Update secondary balrog tasks to get scopes based on project; r=aki This is a follow up to 9c941daebe9fb3e79066ee4def16ed5ce0eb10a9 Differential Revision: https://phabricator.services.mozilla.com/D1140
taskcluster/ci/release-secondary-balrog-scheduling/kind.yml
taskcluster/ci/release-secondary-balrog-submit-toplevel/kind.yml
--- a/taskcluster/ci/release-secondary-balrog-scheduling/kind.yml
+++ b/taskcluster/ci/release-secondary-balrog-scheduling/kind.yml
@@ -1,32 +1,25 @@
 # 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/.
 
 loader: taskgraph.loader.transform:loader
 
 transforms:
    - taskgraph.transforms.release_deps:transforms
-   - taskgraph.transforms.worker_type:transforms
+   - taskgraph.transforms.scriptworker:add_balrog_scopes
    - taskgraph.transforms.task:transforms
 
 kind-dependencies:
    - post-balrog-dummy
    - post-beetmover-dummy
    - release-secondary-balrog-submit-toplevel
 
 job-defaults:
-   worker-type:
-      by-project:
-         maple: scriptworker-prov-v1/balrog-dev
-         birch: scriptworker-prov-v1/balrog-dev
-         mozilla-beta: scriptworker-prov-v1/balrogworker-v1
-         mozilla-release: scriptworker-prov-v1/balrogworker-v1
-         default: invalid/invalid
    run-on-projects: []
    shipping-phase: ship
    worker:
       implementation: balrog
       balrog-action: schedule
 
 jobs:
    firefox-secondary-rc:
--- a/taskcluster/ci/release-secondary-balrog-submit-toplevel/kind.yml
+++ b/taskcluster/ci/release-secondary-balrog-submit-toplevel/kind.yml
@@ -1,29 +1,22 @@
 # 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/.
 
 loader: taskgraph.loader.transform:loader
 
 transforms:
    - taskgraph.transforms.release_deps:transforms
-   - taskgraph.transforms.worker_type:transforms
+   - taskgraph.transforms.scriptworker:add_balrog_scopes
    - taskgraph.transforms.task:transforms
 
 job-defaults:
    run-on-projects: []  # to make sure this never runs in CI
    shipping-phase: promote
-   worker-type:
-      by-project:
-         maple: scriptworker-prov-v1/balrog-dev
-         birch: scriptworker-prov-v1/balrog-dev
-         mozilla-beta: scriptworker-prov-v1/balrogworker-v1
-         mozilla-release: scriptworker-prov-v1/balrogworker-v1
-         default: invalid/invalid
    worker:
       implementation: balrog
       balrog-action: submit-toplevel
       require-mirrors: false
       platforms: ["linux", "linux64", "macosx64", "win32", "win64"]
 
 jobs:
    firefox: