.cron.yml
author Rob Lemley <rob@thunderbird.net>
Thu, 25 Oct 2018 21:11:35 +0000
changeset 25107 089769dbf2568287383d74bb514286f3776b6149
parent 23837 e887e6b063d9be20485b17cdb16d32387ec3df30
child 25153 d3c5b1d085805fd54890be3cf65a16d0c704541d
permissions -rw-r--r--
Bug 1499590 - Add periodic-file-updates task to .cron.yml. r=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. Differential Revision: https://phabricator.services.mozilla.com/D9859

# 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
          - comm-beta
          - comm-esr60
      when:
          by-project:
              # No default branch
              comm-central:
                  - {weekday: 'Monday', hour: 10, minute: 0}
                  - {weekday: 'Thursday', hour: 10, minute: 0}
              comm-beta:
                  - {weekday: 'Monday', hour: 10, minute: 0}
                  - {weekday: 'Thursday', hour: 10, minute: 0}
              comm-esr60:
                  - {weekday: 'Monday', hour: 10, minute: 0}
                  - {weekday: 'Thursday', hour: 10, minute: 0}