Bug 1188335 - Enable Mulet TaskCluster Gb. r=garndt

This commit is contained in:
Alexandre Lissy 2015-07-28 09:24:00 -04:00
parent 0a3df2a5c7
commit 4d0b7ed7ff
4 changed files with 52 additions and 2 deletions

View File

@ -31,14 +31,20 @@ class GaiaBuildIntegrationTest(GaiaTest):
output_parser = TestSummaryOutputParserHelper(
config=self.config, log_obj=self.log_obj, error_list=self.error_list)
code = self.run_command([
cmd = [
'make',
'build-test-integration',
'REPORTER=mocha-tbpl-reporter',
'NODE_MODULES_SRC=npm-cache',
'VIRTUALENV_EXISTS=1',
'TRY_ENV=1'
], cwd=dirs['abs_gaia_dir'],
]
# for Mulet
if 'firefox' in self.binary_path:
cmd += ['RUNTIME=%s' % self.binary_path]
code = self.run_command(cmd, cwd=dirs['abs_gaia_dir'],
output_parser=output_parser,
output_timeout=600)

View File

@ -102,6 +102,8 @@ tests:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_build_test.yml
tasks/builds/mulet_linux.yml:
task: tasks/tests/mulet_build_test.yml
gaia-build-unit:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:

View File

@ -205,6 +205,8 @@ tests:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:
task: tasks/tests/b2g_build_test.yml
tasks/builds/mulet_linux.yml:
task: tasks/tests/mulet_build_test.yml
gaia-build-unit:
allowed_build_tasks:
tasks/builds/b2g_desktop_opt.yml:

View File

@ -0,0 +1,40 @@
---
$inherits:
from: 'tasks/test.yml'
task:
metadata:
name: '[TC] - Gaia Build Test'
description: Gaia Build Test test run
payload:
command:
- entrypoint # entrypoint ensures we are running in xvfb
- ./bin/pull_gaia.sh &&
- >
python ./mozharness/scripts/gaia_build_integration.py
--application firefox
--no-read-buildbot-config
--config-file ./mozharness/configs/b2g/gaia_integration_config.py
--config-file ./mozharness_configs/gaia_integration_override.py
--config-file ./mozharness_configs/remove_executables.py
--installer-url {{build_url}}
--no-pull
--test-packages-url {{test_packages_url}}
--download-symbols ondemand
--gaia-repo https://hg.mozilla.org/integration/gaia-central
--gaia-dir /home/worker
--xre-url https://queue.taskcluster.net/v1/task/wXAHAaxDQpqxoWF1iljJjg/runs/0/artifacts/public/cache/xulrunner-sdk-40.zip
artifacts:
'public/build':
type: directory
path: '/home/worker/artifacts/'
expires: '{{#from_now}}1 year{{/from_now}}'
extra:
treeherderEnv:
- production
- staging
treeherder:
groupSymbol: "?"
symbol: 'Gb'
productName: b2g