Bug 1472338: part 2) Change `clipboard.readText()` to read from the clipboard asynchr...
[gecko.git] / taskcluster / gecko_taskgraph / __init__.py
blob27d08390237605f3c02719dc0c7d56f7962f2201
1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 import os
8 GECKO = os.path.normpath(os.path.realpath(os.path.join(__file__, "..", "..", "..")))
10 # Maximum number of dependencies a single task can have
11 # https://firefox-ci-tc.services.mozilla.com/docs/reference/platform/queue/task-schema
12 # specifies 100, but we also optionally add the decision task id as a dep in
13 # taskgraph.create, so let's set this to 99.
14 MAX_DEPENDENCIES = 99
16 # Enable fast task generation for local debugging
17 # This is normally switched on via the --fast/-F flag to `mach taskgraph`
18 # Currently this skips toolchain task optimizations and schema validation
19 fast = False
22 def register(graph_config):
23 """Used to register Gecko specific extensions.
25 Args:
26 graph_config: The graph configuration object.
27 """
28 from gecko_taskgraph.parameters import register_parameters
30 register_parameters()