tor-browser

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

kind.yml (2938B)


      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: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    - instrumented-build-apk
     17 
     18 task-defaults:
     19    run-on-repo-type: [hg]
     20    attributes:
     21        build_platform: android
     22        build-type: debug
     23    fetches:
     24        toolchain:
     25            - android-sdk-linux
     26            - linux64-embedded-uniffi-bindgen
     27            - linux64-nimbus-fml
     28    optimization:
     29        skip-unless-backstop: null
     30    worker-type: b-linux-medium
     31    worker:
     32        docker-image: {in-tree: android-ui-tests}
     33        max-run-time: 7200
     34        env:
     35            GOOGLE_APPLICATION_CREDENTIALS: '.firebase_token.json'
     36            ANDROID_SDK_ROOT: /builds/worker/fetches/android-sdk-linux
     37        artifacts:
     38            - name: public
     39              path: /builds/worker/artifacts
     40              type: directory
     41        retry-exit-status: [20]
     42    treeherder:
     43        kind: test
     44        tier: 1
     45    run:
     46        using: run-commands
     47        dummy-secrets:
     48            - content: "faketoken"
     49              path: .adjust_token
     50 
     51 tasks:
     52    fenix:
     53        attributes:
     54            build-type: fenix-debug-firebase
     55            shipping-product: fenix
     56        description: Baseline profile generation for Fenix
     57        dependencies:
     58            instrumented-apk: instrumented-build-apk-fenix
     59        fetches:
     60            instrumented-apk:
     61                - artifact: target.arm64-v8a.apk
     62                  extract: false
     63                - artifact: target.noarch.apk
     64                  extract: false
     65        run:
     66            secrets:
     67                - name: project/gecko/level-any/firefox-android/fenix/firebase
     68                  key: firebaseToken
     69                  path: mobile/android/test_infra/.firebase_token.json
     70                  json: true
     71            commands:
     72                - [python3, taskcluster/scripts/tests/test-lab.py, fenix/arm64-v8a-baseline-profile.yml, /builds/worker/fetches/target.arm64-v8a.apk, --apk_test, /builds/worker/fetches/target.noarch.apk]
     73                - [python3, taskcluster/scripts/tests/copy-artifacts-from-ftl.py, "baseline_profile"]
     74                - [mkdir, -p, /builds/worker/artifacts/build]
     75                - [tar, -C, /builds/worker/workspace/baselineProfile, -cf, /builds/worker/artifacts/build/baselineProfile.tar.zst, .]
     76        treeherder:
     77            platform: fenix-android-all/opt
     78            symbol: Bpgo(run)
     79        worker:
     80            env:
     81                GOOGLE_PROJECT: moz-fenix