2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-02 03:40:16 +00:00
iceraven-browser/taskcluster/ci/nimbledroid/kind.yml

80 lines
2.5 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:
- fenix_taskgraph.transforms.secrets:transforms
- taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms
kind-dependencies:
- signing
job-defaults:
description: Upload APKs to Nimbledroid for performance measurement and tracking
run:
using: run-commands
use-caches: false
secrets:
by-level:
'3':
- name: project/mobile/fenix/nimbledroid
key: api_key
path: .nimbledroid_token
default: []
dummy-secrets:
by-level:
'3': []
default:
- content: "faketoken"
path: .nimbledroid_token
run-on-tasks-for: []
treeherder:
kind: test
platform: android-all/opt
tier: 2
worker:
docker-image: {in-tree: nimbledroid}
max-run-time: 600
worker-type: b-android
jobs:
nightly:
attributes:
nightly: true
dependencies:
signing: signing-nightly
run:
commands:
- [wget, {artifact-reference: '<signing/public/build/armeabi-v7a/geckoNightly/target.apk>'}, '-O', target.apk]
- [python, automation/taskcluster/upload_apk_nimbledroid.py, target.apk, .nimbledroid_token]
treeherder:
symbol: nightly(nimbledroid)
production:
attributes:
release-type: production
dependencies:
signing: signing-production
run:
commands:
- [wget, {artifact-reference: '<signing/public/build/armeabi-v7a/geckoBeta/target.apk>'}, '-O', target.apk]
- [python, automation/taskcluster/upload_apk_nimbledroid.py, target.apk, .nimbledroid_token]
treeherder:
symbol: production(nimbledroid)
beta:
attributes:
release-type: beta
dependencies:
signing: signing-beta
run:
commands:
- [wget, {artifact-reference: '<signing/public/build/armeabi-v7a/geckoBeta/target.apk>'}, '-O', target.apk]
- [python, automation/taskcluster/upload_apk_nimbledroid.py, target.apk, .nimbledroid_token]
treeherder:
symbol: beta(nimbledroid)