2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00
iceraven-browser/taskcluster/ci/ui-test/kind.yml
isabelrios 0f6e44f7bc [fenix] Changes to run tests on beta builds (https://github.com/mozilla-mobile/fenix/pull/16786)
* Changes to run tests on beta builds

* remove dontoptime and fix bookmarks tests

* fix ktlint and smokeTest

* add variable for package name

* rebase and fix conflicts

* add yml files and modify script to run tests

* fix yml file indentation

* changes in kind file and add try_task

* fix error kind file

* fix error kind file 2

* fix error kind file 3

* fix reviewer comments

* remove mockwebserver implementation as per reviewer comment

* run beta tests only on releases branches

* reg exp for master branch

* reg exp for master branch2

* modify try_task with release branch

* remove try file

* let's start by running only one test

* address latest reviewers comments

* double check correct tasks for release branch

* remove try file after confirming beta build run

Co-authored-by: isabel rios <isabelrios@MBP-de-isabel-2.home>
2021-01-14 15:47:36 +01:00

83 lines
2.8 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.test:transforms
- taskgraph.transforms.job:transforms
- taskgraph.transforms.task:transforms
job-defaults:
attributes:
build-type: debug
code-review: true
retrigger: true
dependencies:
signing: signing-debug
signing-android-test: signing-android-test-debug
include-pull-request-number: true
run:
commands:
- [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]
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
jobs:
x86-debug:
description: Test Fenix
run-on-tasks-for: [github-pull-request, github-push]
run-on-git-branches: ["^((?!releases[_/]).+)$"]
run:
commands:
- [automation/taskcluster/androidTest/ui-test.sh, x86, app.apk, android-test.apk, '50']
treeherder:
symbol: debug(ui-test-x86)
screenshots-x86:
attributes:
screenshots: true
description: Run UI screenshots tests to keep them up to date
run-on-tasks-for: []
run-on-git-branches: [master]
run:
commands:
- [automation/taskcluster/androidTest/ui-test.sh, x86-screenshots-tests, app.apk, android-test.apk, '-1']
treeherder:
symbol: debug(screenshots-x86)
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)