mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Bug 1240184 - run mozharness tests in the gecko task graph. r=dustin
--HG-- extra : rebase_source : e86d1003e6a92afb8e6a94d8d6dc46f23b7d3327
This commit is contained in:
parent
08a17f586c
commit
ad54655f27
@ -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/**'
|
||||
|
@ -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}}
|
||||
|
@ -1,6 +1,10 @@
|
||||
---
|
||||
$inherits:
|
||||
from: 'tasks/lint.yml'
|
||||
variables:
|
||||
build_product: 'lint'
|
||||
build_name: 'eslint-gecko'
|
||||
build_type: 'opt'
|
||||
|
||||
task:
|
||||
metadata:
|
||||
|
47
testing/taskcluster/tasks/tests/mozharness-gecko.yml
Normal file
47
testing/taskcluster/tasks/tests/mozharness-gecko.yml
Normal 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
|
Loading…
Reference in New Issue
Block a user