Bug 1469610 - fix arguments in action input within release runner3. r=aki
authorMihai Tabara <mtabara@mozilla.com>
Tue, 19 Jun 2018 19:44:24 +0300
changeset 8426 50b6a03f2965
parent 8425 316bb57741ab
child 8427 8747ad06b2d7
push id6153
push usermtabara@mozilla.com
push date2018-06-19 16:48 +0000
reviewersaki
bugs1469610
Bug 1469610 - fix arguments in action input within release runner3. r=aki
lib/python/kickoff/actions.py
--- a/lib/python/kickoff/actions.py
+++ b/lib/python/kickoff/actions.py
@@ -39,16 +39,17 @@ def generate_action_task(decision_task_i
     relpro = find_action("release-promotion", actions)
     context = copy.deepcopy(actions["variables"])  # parameters
     action_task_id = slugid.nice()
     context.update({
         "input": action_task_input,
         "ownTaskId": action_task_id,
         "taskId": None,
         "task": None,
+        "taskGroupId": action_task_id,
     })
     action_task = jsone.render(relpro["task"], context)
     # override ACTION_TASK_GROUP_ID, so we know the new ID in advance
     action_task["payload"]["env"]["ACTION_TASK_GROUP_ID"] = action_task_id
     return action_task_id, action_task
 
 
 def submit_action_task(queue, action_task_id, action_task):