taskcluster/ci/legacy/tasks/builds/android_api_15_gradle.yml
author Nick Alexander <nalexander@mozilla.com>
Wed, 31 Aug 2016 11:38:13 -0700
changeset 408123 3cc323454ca207296929482625fee1d3224cc1d8
parent 396747 bade2af0597b172cba28fd2c7322a0cd56eff651
child 411332 e2eaa7a2465d9e1f015b5e7d59b8431f5e0c1f30
permissions -rw-r--r--
Bug 1292762 - Set GRADLE_USER_HOME to avoid sdk-manager-plugin intermittent. r=sebastian MozReview-Commit-ID: 2Ha0B9xelqm

$inherits:
  from: 'tasks/builds/mobile_base.yml'
  variables:
    build_name: 'android-api-15-gradle'
    build_type: 'opt'
task:
  metadata:
      name: '[TC] Android armv7 API 15+ Gradle'
      description: 'Android armv7 API 15+ Gradle'

  workerType: android-api-15

  routes:
    - 'index.buildbot.branches.{{project}}.android-api-15-gradle'
    - 'index.buildbot.revisions.{{head_rev}}.{{project}}.android-api-15-gradle'

  scopes:
    - 'docker-worker:cache:level-{{level}}-{{project}}-build-android-api-15-gradle-workspace'
    - 'docker-worker:cache:tooltool-cache'
    - 'docker-worker:relengapi-proxy:tooltool.download.internal'
    - 'docker-worker:relengapi-proxy:tooltool.download.public'

  payload:
    cache:
      level-{{level}}-{{project}}-build-android-api-15-gradle-workspace: '/home/worker/workspace'
      tooltool-cache: '/home/worker/tooltool-cache'

    features:
      relengAPIProxy: true

    env:
      # inputs to mozharness
      MOZHARNESS_SCRIPT: 'mozharness/scripts/fx_desktop_build.py'
      # TODO: make these additional configuration files go away
      MOZHARNESS_CONFIG: >
          builds/releng_base_android_64_builds.py
          disable_signing.py
          platform_supports_post_upload_to_latest.py
      MOZHARNESS_ACTIONS: "get-secrets build multi-l10n update"
      MH_CUSTOM_BUILD_VARIANT_CFG: api-15-gradle
      MH_BRANCH: {{project}}
      MH_BUILD_POOL: taskcluster
      GRADLE_USER_HOME: '/home/worker/workspace/build/src/dotgradle'

    command: ["/bin/bash", "bin/build.sh"]

  extra:
    treeherderEnv:
      - production
      - staging
    treeherder:
      machine:
        # see https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
        platform: android-4-0-armv7-api15
      groupSymbol: tc
      groupName: Submitted by taskcluster
      symbol: B
      tier: 2
    # Rather then enforcing particular conventions we require that all build
    # tasks provide the "build" extra field to specify where the build and tests
    # files are located.
    locations:
      build: 'public/build/target.apk'
      mozharness: 'public/build/mozharness.zip'
      test_packages: 'public/build/target.test_packages.json'