kind.yml (3238B)
1 # This Source Code Form is subject to the terms of the Mozilla Public 2 # License, v. 2.0. If a copy of the MPL was not distributed with this 3 # file, You can obtain one at http://mozilla.org/MPL/2.0/. 4 --- 5 loader: taskgraph.loader.transform:loader 6 7 transforms: 8 - gecko_taskgraph.transforms.test_apk:transforms 9 # While not a build, the build optimization works well for these tasks. 10 - gecko_taskgraph.transforms.build_schedules:transforms 11 - gecko_taskgraph.transforms.job:transforms 12 - gecko_taskgraph.transforms.task:transforms 13 14 kind-dependencies: 15 - toolchain 16 - instrumented-build-macrobenchmark-apk 17 18 task-defaults: 19 run-on-repo-type: [hg] 20 attributes: 21 build_platform: android 22 build-type: debug 23 retrigger: true 24 fetches: 25 toolchain: 26 - android-sdk-linux 27 - linux64-embedded-uniffi-bindgen 28 - linux64-nimbus-fml 29 optimization: 30 skip-unless-backstop: null 31 worker-type: b-linux-medium 32 worker: 33 docker-image: {in-tree: android-ui-tests} 34 max-run-time: 7200 35 env: 36 GOOGLE_APPLICATION_CREDENTIALS: '.firebase_token.json' 37 ANDROID_SDK_ROOT: /builds/worker/fetches/android-sdk-linux 38 MOZ_PERFHERDER_UPLOAD: /builds/worker/build/perfherder-data-macrobenchmark.json 39 artifacts: 40 - name: public 41 path: /builds/worker/artifacts 42 type: directory 43 - name: public/build/perfherder-data-macrobenchmark.json 44 path: /builds/worker/build/perfherder-data-macrobenchmark.json 45 type: file 46 retry-exit-status: [20] 47 treeherder: 48 kind: test 49 tier: 1 50 run: 51 using: run-commands 52 dummy-secrets: 53 - content: "faketoken" 54 path: .adjust_token 55 56 tasks: 57 fenix: 58 attributes: 59 build-type: fenix-debug-firebase 60 shipping-product: fenix 61 description: Run macrobenchmark for Fenix 62 dependencies: 63 instrumented-apk: instrumented-build-macrobenchmark-apk-fenix 64 fetches: 65 instrumented-apk: 66 - artifact: target.arm64-v8a.apk 67 extract: false 68 - artifact: target.noarch.apk 69 extract: false 70 run: 71 secrets: 72 - name: project/gecko/level-any/firefox-android/fenix/firebase 73 key: firebaseToken 74 path: mobile/android/test_infra/.firebase_token.json 75 json: true 76 commands: 77 - [python3, taskcluster/scripts/tests/test-lab.py, fenix/arm64-v8a-macrobenchmark.yml, /builds/worker/fetches/target.arm64-v8a.apk, --apk_test, /builds/worker/fetches/target.noarch.apk] 78 - [python3, taskcluster/scripts/tests/copy-artifacts-from-ftl.py, "macrobenchmark"] 79 - [python3, taskcluster/scripts/tests/compute-macrobenchmark-results.py, "/builds/worker/artifacts/build/macrobenchmark", "/builds/worker/artifacts/build/macrobenchmark.txt"] 80 treeherder: 81 platform: fenix-android-all/opt 82 symbol: fenix(run) 83 worker: 84 env: 85 GOOGLE_PROJECT: moz-fenix