Bug 1240184 - run mozharness tests in the gecko task graph. r=dustin

--HG--
extra : rebase_source : e86d1003e6a92afb8e6a94d8d6dc46f23b7d3327
This commit is contained in:
Justin Wood 2016-03-21 17:41:43 -04:00
parent 08a17f586c
commit ad54655f27
4 changed files with 59 additions and 2 deletions

View File

@ -362,3 +362,9 @@ tasks:
file_patterns:
- 'testing/docker/android-gradle-build/**'
- '**/*.gradle'
mozharness:
task: tasks/tests/mozharness-gecko.yml
root: true
when:
file_patterns:
- 'testing/mozharness/**'

View File

@ -34,7 +34,7 @@ task:
extra:
build_product: '{{build_product}}'
build_name: eslint-gecko
build_type: opt
build_name: {{build_name}}
build_type: {{build_type}}
index:
rank: {{pushlog_id}}

View File

@ -1,6 +1,10 @@
---
$inherits:
from: 'tasks/lint.yml'
variables:
build_product: 'lint'
build_name: 'eslint-gecko'
build_type: 'opt'
task:
metadata:

View File

@ -0,0 +1,47 @@
---
$inherits:
from: 'tasks/lint.yml'
variables:
build_product: 'lint'
build_name: 'mozharness-tox'
build_type: 'opt'
task:
metadata:
name: '[TC] - Mozharness Tox'
description: 'Mozharness integration tests'
scopes:
- 'docker-worker:cache:level-{{level}}-{{project}}-dotcache'
payload:
image:
type: 'task-image'
path: 'public/image.tar'
taskId: '{{#task_id_for_image}}desktop-test{{/task_id_for_image}}'
cache:
level-{{level}}-{{project}}-dotcache: '/home/worker/.cache'
command:
- bash
- -cx
- >
tc-vcs checkout ./gecko {{base_repository}} {{head_repository}} {{head_rev}} {{head_ref}} &&
cd gecko/testing/mozharness &&
pip install tox &&
tox -e py27-hg2.6 -e py27-hg3.2
extra:
extra:
build_product: '{{build_product}}'
locations:
build: null
tests: null
treeherder:
machine:
platform: lint
groupSymbol: tc
symbol: MH
treeherderEnv:
- production
- staging