Bug 1387135 - Tag all tasks with their kind, r?dustin draft
authorAndrew Halberstadt <ahalberstadt@mozilla.com>
Wed, 16 Aug 2017 15:52:18 -0400
changeset 647701 0a8f9ebef3ddae842e04cc91917d1064a4029a14
parent 647697 8de61b0bb505726014c29307c5b92d5d266d5232
child 647702 da7e2570428f0864473835bae943ef742524c2fe
push id74516
push userahalberstadt@mozilla.com
push dateWed, 16 Aug 2017 20:28:50 +0000
reviewersdustin
bugs1387135
milestone57.0a1
Bug 1387135 - Tag all tasks with their kind, r?dustin MozReview-Commit-ID: DqMKNbSmgj3
taskcluster/taskgraph/transforms/task.py
--- a/taskcluster/taskgraph/transforms/task.py
+++ b/taskcluster/taskgraph/transforms/task.py
@@ -1002,17 +1002,20 @@ def build_task(config, tasks):
             routes.append('coalesce.v1.' + key)
 
         if 'priority' not in task:
             task['priority'] = BRANCH_PRIORITIES.get(
                 config.params['project'],
                 DEFAULT_BRANCH_PRIORITY)
 
         tags = task.get('tags', {})
-        tags.update({'createdForUser': config.params['owner']})
+        tags.update({
+            'createdForUser': config.params['owner'],
+            'kind': config.kind,
+        })
 
         task_def = {
             'provisionerId': provisioner_id,
             'workerType': worker_type,
             'routes': routes,
             'created': {'relative-datestamp': '0 seconds'},
             'deadline': {'relative-datestamp': task['deadline-after']},
             'expires': {'relative-datestamp': task['expires-after']},