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/.
---
loader: taskgraph.loader.transform:loader
transforms:
- taskgraph.transforms.run:transforms
- taskgraph.transforms.task:transforms
kind-dependencies:
- toolchain
task-defaults:
attributes:
code-review: true
fetches:
toolchain:
- android-sdk-linux
- android-gradle-dependencies
run:
use-caches: false
treeherder:
kind: test
platform: 'lint/opt'
tier: 1
worker-type: b-android
worker:
docker-image: {in-tree: base}
max-run-time: 7200
tasks:
compare-locales:
description: 'Validate strings.xml with compare-locales'
run:
using: run-task
cwd: '{checkout}'
command: 'pip install --user "compare-locales>=4.0.1,<5.0" && compare-locales --validate l10n.toml .'
treeherder:
symbol: compare-locale
tier: 2
dependency-analysis:
description: 'Running dependency-analysis over all modules'
run:
using: gradlew
gradlew: [buildHealth]
treeherder:
symbol: deps
worker:
artifacts:
- name: public/build-health-report.txt
path: /builds/worker/checkouts/vcs/build/reports/dependency-analysis/build-health-report.txt
type: file
detekt:
description: 'Running detekt over all modules'
run:
using: gradlew
gradlew: [detekt]
treeherder:
symbol: detekt
ktlint:
description: 'Running ktlint over all modules'
run:
using: gradlew
gradlew: [ktlint]
treeherder:
symbol: ktlint
lint:
description: 'Running lint over all modules'
run:
using: gradlew
gradlew: [lintDebug]
treeherder:
symbol: lint