diff options
Diffstat (limited to 'taskcluster/taskgraph/__init__.py')
-rw-r--r-- | taskcluster/taskgraph/__init__.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/taskcluster/taskgraph/__init__.py b/taskcluster/taskgraph/__init__.py new file mode 100644 index 0000000000..57040d7fab --- /dev/null +++ b/taskcluster/taskgraph/__init__.py @@ -0,0 +1,20 @@ +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. + +from __future__ import absolute_import, print_function, unicode_literals + +import os + +GECKO = os.path.normpath(os.path.realpath(os.path.join(__file__, "..", "..", ".."))) + +# Maximum number of dependencies a single task can have +# https://firefox-ci-tc.services.mozilla.com/docs/reference/platform/queue/task-schema +# specifies 100, but we also optionally add the decision task id as a dep in +# taskgraph.create, so let's set this to 99. +MAX_DEPENDENCIES = 99 + +# Enable fast task generation for local debugging +# This is normally switched on via the --fast/-F flag to `mach taskgraph` +# Currently this skips toolchain task optimizations and schema validation +fast = False |