81 lines
2.9 KiB
YAML
81 lines
2.9 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/.
|
|
---
|
|
loader: taskgraph.loader.transform:loader
|
|
|
|
transforms:
|
|
- gecko_taskgraph.transforms.test_apk:transforms
|
|
# While not a build, the build optimization works well for these tasks.
|
|
- gecko_taskgraph.transforms.build_schedules:transforms
|
|
- gecko_taskgraph.transforms.job:transforms
|
|
- gecko_taskgraph.transforms.task:transforms
|
|
|
|
kind-dependencies:
|
|
- toolchain
|
|
- instrumented-build-macrobenchmark-apk
|
|
|
|
task-defaults:
|
|
attributes:
|
|
build_platform: android
|
|
build-type: debug
|
|
retrigger: true
|
|
fetches:
|
|
toolchain:
|
|
- android-sdk-linux
|
|
optimization:
|
|
skip-unless-backstop: null
|
|
worker-type: b-linux-medium-gcp
|
|
worker:
|
|
docker-image: {in-tree: android-ui-tests}
|
|
max-run-time: 7200
|
|
env:
|
|
GOOGLE_APPLICATION_CREDENTIALS: '.firebase_token.json'
|
|
ANDROID_SDK_ROOT: /builds/worker/fetches/android-sdk-linux
|
|
artifacts:
|
|
- name: public
|
|
path: /builds/worker/artifacts
|
|
type: directory
|
|
retry-exit-status: [20]
|
|
treeherder:
|
|
kind: test
|
|
tier: 1
|
|
run:
|
|
use-caches: false
|
|
using: run-commands
|
|
dummy-secrets:
|
|
- content: "faketoken"
|
|
path: .adjust_token
|
|
|
|
tasks:
|
|
fenix:
|
|
attributes:
|
|
build-type: fenix-debug-firebase
|
|
shipping-product: fenix
|
|
description: Run macrobenchmark for Fenix
|
|
dependencies:
|
|
instrumented-apk: instrumented-build-macrobenchmark-apk-fenix
|
|
fetches:
|
|
instrumented-apk:
|
|
- artifact: target.arm64-v8a.apk
|
|
extract: false
|
|
- artifact: target.noarch.apk
|
|
extract: false
|
|
run:
|
|
secrets:
|
|
- name: project/mobile/icecat-android/fenix/firebase
|
|
key: firebaseToken
|
|
path: .firebase_token.json
|
|
json: true
|
|
pre-commands:
|
|
- ["cd", "mobile/android/fenix"]
|
|
commands:
|
|
- [python3, ../../../taskcluster/scripts/tests/test-lab.py, arm64-v8a-macrobenchmark, /builds/worker/fetches/target.arm64-v8a.apk, --apk_test, /builds/worker/fetches/target.noarch.apk]
|
|
- [python3, ../../../taskcluster/scripts/tests/copy-artifacts-from-ftl.py, "macrobenchmark"]
|
|
- [python3, ../../../taskcluster/scripts/tests/compute-macrobenchmark-results.py, "/builds/worker/artifacts/build/macrobenchmark.json", "/builds/worker/artifacts/build/macrobenchmark.txt"]
|
|
treeherder:
|
|
platform: fenix-android-all/opt
|
|
symbol: fenix(run)
|
|
worker:
|
|
env:
|
|
GOOGLE_PROJECT: moz-fenix
|