Bug 1187946 - enable Nexus B2G builds in Taskcluster; r=wcosta

This commit is contained in:
Mike Shal 2015-09-16 15:42:56 -04:00
Родитель ea511956c4
Коммит 7e67bc7e72
8 изменённых файлов: 143 добавлений и 22 удалений

Просмотреть файл

@ -7,7 +7,7 @@
["/home/cltbld/.ssh", "/home/mock_mozilla/.ssh"],
["/builds/crash-stats-api.token", "/builds/crash-stats-api.token"]
],
"build_targets": [],
"build_targets": ["", "blobfree"],
"upload_files": [
"{objdir}/dist/b2g-*.crashreporter-symbols.zip",
"{objdir}/dist/b2g-*.tar.gz",

Просмотреть файл

@ -20,6 +20,10 @@ flags:
- flame-kk # b2g flame kitkat
- flame-kk-eng # b2g flame eng build
- flame-kk-spark-eng
- nexus-4
- nexus-4-eng
- nexus-5l
- nexus-5l-eng
- dolphin
- dolphin-eng
- dolphin-512

Просмотреть файл

@ -86,6 +86,30 @@ builds:
types:
opt:
task: tasks/builds/b2g_flame_kk_spark_eng.yml
nexus-4:
platforms:
- b2g
types:
opt:
task: tasks/builds/b2g_nexus_4_user.yml
nexus-4-eng:
platforms:
- b2g
types:
opt:
task: tasks/builds/b2g_nexus_4_eng.yml
nexus-5l:
platforms:
- b2g
types:
opt:
task: tasks/builds/b2g_nexus_5l_user.yml
nexus-5l-eng:
platforms:
- b2g
types:
opt:
task: tasks/builds/b2g_nexus_5l_eng.yml
tests:
cppunit:

Просмотреть файл

@ -1,19 +0,0 @@
$inherits:
from: 'tasks/builds/b2g_phone_base.yml'
variables:
build_name: 'nexus-4-eng'
build_type: 'opt'
task:
scopes:
- 'docker-worker:cache:build-nexus-4-eng'
metadata:
name: B2G Nexus 4 Eng
payload:
cache:
build-nexus-4-eng: /home/worker/object-folder
env:
TARGET: 'nexus-4'
DEBUG: 0
extra:
locations:
img: 'private/build/nexus-4.zip'

Просмотреть файл

@ -0,0 +1,34 @@
$inherits:
from: 'tasks/builds/b2g_phone_eng_base.yml'
variables:
build_name: 'nexus-4-eng'
build_type: 'opt'
task:
workerType: flame-kk
scopes:
- 'docker-worker:cache:build-nexus-4-eng'
metadata:
name: '[TC] B2G Nexus 4 Eng'
payload:
cache:
build-nexus-4-eng: /home/worker/object-folder
env:
TARGET: 'nexus-4'
DEBUG: 0
command:
- >
checkout-gecko workspace &&
cd ./workspace/gecko/testing/taskcluster/scripts/phone-builder &&
buildbot_step 'Build' ./build-phone.sh $HOME/workspace
extra:
treeherderEnv:
- production
- staging
treeherder:
symbol: Be
groupSymbol: Nexus 4
groupName: Nexus 4 Device Image
machine:
platform: b2g-device-image
locations:
img: 'private/build/nexus-4.zip'

Просмотреть файл

@ -4,6 +4,7 @@ $inherits:
build_name: 'nexus-4-user'
build_type: 'opt'
task:
workerType: flame-kk
scopes:
- 'docker-worker:cache:build-nexus-4-user'
metadata:
@ -15,11 +16,19 @@ task:
env:
TARGET: 'nexus-4'
DEBUG: 0
command:
- >
checkout-gecko workspace &&
cd ./workspace/gecko/testing/taskcluster/scripts/phone-builder &&
buildbot_step 'Build' ./build-phone.sh $HOME/workspace
extra:
treeherderEnv:
- production
- staging
treeherder:
symbol: B
groupSymbol: Nexus4
groupName: Nexus4 Device Image
groupSymbol: Nexus 4
groupName: Nexus 4 Device Image
machine:
platform: b2g-device-image
locations:

Просмотреть файл

@ -0,0 +1,34 @@
$inherits:
from: 'tasks/builds/b2g_phone_eng_base.yml'
variables:
build_name: 'nexus-5-l-eng'
build_type: 'opt'
task:
workerType: flame-kk
scopes:
- 'docker-worker:cache:build-nexus-5-l-eng'
metadata:
name: '[TC] B2G Nexus 5-L Eng'
payload:
cache:
build-nexus-5-l-eng: /home/worker/object-folder
env:
TARGET: 'nexus-5-l'
DEBUG: 0
command:
- >
checkout-gecko workspace &&
cd ./workspace/gecko/testing/taskcluster/scripts/phone-builder &&
buildbot_step 'Build' ./build-phone.sh $HOME/workspace
extra:
treeherderEnv:
- production
- staging
treeherder:
symbol: Be
groupSymbol: Nexus 5-L
groupName: Nexus 5-L Device Image
machine:
platform: b2g-device-image
locations:
img: 'private/build/nexus-5-l.zip'

Просмотреть файл

@ -0,0 +1,35 @@
$inherits:
from: 'tasks/builds/b2g_phone_base.yml'
variables:
build_name: 'nexus-5-user'
build_type: 'opt'
task:
workerType: flame-kk
scopes:
- 'docker-worker:cache:build-nexus-5-l-user'
metadata:
name: '[TC] B2G Nexus 5-L User'
payload:
cache:
build-nexus-5-l-user: /home/worker/object-folder
env:
TARGET: 'nexus-5-l'
DEBUG: 0
command:
- >
checkout-gecko workspace &&
cd ./workspace/gecko/testing/taskcluster/scripts/phone-builder &&
buildbot_step 'Build' ./build-phone.sh $HOME/workspace
extra:
treeherderEnv:
- production
- staging
treeherder:
symbol: B
groupSymbol: Nexus 5-L
groupName: Nexus 5-L Device Image
machine:
platform: b2g-device-image
locations:
img: 'private/build/nexus-5-l.zip'