tor-browser

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

kind.yml (3179B)


      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    - gecko_taskgraph.transforms.test_apk
      9    - gecko_taskgraph.transforms.job:transforms
     10    - gecko_taskgraph.transforms.task:transforms
     11 
     12 kind-dependencies:
     13    - ui-test-apk
     14 
     15 task-defaults:
     16    run-on-repo-type: [hg]
     17    description: Sends Slack message to release testers that Testrail Milestone was created.
     18    treeherder:
     19        kind: other
     20        tier: 2
     21        symbol: testrail
     22    worker-type: b-linux
     23    worker:
     24        docker-image: {in-tree: android-ui-tests}
     25        max-run-time: 1800
     26    run:
     27        use-caches: false
     28        using: run-commands
     29        secrets:
     30            - name: project/mobile/ci/testrail
     31              key: testrailCredentials
     32              path: .testrail_credentials.json
     33              json: true
     34    run-on-projects: [mozilla-beta, mozilla-release]
     35    routes:
     36        by-level:
     37            '3':
     38                - notify.slack-channel.C0134KJ4JHL.on-failed
     39            default: []
     40    scopes:
     41        by-level:
     42            '3':
     43                - queue:route:notify.slack-channel.C0134KJ4JHL  # notify mobile-alerts-android on failure
     44                - notify:slack-channel:C0134KJ4JHL
     45                - queue:route:notify.slack-channel.C07HUFVU2UD  # notify mobile-testeng-releases on success
     46                - notify:slack-channel:C07HUFVU2UD
     47            default: []
     48 
     49 tasks:
     50    create-milestone-focus:
     51        dependencies:
     52            ui-test-apk: ui-test-apk-focus-arm-beta
     53        description: Create Testrail Milestone for Focus
     54        treeherder:
     55            platform: focus-android-all/opt
     56        run:
     57            pre-commands:
     58                # get-secrets is called from '..' directory so we need to cd into any directory to make it work
     59                - ["cd", "mobile/android/focus-android"]
     60            commands:
     61                - [python3, "../../../taskcluster/scripts/testrail_main.py"]
     62        worker:
     63            env:
     64                SHIPPING_PRODUCT: focus
     65                TESTRAIL_PRODUCT_TYPE: Focus
     66                TESTRAIL_PROJECT_ID: '48'  # Focus for Android
     67                TESTRAIL_TEST_SUITE_ID: '49386'  # Test Automation Release Milestone - Focus
     68 
     69    create-milestone-fenix:
     70        dependencies:
     71            ui-test-apk: ui-test-apk-fenix-arm-beta
     72        treeherder:
     73            platform: fenix-android-all/opt
     74        description: Create Testrail Milestone for Fenix
     75        run:
     76            pre-commands:
     77                # get-secrets is called from '..' directory so we need to cd into any directory to make it work
     78                - ["cd", "mobile/android/fenix"]
     79            commands:
     80                - [python3, "../../../taskcluster/scripts/testrail_main.py"]
     81        worker:
     82            env:
     83                SHIPPING_PRODUCT: fenix
     84                TESTRAIL_PRODUCT_TYPE: Firefox
     85                TESTRAIL_PROJECT_ID: '59'  # Fenix Browser
     86                TESTRAIL_TEST_SUITE_ID: '49319'  # Test Automation Release Milestone - Fenix