# 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/.
---
loader: gecko_taskgraph.loader.transform:loader

kind-dependencies:
    - post-balrog-dummy
    - post-beetmover-dummy
    - release-secondary-balrog-submit-toplevel
    - release-secondary-update-verify-config

transforms:
    - gecko_taskgraph.transforms.release_deps:transforms
    - gecko_taskgraph.transforms.update_verify:transforms
    - gecko_taskgraph.transforms.job:transforms
    - gecko_taskgraph.transforms.task:transforms

job-defaults:
    name: secondary-update-verify
    run-on-projects: []  # to make sure this never runs as part of CI
    shipping-phase: promote
    worker-type: b-linux-gcp
    worker:
        artifacts:
            - name: 'public/build/diff-summary.log'
              path: '/builds/worker/tools/release/updates/diff-summary.log'
              type: file
        docker-image:
            in-tree: "update-verify"
        max-run-time: 7200
        retry-exit-status:
            - 255
    treeherder:
        symbol: UV(UVS)
        kind: test
    extra:
        chunks: 16

jobs:
    firefox-secondary-linux64:
        description: linux64 secondary channel update verify
        shipping-product: firefox
        attributes:
            build_platform: linux64-shippable

    firefox-secondary-linux:
        description: linux secondary channel update verify
        shipping-product: firefox
        attributes:
            build_platform: linux-shippable

    firefox-secondary-win64:
        description: win64 secondary channel update verify
        shipping-product: firefox
        attributes:
            build_platform: win64-shippable

    firefox-secondary-win64-aarch64:
        description: win64 secondary channel update verify
        shipping-product: firefox
        attributes:
            build_platform: win64-aarch64-shippable

    firefox-secondary-win32:
        description: win32 secondary channel update verify
        shipping-product: firefox
        attributes:
            build_platform: win32-shippable

    firefox-secondary-macosx64:
        description: macosx64 secondary channel update verify
        shipping-product: firefox
        attributes:
            build_platform: macosx64-shippable
        extra:
            chunks: 30