taskcluster/ci/build/android-stuff.yml
author "Mozilla Releng Treescript <release+treescript@mozilla.org>"
Thu, 05 Jul 2018 20:03:20 +0000
changeset 477822 cf9b4ca3230a0ed8c12a4646f3f9c07e96bba6aa
parent 477347 5cc046f4654100da7d01a0e44aa069331860f784
child 480692 f1976c96d3a539828f6ee6e7f0b68f3b1302027b
permissions -rw-r--r--
No bug - Tagging 5a6eba66a37822ac6ea8b0ae1dd2f8526d024b37 with DEVEDITION_62_0b6_BUILD1 a=release CLOSED TREE

android-test/opt:
    description: "Android armv7 unit tests"
    index:
        product: mobile
        job-name: android-test
    treeherder:
        platform: android-4-0-armv7-api16/opt
        kind: build
        tier: 1
        symbol: A(test)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            PERFHERDER_EXTRA_OPTIONS: android-test
        artifacts:
            - name: public/app/unittest
              path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/tests
              type: directory
            - name: public/geckoview/unittest
              path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/reports/tests
              type: directory
            - name: public/build
              path: /builds/worker/artifacts/
              type: directory
        max-run-time: 7200
    run:
        using: mozharness
        actions: [get-secrets build]
        config:
            - builds/releng_base_android_64_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: android-test
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
    optimization:
        skip-unless-changed:
            - "mobile/android/base/**"
            - "mobile/android/config/**"
            - "mobile/android/gradle.configure"
            - "mobile/android/tests/background/junit4/**"
            - "**/*.gradle"

android-lint/opt:
    description: "Android lint"
    index:
        product: mobile
        job-name: android-lint
    treeherder:
        platform: android-4-0-armv7-api16/opt
        kind: build
        tier: 1
        symbol: A(lint)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            PERFHERDER_EXTRA_OPTIONS: android-lint
        artifacts:
            - name: public/android/lint/lint-results-officialWithoutGeckoBinariesNoMinApiPhotonDebug.html
              path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/lint-results-officialWithoutGeckoBinariesNoMinApiPhotonDebug.html
              type: file
            - name: public/android/lint/lint-results-officialWithoutGeckoBinariesNoMinApiPhotonDebug.xml
              path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/lint-results-officialWithoutGeckoBinariesNoMinApiPhotonDebug.xml
              type: file
            - name: public/android/lint/lint-results-officialWithoutGeckoBinariesNoMinApiPhotonDebug_files
              path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/lint-results-officialWithoutGeckoBinariesNoMinApiPhotonDebug_files
              type: directory
            - name: public/build
              path: /builds/worker/artifacts/
              type: directory
        max-run-time: 7200
    run:
        using: mozharness
        actions: [get-secrets build]
        config:
            - builds/releng_base_android_64_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: android-lint
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
    optimization:
        skip-unless-changed:
            - "mobile/android/**/*.java"
            - "mobile/android/**/*.jpeg"
            - "mobile/android/**/*.jpg"
            - "mobile/android/**/*.png"
            - "mobile/android/**/*.svg"
            - "mobile/android/**/*.xml"
            - "mobile/android/**/Makefile.in"
            - "mobile/android/config/**"
            - "mobile/android/gradle.configure"
            - "mobile/android/**/moz.build"
            - "**/*.gradle"

android-checkstyle/opt:
    description: "Android checkstyle"
    index:
        product: mobile
        job-name: android-checkstyle
    treeherder:
        platform: android-4-0-armv7-api16/opt
        kind: build
        tier: 1
        symbol: A(checkstyle)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            PERFHERDER_EXTRA_OPTIONS: android-checkstyle
        artifacts:
            - name: public/android/checkstyle/checkstyle.html
              path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/checkstyle/checkstyle.html
              type: file
            - name: public/android/checkstyle/checkstyle.xml
              path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/checkstyle/checkstyle.xml
              type: file
            - name: public/build
              path: /builds/worker/artifacts/
              type: directory
        max-run-time: 7200
    run:
        using: mozharness
        actions: [get-secrets build]
        config:
            - builds/releng_base_android_64_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: android-checkstyle
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
    optimization:
        skip-unless-changed:
            - "mobile/android/**/checkstyle.xml"
            - "mobile/android/**/*.java"
            - "mobile/android/**/Makefile.in"
            - "mobile/android/config/**"
            - "mobile/android/gradle.configure"
            - "mobile/android/**/moz.build"
            - "**/*.gradle"

android-findbugs/opt:
    description: "Android findbugs"
    index:
        product: mobile
        job-name: android-findbugs
    treeherder:
        platform: android-4-0-armv7-api16/opt
        kind: build
        tier: 1
        symbol: A(findbugs)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            PERFHERDER_EXTRA_OPTIONS: android-findbugs
        artifacts:
            - name: public/android/findbugs/findbugs-officialWithoutGeckoBinariesNoMinApiPhotonDebug-output.html
              path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/findbugs/findbugs-officialWithoutGeckoBinariesNoMinApiPhotonDebug-output.html
              type: file
            - name: public/android/findbugs/findbugs-officialWithoutGeckoBinariesNoMinApiPhotonDebug-output.xml
              path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/reports/findbugs/findbugs-officialWithoutGeckoBinariesNoMinApiPhotonDebug-output.xml
              type: file
            - name: public/build
              path: /builds/worker/artifacts/
              type: directory
        max-run-time: 7200
    run:
        using: mozharness
        actions: [get-secrets build]
        config:
            - builds/releng_base_android_64_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: android-findbugs
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
    optimization:
        skip-unless-changed:
            - "mobile/android/**/*.java"
            - "mobile/android/**/Makefile.in"
            - "mobile/android/config/**"
            - "mobile/android/gradle.configure"
            - "mobile/android/**/moz.build"
            - "**/*.gradle"

android-geckoview-docs/opt:
    description: "Android GeckoView docs"
    index:
        product: mobile
        job-name: android-geckoview-docs
    treeherder:
        platform: android-4-0-armv7-api16/opt
        kind: build
        tier: 3
        symbol: A(gv-docs)
    run-on-projects: [mozilla-central]
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            PERFHERDER_EXTRA_OPTIONS: android-geckoview-docs
            GECKOVIEW_DOCS_UPLOAD_SECRET: "project/releng/gecko/build/level-{level}/geckoview-docs-upload"
        artifacts:
            - name: public/android/geckoview-docs/geckoview-javadoc.jar
              path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/libs/geckoview-javadoc.jar
              type: file
        max-run-time: 7200
    run:
        using: mozharness
        actions: [get-secrets build]
        config:
            - builds/releng_base_android_64_builds.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: android-geckoview-docs
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
    optimization:
        skip-unless-changed:
            - "mobile/android/**/*.java"
            - "mobile/android/gradle.configure"
            - "**/*.gradle"