Backout ed51ab1cf68b and cb7877246369 (bug 1424254): don't adjust build-signing priority. BETA_BASE_20180122
authorTom Prince <mozilla@hocat.ca>
Sun, 21 Jan 2018 15:11:54 -0700
changeset 30046 1f4e1c314fac5e97f4efa989e2731104d5e144a7
parent 30045 ec9afb3329ab60924e34b4c0460b594d1a5f8474
child 30047 2bb1ca20b0d02b28c5dac0444655fc5c76c564b6
push id2108
push userclokep@gmail.com
push dateMon, 22 Jan 2018 17:53:55 +0000
treeherdercomm-beta@c44930d8ad9b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1424254
backs outed51ab1cf68b41dd39f91b37724e880dfa4fe85f
Backout ed51ab1cf68b and cb7877246369 (bug 1424254): don't adjust build-signing priority.
taskcluster/ci/build-signing/kind.yml
taskcluster/comm_taskgraph/__init__.py
--- a/taskcluster/ci/build-signing/kind.yml
+++ b/taskcluster/ci/build-signing/kind.yml
@@ -4,12 +4,11 @@
 
 loader: taskgraph.loader.build_signing:loader
 
 transforms:
     - taskgraph.transforms.name_sanity:transforms
     - taskgraph.transforms.build_signing:transforms
     - taskgraph.transforms.signing:transforms
     - taskgraph.transforms.task:transforms
-    - comm_taskgraph:low_priority
 
 kind-dependencies:
     - build
--- a/taskcluster/comm_taskgraph/__init__.py
+++ b/taskcluster/comm_taskgraph/__init__.py
@@ -37,17 +37,8 @@ def reference_loader(kind, path, config,
     loader = _get_loader(sub_path, sub_config)
     inputs = loader(kind, sub_path, sub_config, params, loaded_tasks)
 
     jobs = set(config.pop('jobs'))
 
     config.update(sub_config)
 
     return (job for job in inputs if (_get_aliases(kind, job) & jobs))
-
-
-def low_priority(kind, tasks):
-    """
-    Override the priorty of a task to be `low`.
-    """
-    for task in tasks:
-        task['task']['priority'] = 'low'
-        yield task