Revision control

Copy as Markdown

# 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/.
---
task-defaults:
description: Make sure the content of .buildconfig.yml matches what gradle knows about its projects
run:
using: run-task
cwd: '{checkout}'
worker:
artifacts:
- name: public/git
path: '/builds/worker/checkouts/vcs/artifacts/git'
type: directory
treeherder:
tier: 2
buildconfig-android-components:
optimization:
skip-unless-changed:
- "android-components/**/build.gradle"
- "android-components/.buildconfig.yml"
run:
command: 'pip install --user --require-hashes --requirement taskcluster/scripts/lint/requirements.txt && taskcluster/scripts/lint/is_buildconfig_yml_up_to_date.py android-components'
treeherder:
symbol: buildconfig(AC)
buildconfig-focus:
optimization:
skip-unless-changed:
- "android-components/**/build.gradle" # A change in A-C may be reflected in focus
- "android-components/.buildconfig.yml"
- "focus-android/**/build.gradle"
- "focus-android/.buildconfig.yml"
run:
command: 'pip install --user --require-hashes --requirement taskcluster/scripts/lint/requirements.txt && taskcluster/scripts/lint/is_buildconfig_yml_up_to_date.py focus-android'
treeherder:
symbol: buildconfig(focus)
buildconfig-fenix:
dependencies:
external-gradle-dependencies: external-gradle-dependencies-lint-fenix
optimization:
skip-unless-changed:
- "android-components/**/build.gradle" # A change in A-C may be reflected in fenix
- "android-components/.buildconfig.yml"
- "fenix/**/build.gradle"
- "fenix/.buildconfig.yml"
run:
command: 'pip install --user --require-hashes --requirement taskcluster/scripts/lint/requirements.txt && taskcluster/scripts/lint/is_buildconfig_yml_up_to_date.py fenix'
treeherder:
symbol: buildconfig(fenix)