Bug 1102010 - run build unit tests against b2g desktop r=lightsofapollo

--HG--
extra : rebase_source : f0a85bdf4efd88edfc268c80c259fe28cc00c4ca
extra : source : 26455e920ae17901104f5e3dee7685a459ce8898
This commit is contained in:
Greg Arndt 2014-11-26 10:11:39 -08:00
parent 09ea2ff605
commit 7796b333c9
2 changed files with 48 additions and 0 deletions

View File

@ -128,6 +128,10 @@ tests:
# # "allowed platforms" here.
# allowed_build_tasks:
# - builds/b2g_desktop.yml
gaia-build-unit:
allowed_build_tasks:
tasks/builds/b2g_desktop.yml:
task: tasks/tests/b2g_build_unit.yml
mochitests:
allowed_build_tasks:
tasks/builds/b2g_desktop.yml:

View File

@ -0,0 +1,44 @@
---
task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
metadata:
source: http://todo.com/soon
owner: {{owner}}
name: Gaia Build Unit Test
description: Gaia Build Unit Test
workerType: b2gtest
provisionerId: aws-provisioner
scopes:
- 'docker-worker:cache:sources-gaia'
payload:
cache:
sources-gaia: '/home/worker/gaia'
image: '{{#docker_image}}tester{{/docker_image}}'
maxRunTime: 3600
command:
- entrypoint
- ./bin/pull_gaia.sh &&
- >
python ./mozharness/scripts/gaia_build_unit.py
--no-read-buildbot-config
--config-file ./mozharness/configs/b2g/gaia_integration_config.py
--config-file ./mozharness_configs/gaia_integration_override.py
--download-symbols ondemand
--installer-url {{build_url}}
--test-url {{tests_url}}
--gaia-repo https://hg.mozilla.org/integration/gaia-central
--gaia-dir /home/worker
artifacts:
'public/build':
type: directory
path: '/home/worker/artifacts/'
expires: '{{#from_now}}1 year{{/from_now}}'
extra:
treeherder:
symbol: 'Gbu'
productName: b2g