2019-09-19 15:02:05 +00:00
|
|
|
# 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:
|
2020-03-20 09:26:44 +00:00
|
|
|
- fenix_taskgraph.transforms.secrets:transforms
|
2019-09-19 15:02:05 +00:00
|
|
|
- taskgraph.transforms.job:transforms
|
|
|
|
- taskgraph.transforms.task:transforms
|
|
|
|
|
|
|
|
kind-dependencies:
|
2019-11-08 13:19:10 +00:00
|
|
|
- signing
|
2019-09-19 15:02:05 +00:00
|
|
|
|
|
|
|
|
2019-11-27 17:04:11 +00:00
|
|
|
job-defaults:
|
|
|
|
description: Upload APKs to Nimbledroid for performance measurement and tracking
|
|
|
|
run:
|
|
|
|
using: run-commands
|
|
|
|
use-caches: false
|
|
|
|
secrets:
|
2020-02-20 10:36:03 +00:00
|
|
|
by-level:
|
|
|
|
'3':
|
|
|
|
- name: project/mobile/fenix/nimbledroid
|
|
|
|
key: api_key
|
|
|
|
path: .nimbledroid_token
|
|
|
|
default: []
|
2020-03-03 16:22:48 +00:00
|
|
|
dummy-secrets:
|
2020-02-20 10:36:03 +00:00
|
|
|
by-level:
|
2020-03-20 09:26:44 +00:00
|
|
|
'3': []
|
|
|
|
default:
|
|
|
|
- content: "faketoken"
|
|
|
|
path: .nimbledroid_token
|
2019-11-27 17:04:11 +00:00
|
|
|
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
|
|
|
|
|
2019-09-19 15:02:05 +00:00
|
|
|
jobs:
|
|
|
|
nightly:
|
|
|
|
attributes:
|
|
|
|
nightly: true
|
2019-11-08 13:19:10 +00:00
|
|
|
dependencies:
|
|
|
|
signing: signing-nightly
|
|
|
|
run:
|
|
|
|
commands:
|
2020-02-20 10:36:03 +00:00
|
|
|
- [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]
|
2019-11-27 17:04:11 +00:00
|
|
|
treeherder:
|
|
|
|
symbol: nightly(nimbledroid)
|
2020-02-20 10:36:03 +00:00
|
|
|
|
2019-11-27 17:04:11 +00:00
|
|
|
production:
|
|
|
|
attributes:
|
|
|
|
release-type: production
|
2020-02-20 10:36:03 +00:00
|
|
|
dependencies:
|
2019-11-27 17:04:11 +00:00
|
|
|
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
|
2020-02-20 10:36:03 +00:00
|
|
|
dependencies:
|
2019-11-27 17:04:11 +00:00
|
|
|
signing: signing-beta
|
|
|
|
run:
|
|
|
|
commands:
|
|
|
|
- [wget, {artifact-reference: '<signing/public/build/armeabi-v7a/geckoBeta/target.apk>'}, '-O', target.apk]
|
2019-11-08 13:19:10 +00:00
|
|
|
- [python, automation/taskcluster/upload_apk_nimbledroid.py, target.apk, .nimbledroid_token]
|
2019-09-19 15:02:05 +00:00
|
|
|
treeherder:
|
2019-11-27 17:04:11 +00:00
|
|
|
symbol: beta(nimbledroid)
|