Bug 1415868 - include in-tree:hook-action:..{level}-* in decision task scopes; r=jonasfj,tomprince
authorDustin J. Mitchell <dustin@mozilla.com>
Wed, 25 Apr 2018 21:41:54 +0000
changeset 419193 4cbd35f872893c1426a7845f990d860a32c08710
parent 419192 a891a10ca4d9258a2fe6298f70aa2960edf614c5
child 419194 e2931d9049750c5a9da8caca77d4da65d085ef7b
push id34031
push usernbeleuzu@mozilla.com
push dateTue, 22 May 2018 09:47:31 +0000
treeherdermozilla-central@ac1c5c363e29 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjonasfj, tomprince
bugs1415868
milestone62.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 1415868 - include in-tree:hook-action:..{level}-* in decision task scopes; r=jonasfj,tomprince The inclusion of this scope limits the actions initiated within this decision task's task group. MozReview-Commit-ID: E5gP9UR3pdu
.taskcluster.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -72,19 +72,21 @@ tasks:
               - "index.gecko.v2.${repository.project}.latest.taskgraph.decision-${cron.job_name}"
               - "index.gecko.v2.${repository.project}.latest.firefox.decision-${cron.job_name}"
 
       scopes:
         $if: 'tasks_for == "hg-push"'
         then:
           - 'assume:repo:${repoUrl[8:]}:branch:default'
           - 'queue:route:notify.email.${ownerEmail}.*'
+          - 'in-tree:hook-action:project-gecko/in-tree-action-${repository.level}-*'
         else:
           $if: 'tasks_for == "action"'
           then:
+            # when all actions are hooks, we can calculate this directly rather than using a variable
             - '${action.repo_scope}'
           else:
             - 'assume:repo:${repoUrl[8:]}:cron:${cron.job_name}'
 
       dependencies: []
       requires: all-completed
 
       priority: lowest