job-defaults:
    platform: lint/opt
    treeherder:
        kind: test
        tier: 1
    worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
    worker:
        docker-image: {in-tree: "lint"}
        max-run-time: 1800

bugzilla-components:
    description: Generate metadata about source files and Bugzilla
    treeherder:
        symbol: Bugzilla
    index:
        product: source
        job-name: source-bugzilla-info
    run:
        using: run-task
        command: >
            cd /builds/worker/checkouts/gecko
            && ./mach file-info bugzilla-automation /builds/worker/artifacts
    worker:
        artifacts:
            - type: directory
              path: /builds/worker/artifacts
              name: public
    when:
        files-changed:
            - '**'
