linux64/opt:
    description: "Linux64 Opt"
    index:
        product: firefox
        job-name: linux64-opt
    treeherder:
        platform: linux64/opt
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: public
        need-xvfb: true

linux64/pgo:
    description: "Linux64 PGO"
    index:
        product: firefox
        job-name: linux64-pgo
    treeherder:
        platform: linux64/pgo
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    coalesce-name: linux64-pgo
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        options: [enable-pgo]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: public
        need-xvfb: true

linux64/debug:
    description: "Linux64 Debug"
    index:
        product: firefox
        job-name: linux64-debug
    treeherder:
        platform: linux64/debug
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: debug
        tooltool-downloads: public
        need-xvfb: true

linux64-devedition-nightly/opt:
    description: "Linux64 devedition Nightly"
    attributes:
        nightly: true
    index:
        product: devedition
        job-name: linux64-opt
        type: nightly
    treeherder:
        platform: linux64-devedition/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - disable_signing.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: public
        need-xvfb: true
        custom-build-variant-cfg: devedition
    run-on-projects: [ 'mozilla-beta', ]

linux/opt:
    description: "Linux32 Opt"
    index:
        product: firefox
        job-name: linux-opt
    treeherder:
        platform: linux32/opt
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    coalesce-name: opt_linux32
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_32_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: public
        need-xvfb: true

linux/debug:
    description: "Linux32 Debug"
    index:
        product: firefox
        job-name: linux-debug
    treeherder:
        platform: linux32/debug
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    coalesce-name: dbg_linux32
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_32_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: debug
        tooltool-downloads: public
        need-xvfb: true

linux/pgo:
    description: "Linux32 PGO"
    index:
        product: firefox
        job-name: linux-pgo
    treeherder:
        platform: linux32/pgo
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    coalesce-name: linux32-pgo
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        options: [enable-pgo]
        config:
            - builds/releng_base_linux_32_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: public
        need-xvfb: true

linux-devedition-nightly/opt:
    description: "Linux32 devedition Nightly"
    attributes:
        nightly: true
    index:
        product: devedition
        job-name: linux-opt
        type: nightly
    treeherder:
        platform: linux32-devedition/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_32_builds.py
            - disable_signing.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: public
        need-xvfb: true
        custom-build-variant-cfg: devedition
    run-on-projects: [ 'mozilla-beta', ]

linux-nightly/opt:
    description: "Linux32 Nightly"
    attributes:
        nightly: true
    index:
        product: firefox
        job-name: linux-opt
        type: nightly
    treeherder:
        platform: linux32/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_32_builds.py
            - disable_signing.py
            - taskcluster_nightly.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: public
        need-xvfb: true


linux64-asan/opt:
    description: "Linux64 Opt ASAN"
    index:
        product: firefox
        job-name: linux64-asan-opt
    treeherder:
        platform: linux64/asan
        symbol: tc(Bo)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: asan-tc
        tooltool-downloads: public
        need-xvfb: true

linux64-asan/debug:
    description: "Linux64 Debug ASAN"
    index:
        product: firefox
        job-name: linux64-asan-debug
    treeherder:
        platform: linux64/asan
        symbol: tc(Bd)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: asan-tc-and-debug
        tooltool-downloads: public
        need-xvfb: true

linux64-nightly/opt:
    description: "Linux64 Nightly"
    attributes:
        nightly: true
    index:
        product: firefox
        job-name: linux64-opt
        type: nightly
    treeherder:
        platform: linux64/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - disable_signing.py
            - taskcluster_nightly.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: public
        need-xvfb: true

linux64-stylo/opt:
    description: "Linux64 Opt Stylo"
    index:
        product: firefox
        job-name: linux64-stylo-opt
    treeherder:
        platform: linux64-stylo/opt
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 3600
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: stylo
        tooltool-downloads: public
    run-on-projects: [ 'stylo', 'autoland', 'mozilla-inbound', 'mozilla-central' ]

linux64-stylo/debug:
    description: "Linux64 Debug Stylo"
    index:
        product: firefox
        job-name: linux64-stylo-debug
    treeherder:
        platform: linux64-stylo/debug
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 3600
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: stylo-debug
        tooltool-downloads: public
    run-on-projects: [ 'stylo', 'autoland', 'mozilla-inbound', 'mozilla-central' ]

linux64-jsdcov/opt:
    description: "Linux64-JSDCov Opt"
    index:
        product: firefox
        job-name: linux64-jsdcov-opt
    treeherder:
        platform: linux64/jsdcov
        symbol: tc(B)
        tier: 2
    run-on-projects: [ ]
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        tooltool-downloads: public
        need-xvfb: true

linux64-ccov/opt:
    description: "Linux64-CCov Opt"
    index:
        product: firefox
        job-name: linux64-ccov-opt
    needs-sccache: false
    treeherder:
        platform: linux64/ccov
        symbol: tc(B)
        tier: 2
    run-on-projects: [ ]
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: code-coverage
        tooltool-downloads: public
        need-xvfb: true

linux64-add-on-devel/opt:
    description: "Linux64 add-on-devel"
    index:
        product: firefox
        job-name: linux64-add-on-devel
    treeherder:
        platform: linux64-add-on-devel/opt
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: add-on-devel
        tooltool-downloads: public
        need-xvfb: true
    run-on-projects: [ 'mozilla-beta', 'mozilla-release', 'mozilla-esr45' ]

linux64-qr/debug:
    description: "Linux64 Debug QuantumRender"
    index:
        product: firefox
        job-name: linux64-qr-debug
    treeherder:
        platform: linux64-qr/debug
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: qr-debug
        tooltool-downloads: public
        need-xvfb: true
    run-on-projects: [ 'mozilla-central', 'graphics' ]

linux64-qr/opt:
    description: "Linux64 Opt QuantumRender"
    index:
        product: firefox
        job-name: linux64-qr-opt
    treeherder:
        platform: linux64-qr/opt
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_64_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: qr-opt
        tooltool-downloads: public
        need-xvfb: true
    run-on-projects: [ 'mozilla-central', 'graphics' ]

linux-qr/opt:
    description: "Linux32 Opt QuantumRender"
    index:
        product: firefox
        job-name: linux-qr-opt
    treeherder:
        platform: linux32-qr/opt
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_32_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: qr-opt
        tooltool-downloads: public
        need-xvfb: true
    run-on-projects: [ 'graphics' ]

linux-qr/debug:
    description: "Linux32 Debug QuantumRender"
    index:
        product: firefox
        job-name: linux-qr-debug
    treeherder:
        platform: linux32-qr/debug
        symbol: tc(B)
        tier: 2
    worker-type: aws-provisioner-v1/gecko-{level}-b-linux
    worker:
        implementation: docker-worker
        max-run-time: 36000
    coalesce-name: dbg_linux32
    run:
        using: mozharness
        actions: [get-secrets build check-test generate-build-stats update]
        config:
            - builds/releng_base_linux_32_builds.py
            - balrog/production.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: qr-debug
        tooltool-downloads: public
        need-xvfb: true
    run-on-projects: [ 'graphics' ]
