taskcluster/ci/build/android.yml
author Nick Alexander <nalexander@mozilla.com>
Fri, 20 Oct 2017 11:07:21 -0700
changeset 443154 36599de1793a3233141452e25fa73eb29129f62a
parent 443152 b4ea55eece0f8624d9bb598f1a63a5856ea7564b
child 446891 237e09de43a1c7967f7a8b5a9343ab37f9ac5a77
permissions -rw-r--r--
Bug 1405396 - Post: Make it easier to debug l10n builds. r=maliu This adds the R.txt files produced by the build -- timestamped, so they are kept in order -- to the Task Cluster artifacts, for later comparison. MozReview-Commit-ID: 3hj6XjFDIE4

android-api-16/debug:
    description: "Android 4.0 api-16+ Debug"
    index:
        product: mobile
        job-name: android-api-16-debug
    treeherder:
        platform: android-4-0-armv7-api16/debug
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: api-16-debug
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-x86/opt:
    description: "Android 4.2 x86 Opt"
    index:
        product: mobile
        job-name: android-x86-opt
    treeherder:
        platform: android-4-2-x86/opt
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest"
            # Increase the timeout because nsContentUtils.o takes a ridiculously
            # long time to compile for x86 when using the current NDKs.  This
            # will eventually get fixed, but for now we have to live with this.
            # See https://github.com/android-ndk/ndk/issues/522 for more context.
            SCCACHE_IDLE_TIMEOUT: "1500"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: x86
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-x86-nightly/opt:
    description: "Android 4.2 x86 Nightly"
    attributes:
        nightly: true
    index:
        product: mobile
        job-name: android-x86-opt
        type: nightly
    treeherder:
        platform: android-4-2-x86/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest"
            # Increase the timeout because nsContentUtils.o takes a ridiculously
            # long time to compile for x86 when using the current NDKs.  This
            # will eventually get fixed, but for now we have to live with this.
            # See https://github.com/android-ndk/ndk/issues/522 for more context.
            SCCACHE_IDLE_TIMEOUT: "1500"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
            - taskcluster_nightly.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: x86
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-api-16/opt:
    description: "Android 4.0 api-16+ Opt"
    index:
        product: mobile
        job-name: android-api-16-opt
    treeherder:
        platform: android-4-0-armv7-api16/opt
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: api-16
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-api-16-nightly/opt:
    description: "Android 4.0 api-16+ Nightly"
    attributes:
        nightly: true
    index:
        product: mobile
        job-name: android-api-16-opt
        type: nightly-with-multi-l10n
    treeherder:
        platform: android-4-0-armv7-api16/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
            - taskcluster_nightly.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: api-16
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-x86-old-id/opt:
    description: "Android 4.2 x86 Opt OldId"
    index:
        product: mobile
        job-name: android-x86-old-id-opt
    treeherder:
        platform: android-4-2-x86-old-id/opt
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest"
            # Increase the timeout because nsContentUtils.o takes a ridiculously
            # long time to compile for x86 when using the current NDKs.  This
            # will eventually get fixed, but for now we have to live with this.
            # See https://github.com/android-ndk/ndk/issues/522 for more context.
            SCCACHE_IDLE_TIMEOUT: "1500"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: x86-old-id
        tooltool-downloads: internal
    run-on-projects: [ 'mozilla-central' ]
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-x86-old-id-nightly/opt:
    description: "Android 4.2 x86 OldId Nightly"
    attributes:
        nightly: true
    index:
        product: mobile
        job-name: android-x86-old-id-opt
        type: nightly
    treeherder:
        platform: android-4-2-x86-old-id/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android-x86/releng.manifest"
            # Increase the timeout because nsContentUtils.o takes a ridiculously
            # long time to compile for x86 when using the current NDKs.  This
            # will eventually get fixed, but for now we have to live with this.
            # See https://github.com/android-ndk/ndk/issues/522 for more context.
            SCCACHE_IDLE_TIMEOUT: "1500"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
            - taskcluster_nightly.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: x86-old-id
        tooltool-downloads: internal
    run-on-projects: [ 'mozilla-central' ]
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-api-16-old-id/opt:
    description: "Android 4.0 api-16+ Opt OldId"
    index:
        product: mobile
        job-name: android-api-16-old-id-opt
    treeherder:
        platform: android-4-0-armv7-api16-old-id/opt
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: api-16-old-id
        tooltool-downloads: internal
    run-on-projects: [ 'mozilla-central' ]
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-api-16-old-id-nightly/opt:
    description: "Android 4.0 api-16+ OldId Nightly"
    attributes:
        nightly: true
    index:
        product: mobile
        job-name: android-api-16-old-id-opt
        type: nightly-with-multi-l10n
    treeherder:
        platform: android-4-0-armv7-api16-old-id/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
            - taskcluster_nightly.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: api-16-old-id
        tooltool-downloads: internal
    run-on-projects: [ 'mozilla-central' ]
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-api-16-gradle/opt:
    description: "Android 4.0 api-16+ (non-Gradle) Opt"
    index:
        product: mobile
        job-name: android-api-16-gradle-opt
    treeherder:
        platform: android-api-16-gradle/opt
        symbol: tc(Bng)
        tier: 1
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: api-16-gradle
        tooltool-downloads: internal
    toolchains:
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-aarch64/opt:
    description: "Android 5.0 AArch64 Opt"
    index:
        product: mobile
        job-name: android-aarch64-opt
    treeherder:
        platform: android-5-0-aarch64/opt
        symbol: tc(B)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: aarch64
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar

android-aarch64-nightly/opt:
    description: "Android 5.0 AArch64 Nightly"
    attributes:
        nightly: true
    index:
        product: mobile
        job-name: android-aarch64-opt
        type: nightly
    treeherder:
        platform: android-5-0-aarch64/opt
        symbol: tc(N)
    worker-type: aws-provisioner-v1/gecko-{level}-b-android
    worker:
        docker-image: {in-tree: android-build}
        max-run-time: 7200
        env:
            GRADLE_USER_HOME: "/builds/worker/workspace/build/src/mobile/android/gradle/dotgradle-offline"
            TOOLTOOL_MANIFEST: "mobile/android/config/tooltool-manifests/android/releng.manifest"
        artifacts:
          - name: public/android/R
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/app/R
            type: directory
          - name: public/android/maven
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview/maven/
            type: directory
          - name: public/build/geckoview_example.apk
            path: /builds/worker/workspace/build/src/obj-firefox/gradle/build/mobile/android/geckoview_example/outputs/apk/geckoview_example-withGeckoBinaries.apk
            type: file
          - name: public/build
            path: /builds/worker/artifacts/
            type: directory
    run:
        using: mozharness
        actions: [get-secrets build multi-l10n update]
        config:
            - builds/releng_base_android_64_builds.py
            - disable_signing.py
            - platform_supports_post_upload_to_latest.py
            - taskcluster_nightly.py
        script: "mozharness/scripts/fx_desktop_build.py"
        secrets: true
        custom-build-variant-cfg: aarch64
        tooltool-downloads: internal
    toolchains:
        - android-gradle-dependencies
        - android-sdk-linux
        - linux64-clang
        - linux64-rust-android
        - linux64-sccache
        - proguard-jar