Files
firefox/taskcluster/ci/android-stuff/kind.yml
T
Dustin J. Mitchell 71d3526289 Bug 1345863: set the job_try_name for all tasks governed by -j; r=gps
We have a `unittest_try_name` for all unit test tasks, and similarly a
`talos_try_name`. The `-j` flag controls tasks known as "jobs" (although the
word has dozens of other meanings, too). Some of those set `job_try_name`, but
others do not and have special-case support in `try_option_syntax.py`. With
this change, all "jobs" set `job_try_name` and the special-case is removed.

MozReview-Commit-ID: 9hvW7wBIl2B
2017-04-28 11:12:31 -04:00

278 lines
12 KiB
YAML

# 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/.
# The name of this kind should suggest it's not meant to be permanent. This is
# a temporary place to generate these tasks in Bug 1286075 until they are
# rewritten in a better way.
loader: taskgraph.loader.transform:loader
transforms:
- taskgraph.transforms.try_job:transforms
- taskgraph.transforms.android_stuff:transforms
- taskgraph.transforms.task:transforms
jobs:
android-api-15-gradle-dependencies:
description: "Android armv7 API 15+ gradle dependencies"
index:
product: mobile
job-name: android-api-15-gradle-dependencies-opt
treeherder:
platform: android-4-0-armv7-api15/opt
kind: other
tier: 2
symbol: tc(Deps)
worker-type: aws-provisioner-v1/gecko-{level}-b-android
worker:
implementation: docker-worker
docker-image: {in-tree: android-gradle-build}
env:
GRADLE_USER_HOME: "/home/worker/workspace/build/src/dotgradle-online"
MH_BUILD_POOL: "taskcluster"
MH_CUSTOM_BUILD_VARIANT_CFG: "api-15-gradle-dependencies"
MOZHARNESS_ACTIONS: "get-secrets build multi-l10n update"
MOZHARNESS_CONFIG: >
builds/releng_base_android_64_builds.py
disable_signing.py
platform_supports_post_upload_to_latest.py
MOZHARNESS_SCRIPT: "mozharness/scripts/fx_desktop_build.py"
TOOLTOOL_CACHE: "/home/worker/tooltool-cache"
artifacts:
- name: public/build
path: /home/worker/artifacts/
type: directory
caches:
- name: tooltool-cache
mount-point: /home/worker/tooltool-cache
type: persistent
relengapi-proxy: true
command:
- "/bin/bash"
- "-c"
- "/home/worker/bin/before.sh && /home/worker/bin/build.sh && /home/worker/bin/after.sh && true\n"
max-run-time: 36000
scopes:
- docker-worker:relengapi-proxy:tooltool.download.internal
- docker-worker:relengapi-proxy:tooltool.download.public
optimizations:
- - files-changed
- - "mobile/android/config/**"
- "testing/mozharness/configs/builds/releng_sub_android_configs/*gradle_dependencies.py"
- "**/*.gradle"
android-test:
description: "Android armv7 unit tests"
treeherder:
platform: android-4-0-armv7-api15/opt
kind: test
tier: 2
symbol: tc(test)
worker-type: aws-provisioner-v1/gecko-{level}-b-android
worker:
implementation: docker-worker
docker-image: {in-tree: desktop-build}
env:
GRADLE_USER_HOME: "/home/worker/workspace/build/src/dotgradle"
MH_BUILD_POOL: "taskcluster"
MH_CUSTOM_BUILD_VARIANT_CFG: "android-test"
MOZHARNESS_ACTIONS: "get-secrets build multi-l10n update"
MOZHARNESS_CONFIG: >
builds/releng_base_android_64_builds.py
disable_signing.py
platform_supports_post_upload_to_latest.py
MOZHARNESS_SCRIPT: "mozharness/scripts/fx_desktop_build.py"
artifacts:
- name: public/android/unittest
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/tests
type: directory
- name: public/build
path: /home/worker/artifacts/
type: directory
caches:
- name: tooltool-cache
mount-point: /home/worker/tooltool-cache
type: persistent
relengapi-proxy: true
command:
# NOTE: this could probably be a job description with run.using = 'mozharness'
- "/bin/bash"
- "bin/build.sh"
max-run-time: 36000
scopes:
- docker-worker:relengapi-proxy:tooltool.download.internal
- docker-worker:relengapi-proxy:tooltool.download.public
optimizations:
- - files-changed
- - "mobile/android/base/**"
- "mobile/android/tests/background/junit4/**"
android-lint:
description: "Android lint"
treeherder:
platform: android-4-0-armv7-api15/opt
kind: test
tier: 2
symbol: tc(lint)
worker-type: aws-provisioner-v1/gecko-{level}-b-android
worker:
implementation: docker-worker
docker-image: {in-tree: desktop-build}
env:
GRADLE_USER_HOME: "/home/worker/workspace/build/src/dotgradle"
MH_BUILD_POOL: "taskcluster"
MH_CUSTOM_BUILD_VARIANT_CFG: "android-lint"
MOZHARNESS_ACTIONS: "get-secrets build multi-l10n update"
MOZHARNESS_CONFIG: >
builds/releng_base_android_64_builds.py
disable_signing.py
platform_supports_post_upload_to_latest.py
MOZHARNESS_SCRIPT: "mozharness/scripts/fx_desktop_build.py"
artifacts:
- name: public/android/lint/lint-results-officialAustralisDebug.html
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialAustralisDebug.html
type: file
- name: public/android/lint/lint-results-officialAustralisDebug.xml
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialAustralisDebug.xml
type: file
- name: public/android/lint/lint-results-officialAustralisDebug_files
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialAustralisDebug_files
type: directory
- name: public/android/lint/lint-results-officialPhotonDebug.html
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialPhotonDebug.html
type: file
- name: public/android/lint/lint-results-officialPhotonDebug.xml
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialPhotonDebug.xml
type: file
- name: public/android/lint/lint-results-officialPhotonDebug_files
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/lint-results-officialPhotonDebug_files
type: directory
- name: public/build
path: /home/worker/artifacts/
type: directory
caches:
- name: tooltool-cache
mount-point: /home/worker/tooltool-cache
type: persistent
relengapi-proxy: true
command:
# NOTE: this could probably be a job description with run.using = 'mozharness'
- "/bin/bash"
- "bin/build.sh"
max-run-time: 36000
scopes:
- docker-worker:relengapi-proxy:tooltool.download.internal
- docker-worker:relengapi-proxy:tooltool.download.public
optimizations:
- - files-changed
- - "mobile/android/**/*.java"
- "mobile/android/**/*.jpeg"
- "mobile/android/**/*.jpg"
- "mobile/android/**/*.png"
- "mobile/android/**/*.svg"
- "mobile/android/**/*.xml" # Manifest & android resources
- "mobile/android/**/*.gradle"
- "mobile/android/**/Makefile.in"
- "mobile/android/**/moz.build"
android-checkstyle:
description: "Android checkstyle"
treeherder:
platform: android-4-0-armv7-api15/opt
kind: test
tier: 2
symbol: tc(checkstyle)
worker-type: aws-provisioner-v1/gecko-{level}-b-android
worker:
implementation: docker-worker
docker-image: {in-tree: desktop-build}
env:
GRADLE_USER_HOME: "/home/worker/workspace/build/src/dotgradle"
MH_BUILD_POOL: "taskcluster"
MH_CUSTOM_BUILD_VARIANT_CFG: "android-checkstyle"
MOZHARNESS_ACTIONS: "get-secrets build multi-l10n update"
MOZHARNESS_CONFIG: >
builds/releng_base_android_64_builds.py
disable_signing.py
platform_supports_post_upload_to_latest.py
MOZHARNESS_SCRIPT: "mozharness/scripts/fx_desktop_build.py"
artifacts:
- name: public/android/checkstyle/checkstyle.xml
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/checkstyle/checkstyle.xml
type: file
- name: public/build
path: /home/worker/artifacts/
type: directory
caches:
- name: tooltool-cache
mount-point: /home/worker/tooltool-cache
type: persistent
relengapi-proxy: true
command:
# NOTE: this could probably be a job description with run.using = 'mozharness'
- "/bin/bash"
- "bin/build.sh"
max-run-time: 36000
scopes:
- docker-worker:relengapi-proxy:tooltool.download.internal
- docker-worker:relengapi-proxy:tooltool.download.public
optimizations:
- - files-changed
- - "mobile/android/**/checkstyle.xml"
- "mobile/android/**/*.java"
- "mobile/android/**/*.gradle"
- "mobile/android/**/Makefile.in"
- "mobile/android/**/moz.build"
android-findbugs:
description: "Android findbugs"
treeherder:
platform: android-4-0-armv7-api15/opt
kind: test
tier: 2
symbol: tc(findbugs)
worker-type: aws-provisioner-v1/gecko-{level}-b-android
worker:
implementation: docker-worker
docker-image: {in-tree: desktop-build}
env:
GRADLE_USER_HOME: "/home/worker/workspace/build/src/dotgradle"
MH_BUILD_POOL: "taskcluster"
MH_CUSTOM_BUILD_VARIANT_CFG: "android-findbugs"
MOZHARNESS_ACTIONS: "get-secrets build multi-l10n update"
MOZHARNESS_CONFIG: >
builds/releng_base_android_64_builds.py
disable_signing.py
platform_supports_post_upload_to_latest.py
MOZHARNESS_SCRIPT: "mozharness/scripts/fx_desktop_build.py"
artifacts:
- name: public/android/findbugs/findbugs-officialAustralisDebug-output.html
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/findbugs/findbugs-officialAustralisDebug-output.html
type: file
- name: public/android/findbugs/findbugs-officialPhotonDebug-output.html
path: /home/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/outputs/findbugs/findbugs-officialPhotonDebug-output.html
type: file
- name: public/build
path: /home/worker/artifacts/
type: directory
caches:
- name: tooltool-cache
mount-point: /home/worker/tooltool-cache
type: persistent
relengapi-proxy: true
command:
# NOTE: this could probably be a job description with run.using = 'mozharness'
- "/bin/bash"
- "bin/build.sh"
max-run-time: 36000
scopes:
- docker-worker:relengapi-proxy:tooltool.download.internal
- docker-worker:relengapi-proxy:tooltool.download.public
optimizations:
- - files-changed
- - "mobile/android/**/*.java"
- "mobile/android/**/*.gradle"
- "mobile/android/**/Makefile.in"
- "mobile/android/**/moz.build"