зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1164608: enable Android builds from try; r=mrrrgn
This adds --no-checkout-sources to mozharness, and just checks the sources out with tc-vcs. --HG-- extra : rebase_source : bd47a8fb70e0d621ea43a489e0847eb9ffff1d0a extra : source : 0300c27a1f5189e36e8ec99348fd643f8ac8241f
This commit is contained in:
Родитель
5c409379a6
Коммит
f6300e2d9f
|
@ -0,0 +1 @@
|
|||
quay.io/djmitche
|
|
@ -1 +1 @@
|
|||
0.0.7
|
||||
0.0.11
|
||||
|
|
|
@ -70,7 +70,7 @@ if [ ! -d build ]; then
|
|||
fi
|
||||
|
||||
# and check out mozilla-central where mozharness will use it as a cache (/builds/hg-shared)
|
||||
tc-vcs checkout /builds/hg-shared/mozilla-central $GECKO_BASE_REPOSITORY $GECKO_HEAD_REPOSITORY $GECKO_REV
|
||||
tc-vcs checkout $WORKSPACE/build/src $GECKO_BASE_REPOSITORY $GECKO_HEAD_REPOSITORY $GECKO_REV
|
||||
|
||||
# run mozharness in XVfb, if necessary; this is an array to maintain the quoting in the -s argument
|
||||
if $NEED_XVFB; then
|
||||
|
@ -131,11 +131,15 @@ for cfg in $MOZHARNESS_CONFIG; do
|
|||
config_cmds="${config_cmds} --config ${cfg}"
|
||||
done
|
||||
|
||||
# Mozharness would ordinarily do the checkouts itself, but they are disabled
|
||||
# here (--no-checkout-sources, --no-clone-tools) as the checkout is performed above.
|
||||
|
||||
./${MOZHARNESS_SCRIPT} ${config_cmds} \
|
||||
$debug_flag \
|
||||
$custom_build_variant_cfg_flag \
|
||||
--disable-mock \
|
||||
--no-setup-mock \
|
||||
--no-checkout-sources \
|
||||
--no-clone-tools \
|
||||
--no-clobber \
|
||||
--no-update \
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
quay.io/djmitche
|
|
@ -25,6 +25,7 @@ flags:
|
|||
- dolphin-512-eng
|
||||
- aries-nightly
|
||||
- aries-eng
|
||||
- android-api-11
|
||||
|
||||
tests:
|
||||
- cppunit
|
||||
|
|
|
@ -100,6 +100,12 @@ builds:
|
|||
types:
|
||||
opt:
|
||||
task: tasks/builds/b2g_dolphin_512_eng.yml
|
||||
android-api-11:
|
||||
platforms:
|
||||
- Android
|
||||
types:
|
||||
opt:
|
||||
task: tasks/builds/android_api_11.yml
|
||||
|
||||
tests:
|
||||
cppunit:
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
$inherits:
|
||||
from: 'tasks/build.yml'
|
||||
variables:
|
||||
build_name: 'android'
|
||||
build_type: 'opt'
|
||||
task:
|
||||
metadata:
|
||||
name: '[TC] Android armv7 API 11+'
|
||||
description: 'Android armv7 API 11+'
|
||||
|
||||
workerType: b2g-desktop-opt
|
||||
|
||||
routes:
|
||||
- 'index.buildbot.branches.{{project}}.android-api-11'
|
||||
- 'index.buildbot.revisions.{{head_rev}}.{{project}}.android-api-11'
|
||||
|
||||
scopes:
|
||||
- 'docker-worker:cache:build-android-api-11-workspace'
|
||||
- 'docker-worker:cache:tooltool-cache'
|
||||
|
||||
payload:
|
||||
image: '{{#docker_image}}desktop-build{{/docker_image}}'
|
||||
cache:
|
||||
build-android-api-11-workspace: '/home/worker/workspace'
|
||||
tooltool-cache: '/home/worker/tools/tooltool-cache'
|
||||
|
||||
env:
|
||||
# 1164623: rename this var
|
||||
GECKO_REV: '{{head_rev}}'
|
||||
# 1164623: rename these three vars
|
||||
MOZHARNESS_BASE_REPOSITORY: '{{mozharness_repository}}'
|
||||
MOZHARNESS_HEAD_REPOSITORY: '{{mozharness_repository}}'
|
||||
MOZHARNESS_REV: '{{mozharness_rev}}'
|
||||
|
||||
MOZHARNESS_SCRIPT: 'mozharness/scripts/fx_desktop_build.py'
|
||||
MOZHARNESS_CONFIG: 'builds/releng_base_android_64_builds.py'
|
||||
MH_CUSTOM_BUILD_VARIANT_CFG: api-11
|
||||
MH_BRANCH: {{project}}
|
||||
MH_BUILD_POOL: taskcluster
|
||||
|
||||
TOOLTOOL_CACHE: '/home/worker/tooltool-cache'
|
||||
RELENGAPI_TOKEN: 'TODO' # 1164612: encrypt this secret
|
||||
|
||||
maxRunTime: 36000
|
||||
|
||||
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-api11
|
||||
# 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.linux-x86_64.tar.bz2'
|
||||
tests: 'public/build/target.tests.zip'
|
||||
|
Загрузка…
Ссылка в новой задаче