Bug 1415868 - change ACTION_TASK_GROUP_ID to be the taskGroupId of the target task; r?aki draft
authorDustin J. Mitchell <dustin@mozilla.com>
Fri, 18 May 2018 22:16:43 +0000
changeset 797832 03fd49fbf6d1d117e98ffbb2e95303917a45294c
parent 797831 f09a71f2b27affb6f5c22d1bcde36a387c7dfae7
push id110591
push userdmitchell@mozilla.com
push dateMon, 21 May 2018 19:46:43 +0000
reviewersaki
bugs1415868
milestone62.0a1
Bug 1415868 - change ACTION_TASK_GROUP_ID to be the taskGroupId of the target task; r?aki MozReview-Commit-ID: 8Hkga4MmmtG
.taskcluster.yml
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -101,18 +101,18 @@ tasks:
               GECKO_HEAD_REPOSITORY: '${repoUrl}'
               GECKO_HEAD_REF: '${push.revision}'
               GECKO_HEAD_REV: '${push.revision}'
               GECKO_COMMIT_MSG: {$if: 'tasks_for != "action"', then: '${push.comment}'}
               HG_STORE_PATH: /builds/worker/checkouts/hg-store
               TASKCLUSTER_CACHES: /builds/worker/checkouts
             - $if: 'tasks_for == "action"'
               then:
-                ACTION_TASK_GROUP_ID: '${ownTaskId}'
-                ACTION_TASK_ID: {$json: {$eval: 'taskId'}}
+                ACTION_TASK_GROUP_ID: '${taskGroupId}'     # taskGroupId of the target task
+                ACTION_TASK_ID: {$json: {$eval: 'taskId'}} # taskId of the target task (JSON-encoded)
                 ACTION_INPUT: {$json: {$eval: 'input'}}
                 ACTION_CALLBACK: '${action.cb_name}'
                 ACTION_PARAMETERS: {$json: {$eval: 'parameters'}}
 
         cache:
           level-${repository.level}-checkouts-sparse-v2: /builds/worker/checkouts
 
         features: