Name Description Size
__init__.py 0
attributes.py Determine whether the given project is included in the `run-on-projects` parameter, applying expansions for things like "integration" mentioned in the attribute documentation. 4180
backstop.py Determines whether the given parameters represent a backstop push. Args: push_interval (int): Number of pushes time_interval (int): Minutes between forced schedules. Use 0 to disable. trust_domain (str): "gecko" for Firefox, "comm" for Thunderbird integration_projects (set): project that uses backstop optimization Returns: bool: True if this is a backstop, otherwise False. 3367
bugbug.py 3229
cached_tasks.py Allow the results of this task to be cached. This adds index routes to the task so it can be looked up for future runs, and optimization hints so that cached artifacts can be found. Exactly one of `digest` and `digest_data` must be passed. :param TransformConfig config: The configuration for the kind being transformed. :param dict taskdesc: The description of the current task. :param str cache_type: The type of task result being cached. :param str cache_name: The name of the object being cached. :param digest: A unique string indentifying this version of the artifacts being generated. Typically this will be the hash of inputs to the task. :type digest: bytes or None :param digest_data: A list of bytes representing the inputs of this task. They will be concatenated and hashed to create the digest for this task. :type digest_data: list of bytes or None 3188
chunking.py Utility functions to handle test chunking. 13142
declarative_artifacts.py 3474
dependencies.py Return True if we should skip this task based on `only_` or `not_` config. 5579
docker.py POSTs a tar file to a given docker API path. The tar argument can be anything that can be passed to requests.post() as data (e.g. iterator or file object). The extra keyword arguments are passed as arguments to the docker API. 11571
hash.py Hash a single file. Returns the SHA-256 hash in hex form. 1949
hg.py Given the parameters for this action and a revision, find the pushlog_id of the revision. 4201
partials.py Convert build platform names into balrog platform names. Remove known values instead to catch aarch64 and other platforms that may be added. 11098
partners.py LOGIN_QUERY, MANIFEST_QUERY, and REPACK_CFG_QUERY are all written to the Github v4 API, which users GraphQL. See https://developer.github.com/v4/ 19545
perfile.py 3357
perftest.py 512
platforms.py Given a build platform, return the platform family (linux, macosx, etc.) 1738
scriptworker.py Make scriptworker.cot.verify more user friendly by making scopes dynamic. Scriptworker uses certain scopes to determine which sets of credentials to use. Certain scopes are restricted by branch in chain of trust verification, and are checked again at the script level. This file provides functions to adjust these scopes automatically by project; this makes pushing to try, forking a project branch, and merge day uplifts more user friendly. In the future, we may adjust scopes by other settings as well, e.g. different scopes for `push-to-candidates` rather than `push-to-releases`, even if both happen on mozilla-beta and mozilla-release. Additional configuration is found in the :ref:`graph config <taskgraph-graph-config>`. 30170
signed_artifacts.py Defines artifacts to sign before repackage. 6732
taskcluster.py Gets the status of a task given a task_id. In testing mode, just logs that it would have retrieved status. Args: task_id (str): A task id. use_proxy (bool): Whether to use taskcluster-proxy (default: False) Returns: dict: A dictionary object as defined here: https://docs.taskcluster.net/docs/reference/platform/queue/api#status 3992
taskgraph.py Tools for interacting with existing taskgraphs. 1691
verify.py Projects that make use of Firefox's taskgraph can extend it with their own task kinds by registering additional paths for documentation. documentation_paths.add() needs to be called by the project's Taskgraph registration function. See taskgraph.config. 17428
workertypes.py Get the configuration for this worker_type alias: {provisioner, worker-type, implementation, os} 3506