2019-11-07 16:38:17 +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:
|
|
|
|
- fenix_taskgraph.transforms.test:transforms
|
|
|
|
- taskgraph.transforms.job:transforms
|
|
|
|
- taskgraph.transforms.task:transforms
|
|
|
|
|
2020-03-03 23:09:43 +00:00
|
|
|
job-defaults:
|
|
|
|
attributes:
|
2020-07-16 14:08:00 +00:00
|
|
|
build-type: debug
|
2020-03-03 23:09:43 +00:00
|
|
|
code-review: true
|
|
|
|
retrigger: true
|
2020-07-16 14:08:00 +00:00
|
|
|
dependencies:
|
|
|
|
signing: signing-debug
|
|
|
|
signing-android-test: signing-android-test-debug
|
|
|
|
include-pull-request-number: true
|
2021-09-27 19:28:23 +00:00
|
|
|
routes:
|
|
|
|
- notify.slack-channel.G016BC5FUHJ.on-failed
|
|
|
|
scopes:
|
|
|
|
- queue:route:notify.slack-channel.G016BC5FUHJ.on-failed
|
|
|
|
- notify:slack-channel:G016BC5FUHJ
|
|
|
|
extra:
|
|
|
|
notify:
|
|
|
|
# slackText: 'https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId} | ${task.metadata.name} | ${task.metadata.source}'
|
|
|
|
slackBlocks: |
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"type": "header",
|
|
|
|
"text": {
|
|
|
|
"type": "plain_text",
|
2021-10-20 18:56:49 +00:00
|
|
|
"text": "Fenix :firefox: ${task.metadata.name} :x:\n "
|
2021-09-27 19:28:23 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "divider"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "section",
|
|
|
|
"text": {
|
|
|
|
"type": "mrkdwn",
|
|
|
|
"text": "*Task*: <https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId}|Taskcluster>"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "section",
|
|
|
|
"text": {
|
|
|
|
"type": "mrkdwn",
|
|
|
|
"text": "*Owner*: ${task.metadata.owner}"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "section",
|
|
|
|
"text": {
|
|
|
|
"type": "mrkdwn",
|
2021-10-20 18:56:49 +00:00
|
|
|
"text": "*Source*: <${task.payload.env.MOBILE_BASE_REPOSITORY}/commit/${task.payload.env.MOBILE_HEAD_REV}|Commit> :github:"
|
2021-09-27 19:28:23 +00:00
|
|
|
}
|
2021-10-20 18:56:49 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "divider"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "context",
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"type": "mrkdwn",
|
|
|
|
"text": ":testops-notify: created by <https://mana.mozilla.org/wiki/x/P_znBW|Mobile Test Engineering>"
|
|
|
|
}
|
|
|
|
]
|
2021-09-27 19:28:23 +00:00
|
|
|
}
|
|
|
|
]
|
2020-07-16 14:08:00 +00:00
|
|
|
run:
|
|
|
|
commands:
|
2020-07-22 13:07:28 +00:00
|
|
|
- [wget, {artifact-reference: '<signing/public/build/x86/target.apk>'}, '-O', app.apk]
|
|
|
|
- [wget, {artifact-reference: '<signing-android-test/public/build/noarch/target.apk>'}, '-O', android-test.apk]
|
2020-07-16 14:08:00 +00:00
|
|
|
secrets:
|
|
|
|
- name: project/mobile/fenix/firebase
|
|
|
|
key: firebaseToken
|
|
|
|
path: .firebase_token.json
|
|
|
|
json: true
|
|
|
|
using: run-commands
|
|
|
|
use-caches: false
|
|
|
|
treeherder:
|
|
|
|
kind: test
|
|
|
|
platform: 'ui-test/opt'
|
|
|
|
tier: 2
|
|
|
|
worker:
|
|
|
|
docker-image: {in-tree: ui-tests}
|
|
|
|
max-run-time: 7200
|
|
|
|
env:
|
|
|
|
GOOGLE_APPLICATION_CREDENTIALS: '.firebase_token.json'
|
|
|
|
GOOGLE_PROJECT: moz-fenix
|
|
|
|
artifacts:
|
|
|
|
- name: public
|
|
|
|
path: /builds/worker/artifacts
|
|
|
|
type: directory
|
|
|
|
worker-type: b-android
|
2020-03-03 23:09:43 +00:00
|
|
|
|
2019-11-07 16:38:17 +00:00
|
|
|
jobs:
|
2019-11-26 15:20:35 +00:00
|
|
|
x86-debug:
|
2019-11-07 16:38:17 +00:00
|
|
|
description: Test Fenix
|
|
|
|
run-on-tasks-for: [github-pull-request, github-push]
|
2021-01-14 14:47:36 +00:00
|
|
|
run-on-git-branches: ["^((?!releases[_/]).+)$"]
|
2019-11-07 16:38:17 +00:00
|
|
|
run:
|
|
|
|
commands:
|
2021-04-19 16:22:01 +00:00
|
|
|
- [automation/taskcluster/androidTest/ui-test.sh, x86, app.apk, android-test.apk, '-1']
|
2019-11-07 16:38:17 +00:00
|
|
|
treeherder:
|
|
|
|
symbol: debug(ui-test-x86)
|
2020-07-16 14:08:00 +00:00
|
|
|
screenshots-x86:
|
|
|
|
attributes:
|
|
|
|
screenshots: true
|
|
|
|
description: Run UI screenshots tests to keep them up to date
|
|
|
|
run-on-tasks-for: []
|
2021-07-28 12:20:14 +00:00
|
|
|
run-on-git-branches: [main]
|
2020-07-16 14:08:00 +00:00
|
|
|
run:
|
|
|
|
commands:
|
|
|
|
- [automation/taskcluster/androidTest/ui-test.sh, x86-screenshots-tests, app.apk, android-test.apk, '-1']
|
|
|
|
treeherder:
|
|
|
|
symbol: debug(screenshots-x86)
|
2021-01-14 14:47:36 +00:00
|
|
|
x86-beta:
|
|
|
|
attributes:
|
|
|
|
build-type: beta-firebase
|
|
|
|
description: Test Fenix
|
|
|
|
run-on-tasks-for: [github-push]
|
|
|
|
run-on-git-branches: ["^releases[/_].+$"]
|
|
|
|
dependencies:
|
|
|
|
signing: signing-beta-firebase
|
|
|
|
signing-android-test: signing-android-test-beta
|
|
|
|
run:
|
|
|
|
commands:
|
|
|
|
- [automation/taskcluster/androidTest/ui-test.sh, x86-beta-tests, app.apk, android-test.apk, '50']
|
|
|
|
treeherder:
|
|
|
|
symbol: beta(ui-test-x86-beta)
|
2021-03-10 10:31:55 +00:00
|
|
|
x86-nightly:
|
|
|
|
attributes:
|
|
|
|
build-type: nightly-firebase
|
|
|
|
description: Test Fenix
|
|
|
|
run-on-tasks-for: [github-push]
|
|
|
|
dependencies:
|
|
|
|
signing: signing-nightly-firebase
|
|
|
|
signing-android-test: signing-android-test-nightly
|
|
|
|
run:
|
|
|
|
commands:
|
|
|
|
- [automation/taskcluster/androidTest/ui-test.sh, x86-start-test, app.apk, android-test.apk, '-1']
|
|
|
|
treeherder:
|
|
|
|
symbol: nightly(ui-test-x86-nightly)
|