taskcluster/ci/repo-update/kind.yml
author Rob Lemley <rob@thunderbird.net>
Mon, 04 Nov 2019 22:54:12 -0500
changeset 37504 4f748b7dc20dfb713f118f680cec8c2c8443862f
parent 35654 961f2ce1e0e738be4999e0d1b67e5c8d4338015d
child 37888 3249d2340a6a4f10d0dda9c9480864488a2df636
permissions -rw-r--r--
Bug 1593891 - Disable builds when landing blocklist repo-updates. r=darktrojan There an M-C patch that goes with this. Timing and order are not critical.

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

transforms:
    - taskgraph.transforms.repo_update:transforms
    - taskgraph.transforms.task:transforms


job-defaults:
    worker:
        env:
            DO_BLOCKLIST:
                by-project:
                    comm-central: "1"
                    comm-(beta|esr60|esr68): "1"
                    default: ""
            USE_MOZILLA_CENTRAL: ""
            DONTBUILD: "1"


jobs:
    blocklist-update:
        name: periodic_file_update
        description: Blocklist update
        run-on-projects: []  # Only run via cron
        treeherder:
            kind: build
            platform: linux64/opt
            symbol: pfu
            tier: 1
        worker-type: b-linux
        worker:
            implementation: docker-worker
            os: linux
            docker-image: {in-tree: periodic-updates}
            max-run-time: 3600  # Max 1hr, takes ~5mins in testing
            env:
                PRODUCT: thunderbird
                REVIEWERS: "rjl"
            command:
                - /runme.sh
            taskcluster-proxy: true

        scopes:
            - secrets:get:project/comm/thunderbird/releng/build/level-{level}/arc-phabricator-token