2019-09-23 11:42:36 +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:
|
2019-10-15 10:04:55 +00:00
|
|
|
- fenix_taskgraph.transforms.test:transforms
|
2019-09-23 11:42:36 +00:00
|
|
|
- taskgraph.transforms.job:transforms
|
|
|
|
- taskgraph.transforms.task:transforms
|
|
|
|
|
2020-04-01 16:29:35 +00:00
|
|
|
kind-dependencies:
|
|
|
|
- toolchain
|
|
|
|
|
|
|
|
|
2022-07-26 15:27:52 +00:00
|
|
|
task-defaults:
|
2020-03-03 23:09:43 +00:00
|
|
|
attributes:
|
|
|
|
retrigger: true
|
2020-04-01 16:29:35 +00:00
|
|
|
description: Test Fenix
|
2022-05-11 01:31:26 +00:00
|
|
|
extra:
|
|
|
|
notify:
|
2022-07-26 15:27:52 +00:00
|
|
|
slackBlocks: |
|
2022-05-11 01:31:26 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"type": "header",
|
|
|
|
"text": {
|
|
|
|
"type": "plain_text",
|
|
|
|
"text": "Fenix :firefox: ${task.metadata.name} :x:\n "
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "divider"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "section",
|
|
|
|
"text": {
|
|
|
|
"type": "mrkdwn",
|
|
|
|
"text": "*Task*: <https://firefox-ci-tc.services.mozilla.com/tasks/${status.taskId}|Taskcluster>"
|
|
|
|
}
|
2022-07-26 15:27:52 +00:00
|
|
|
},
|
2022-05-11 01:31:26 +00:00
|
|
|
{
|
|
|
|
"type": "section",
|
|
|
|
"text": {
|
|
|
|
"type": "mrkdwn",
|
|
|
|
"text": "*Owner*: ${task.metadata.owner}"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "section",
|
|
|
|
"text": {
|
|
|
|
"type": "mrkdwn",
|
|
|
|
"text": "*Source*: <${task.payload.env.MOBILE_BASE_REPOSITORY}/commit/${task.payload.env.MOBILE_HEAD_REV}|Commit> :github:"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "section",
|
|
|
|
"text": {
|
|
|
|
"type": "mrkdwn",
|
|
|
|
"text": "*Test Summary*: <https://firefoxci.taskcluster-artifacts.net/${status.taskId}/0/public/reports/test/testDebugUnitTest/index.html|Results> :debug:"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "divider"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "context",
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"type": "mrkdwn",
|
|
|
|
"text": ":testops-notify: created by <https://mana.mozilla.org/wiki/x/P_zNBw|Mobile Test Engineering>"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
2020-04-01 16:29:35 +00:00
|
|
|
fetches:
|
|
|
|
toolchain:
|
|
|
|
- android-sdk-linux
|
2020-05-13 16:36:48 +00:00
|
|
|
- android-gradle-dependencies
|
2020-04-01 16:29:35 +00:00
|
|
|
include-pull-request-number: false
|
2019-10-15 10:04:55 +00:00
|
|
|
run:
|
|
|
|
using: gradlew
|
|
|
|
use-caches: false
|
2022-05-11 01:31:26 +00:00
|
|
|
routes:
|
|
|
|
- notify.slack-channel.G016BC5FUHJ.on-failed
|
|
|
|
scopes:
|
|
|
|
- queue:route:notify.slack-channel.G016BC5FUHJ.on-failed
|
|
|
|
- notify:slack-channel:G016BC5FUHJ
|
2019-09-23 11:42:36 +00:00
|
|
|
treeherder:
|
|
|
|
kind: test
|
|
|
|
tier: 2
|
|
|
|
worker-type: b-android
|
|
|
|
worker:
|
2019-09-24 10:52:05 +00:00
|
|
|
docker-image: {in-tree: base}
|
2019-09-23 11:42:36 +00:00
|
|
|
max-run-time: 7200
|
|
|
|
|
2022-07-26 15:27:52 +00:00
|
|
|
tasks:
|
2019-09-24 10:52:05 +00:00
|
|
|
debug:
|
|
|
|
attributes:
|
|
|
|
build-type: debug
|
|
|
|
code-review: true
|
|
|
|
run:
|
2021-09-01 14:52:59 +00:00
|
|
|
pre-gradlew:
|
|
|
|
- ['java', '-version']
|
2020-07-10 18:24:48 +00:00
|
|
|
gradlew:
|
|
|
|
- 'clean'
|
2021-10-20 16:13:04 +00:00
|
|
|
- 'testDebugUnitTest'
|
2020-07-10 18:24:48 +00:00
|
|
|
- 'githubTestDetails'
|
2020-04-01 16:29:35 +00:00
|
|
|
treeherder:
|
|
|
|
platform: 'android-all/opt'
|
|
|
|
symbol: debug(T)
|
|
|
|
tier: 1
|
2019-11-18 23:11:53 +00:00
|
|
|
worker:
|
|
|
|
artifacts:
|
|
|
|
- name: public/reports/index.html
|
2021-11-23 21:27:39 +00:00
|
|
|
path: /builds/worker/checkouts/vcs/app/build/reports/tests/testDebugUnitTest/index.html
|
2019-11-18 23:11:53 +00:00
|
|
|
type: file
|
2020-06-11 18:03:54 +00:00
|
|
|
- name: public/reports/test
|
2021-11-23 21:27:39 +00:00
|
|
|
path: /builds/worker/checkouts/vcs/app/build/reports/tests
|
2020-06-11 18:03:54 +00:00
|
|
|
type: directory
|
2020-07-10 18:24:48 +00:00
|
|
|
- name: public/github
|
|
|
|
path: /builds/worker/github
|
|
|
|
type: directory
|