How to use the taskgraph.target_tasks.standard_filter function in taskgraph

To help you get started, we’ve selected a few taskgraph examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mozilla-mobile / fenix / taskcluster / fenix_taskgraph / target_tasks.py View on Github external
def _old_decision_filter(task, parameters):
    if task.kind == 'old-decision':
        return True

    return standard_filter(task, parameters)
github mozilla-mobile / firefox-tv / taskcluster / firefox_tv_taskgraph / target_tasks.py View on Github external
def tag_filter(target_release_type, task, params):
    release_type = task.attributes.get("release-type")
    return standard_filter(task, params) and (release_type is None or release_type == target_release_type)