.cron.yml
author Rob Lemley <rob@thunderbird.net>
Wed, 02 Jan 2019 17:06:14 +0000
changeset 33283 b5746afc4831d9b1d184aa8b161be6904975a2f6
parent 32811 d3c5b1d085805fd54890be3cf65a16d0c704541d
child 34412 dd29466819f2175b150607a1e38667bd7668cc71
permissions -rw-r--r--
Bug 1499590 - Add periodic-file-updates task to .cron.yml. r=darktrojan,dustin Added configuration for periodic-file-updates task to comm's .cron.yml. This cron task mirrors one found in mozilla- repositories, and was part of comm-'s buildbot configuration that needed to be moved to Taskcluster. This is a reapply of an old patch. I've removed the comm-beta and comm-esr60 repositories from the configuration. Differential Revision: https://phabricator.services.mozilla.com/D15108

# Definitions for jobs that run periodically.  For details on the format, see
# `taskcluster/taskgraph/cron/schema.py`.  For documentation, see
# `taskcluster/docs/cron.rst`.

---

jobs:
    - name: nightly-desktop
      job:
          type: decision-task
          treeherder-symbol: Nd
          target-tasks-method: nightly_desktop
      run-on-projects:
          - comm-central
      when:
          by-project:
              # Match buildbot starts for now
              comm-central: [{hour: 10, minute: 0}]
              # No default

    - name: nightly-linux
      job:
          type: decision-task
          treeherder-symbol: Nd-Ln
          target-tasks-method: nightly_linux
      run-on-projects:
          - comm-central
      when: []  # never (hook only)

    - name: nightly-osx
      job:
          type: decision-task
          treeherder-symbol: Nd-OSX
          target-tasks-method: nightly_macosx
      run-on-projects:
          - comm-central
      when: []  # never (hook only)

    - name: nightly-win32
      job:
          type: decision-task
          treeherder-symbol: Nd-win32
          target-tasks-method: nightly_win32
      run-on-projects:
          - comm-central
      when: []  # never (hook only)

    - name: nightly-win64
      job:
          type: decision-task
          treeherder-symbol: Nd-win64
          target-tasks-method: nightly_win64
      run-on-projects:
          - comm-central
      when: []  # never (hook only)

    - name: periodic-update
      job:
          type: decision-task
          treeherder-symbol: Nfile
          target-tasks-method: file_update
      run-on-projects:
          - comm-central
      when:
          by-project:
              # No default branch
              comm-central:
                  - {weekday: 'Monday', hour: 10, minute: 0}
                  - {weekday: 'Thursday', hour: 10, minute: 0}