summaryrefslogtreecommitdiffstats
path: root/taskcluster/kinds/test-components/kind.yml
diff options
context:
space:
mode:
Diffstat (limited to 'taskcluster/kinds/test-components/kind.yml')
-rw-r--r--taskcluster/kinds/test-components/kind.yml89
1 files changed, 89 insertions, 0 deletions
diff --git a/taskcluster/kinds/test-components/kind.yml b/taskcluster/kinds/test-components/kind.yml
new file mode 100644
index 0000000000..8f4675b076
--- /dev/null
+++ b/taskcluster/kinds/test-components/kind.yml
@@ -0,0 +1,89 @@
+# 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: gecko_taskgraph.loader.transform:loader
+
+transforms:
+ - android_taskgraph.transforms.ui_tests:transforms
+ # While not a build, the build optimization works well for these tasks.
+ - gecko_taskgraph.transforms.build_schedules:transforms
+ - gecko_taskgraph.transforms.job:transforms
+ - gecko_taskgraph.transforms.task:transforms
+
+kind-dependencies:
+ - toolchain
+ - build-fat-aar
+
+
+job-defaults:
+ attributes:
+ build_platform: android
+ build-type: debug
+ retrigger: true
+ dependencies:
+ build-fat-aar: build-fat-aar-android-geckoview-fat-aar/opt
+ fetches:
+ toolchain:
+ - android-sdk-linux
+ - android-gradle-dependencies
+ - linux64-jdk
+ build-fat-aar:
+ - target.maven.tar.xz
+ run:
+ # TODO Generate APKs in a build task instead
+ gradlew: ['clean', 'assembleGecko', 'assembleAndroidTest', 'assembleDebug']
+ pre-gradlew:
+ - ["cd", "mobile/android/android-components"]
+ secrets:
+ - name: project/mobile/firefox-android/android-components/firebase
+ key: firebaseToken
+ path: .firebase_token.json
+ json: true
+ using: gradlew
+ use-caches: false
+ treeherder:
+ kind: test
+ platform: 'AC-ui-test/opt'
+ tier: 2
+ worker-type: b-linux-medium-gcp
+ worker:
+ artifacts:
+ - name: public
+ path: /builds/worker/artifacts
+ type: directory
+ docker-image: {in-tree: android-ui-tests}
+ env:
+ GOOGLE_APPLICATION_CREDENTIALS: '.firebase_token.json'
+ GOOGLE_PROJECT: moz-android-components-230120
+ max-run-time: 2400
+ optimization:
+ skip-unless-backstop: null
+
+
+jobs:
+ unit-browser-engine-gecko-nightly:
+ component: browser
+ description: 'Run unit tests on device for browser component'
+ treeherder:
+ symbol: 'ui-components'
+ ui-browser:
+ component: samples-browser
+ description: 'Run ui tests for browser sample'
+ treeherder:
+ symbol: 'ui-samples-browser'
+ ui-glean:
+ component: samples-glean
+ description: 'Run ui tests for glean sample'
+ treeherder:
+ symbol: 'ui-samples-glean'
+ android-feature-containers: {}
+ android-feature-pwa: {}
+ android-feature-share: {}
+ android-feature-sitepermissions: {}
+ android-feature-top-sites: {}
+ android-feature-logins: {}
+ android-feature-prompts: {}
+ android-support-ktx: {}
+ android-feature-downloads: {}
+ android-feature-recentlyclosed: {}