Skip to content

Instantly share code, notes, and snippets.

@nthomas-mozilla
Created August 26, 2020 23:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nthomas-mozilla/4478ebc1651bbb5afc015666399c4629 to your computer and use it in GitHub Desktop.
Save nthomas-mozilla/4478ebc1651bbb5afc015666399c4629 to your computer and use it in GitHub Desktop.
diff --git a/taskcluster/taskgraph/generator.py b/taskcluster/taskgraph/generator.py
--- a/taskcluster/taskgraph/generator.py
+++ b/taskcluster/taskgraph/generator.py
@@ -218,16 +218,19 @@ class TaskGraphGenerator(object):
The configuration for this graph.
@type: TaskGraph
"""
return self._run_until('graph_config')
def _load_kinds(self, graph_config):
for kind_name in os.listdir(self.root_dir):
+ if kind_name in ('test', 'visual-metrics-dep'):
+ logger.info('Skipping kind {} for speed'.format(kind_name))
+ continue
try:
yield Kind.load(self.root_dir, graph_config, kind_name)
except KindNotFound:
continue
def _run(self):
logger.info("Loading graph configuration.")
graph_config = load_graph_config(self.root_dir)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment