Bug 1415868 - include in-tree:hook-action:..{level}-* in decision task scopes; r?jonasfj,tomprince draft
authorDustin J. Mitchell <dustin@mozilla.com>
Wed, 25 Apr 2018 21:41:54 +0000
changeset 797332 1ebe5befd1964018d1ec46c6e7c28a1bb84e5da4
parent 797331 a4939c981528de4337173dfb4cfa0c0ca7128f6c
child 797333 ade1e2baac19624de16e89085c94070f85b7e2e3
child 797831 f09a71f2b27affb6f5c22d1bcde36a387c7dfae7
push id110465
push userdmitchell@mozilla.com
push dateFri, 18 May 2018 22:17:50 +0000
reviewersjonasfj, tomprince
bugs1415868
milestone62.0a1
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