Bug 1174206 - Migrate Android x86 builds to TaskCluster and make Tier 2 r=gbrown

This commit is contained in:
Kim Moir 2016-06-29 11:10:30 -04:00
parent 523608513b
commit 7f85dca70f
4 changed files with 79 additions and 0 deletions

View File

@ -60,5 +60,13 @@
"unpack": true, "unpack": true,
"digest": "5ebf4c34e43faba54d189156a1d590f1e99775d1004f18cb7619d9975a5c2bd252021e470abd82bceb28580c1a22dd5501320062a0d83b5588b84633ac30c494", "digest": "5ebf4c34e43faba54d189156a1d590f1e99775d1004f18cb7619d9975a5c2bd252021e470abd82bceb28580c1a22dd5501320062a0d83b5588b84633ac30c494",
"size": 51936348 "size": 51936348
},
{
"size": 30899096,
"visibility": "public",
"digest": "ac9f5f95d11580d3dbeff87e80a585fe4d324b270dabb91b1165686acab47d99fa6651074ab0be09420239a5d6af38bb2c539506962a7b44e0ed4d080bba2953",
"algorithm": "sha512",
"filename": "java_home-1.7.0-openjdk-1.7.0.85.x86_64.tar.xz",
"unpack": true
} }
] ]

View File

@ -17,6 +17,7 @@ flags:
- android-api-15 - android-api-15
- android-api-15-frontend - android-api-15-frontend
- android-partner-sample1 - android-partner-sample1
- android-x86
- linux - linux
- linux-l10n # Desktop l10n - linux-l10n # Desktop l10n
- linux64 - linux64

View File

@ -17,6 +17,12 @@ builds:
types: types:
opt: opt:
task: tasks/builds/android_api_15_partner_sample1.yml task: tasks/builds/android_api_15_partner_sample1.yml
android-x86:
platforms:
- Android
types:
opt:
task: tasks/builds/android_x86.yml
linux: linux:
platforms: platforms:
- Linux - Linux

View File

@ -0,0 +1,64 @@
$inherits:
from: 'tasks/builds/mobile_base.yml'
variables:
build_name: 'android-x86'
build_type: 'opt'
task:
metadata:
name: '[TC] Android x86'
description: 'Android x86'
workerType: linux64-opt
routes:
- 'index.buildbot.branches.{{project}}.android-x86'
- 'index.buildbot.revisions.{{head_rev}}.{{project}}.android-x86'
scopes:
- 'docker-worker:cache:level-{{level}}-{{project}}-build-android-x86-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-x86-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: x86
MH_BRANCH: {{project}}
MH_BUILD_POOL: taskcluster
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-2-x86
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'