tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

kind.yml (2939B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 ---
      5 loader: taskgraph.loader.transform:loader
      6 
      7 transforms:
      8    - android_taskgraph.transforms.ui_tests:transforms
      9    # While not a build, the build optimization works well for these tasks.
     10    - gecko_taskgraph.transforms.build_schedules:transforms
     11    - gecko_taskgraph.transforms.job:transforms
     12    - gecko_taskgraph.transforms.task:transforms
     13 
     14 kind-dependencies:
     15    - toolchain
     16    - build-fat-aar
     17 
     18 
     19 task-defaults:
     20    run-on-repo-type: [hg]
     21    attributes:
     22        build_platform: android
     23        build-type: debug
     24        retrigger: true
     25    dependencies:
     26        build-fat-aar: build-fat-aar-android-geckoview-fat-aar/opt
     27    fetches:
     28        toolchain:
     29            - android-sdk-linux
     30            - linux64-embedded-uniffi-bindgen
     31            - linux64-nimbus-fml
     32            - android-gradle-dependencies
     33            - linux64-jdk
     34        build-fat-aar:
     35            - target.maven.zip
     36    run:
     37        # TODO Generate APKs in a build task instead
     38        gradlew: ['--project-dir=mobile/android/android-components',
     39                  'clean', 'assembleGecko', 'assembleAndroidTest', 'assembleDebug']
     40        secrets:
     41            - name: project/gecko/level-any/firefox-android/android-components/firebase
     42              key: firebaseToken
     43              path: mobile/android/test_infra/.firebase_token.json
     44              json: true
     45        using: gradlew
     46    treeherder:
     47        kind: test
     48        platform: 'AC-ui-test/opt'
     49        tier: 2
     50    worker-type: b-linux-medium
     51    worker:
     52        artifacts:
     53            - name: public
     54              path: /builds/worker/artifacts
     55              type: directory
     56        docker-image: {in-tree: android-ui-tests}
     57        env:
     58            GOOGLE_APPLICATION_CREDENTIALS: '.firebase_token.json'
     59            GOOGLE_PROJECT: moz-android-components-230120
     60        max-run-time: 3600
     61    optimization:
     62        skip-unless-backstop: null
     63 
     64 
     65 tasks:
     66    unit-browser-engine-gecko-nightly:
     67        component: browser
     68        description: 'Run unit tests on device for browser component'
     69        treeherder:
     70            symbol: 'ui-components'
     71    ui-browser:
     72        component: samples-browser
     73        description: 'Run ui tests for browser sample'
     74        treeherder:
     75            symbol: 'ui-samples-browser'
     76    ui-glean:
     77        component: samples-glean
     78        description: 'Run ui tests for glean sample'
     79        treeherder:
     80            symbol: 'ui-samples-glean'
     81    android-feature-containers: {}
     82    android-feature-pwa: {}
     83    android-feature-share: {}
     84    android-feature-sitepermissions: {}
     85    android-feature-top-sites: {}
     86    android-feature-logins: {}
     87    android-feature-prompts: {}
     88    android-support-ktx: {}
     89    android-feature-downloads: {}
     90    android-feature-recentlyclosed: {}