Bug 1536804 - Add a task for summarising wpt metadata, r=ahal

This task runs on wpt metadata changes and uploads an artifact
containing the summarised metadata.

Depends on D24178

Depends on D24178

Differential Revision: https://phabricator.services.mozilla.com/D24179

--HG--
extra : moz-landing-system : lando
This commit is contained in:
James Graham 2019-04-11 16:39:50 +00:00
Родитель 157b19df11
Коммит 67f9ca11b8
2 изменённых файлов: 32 добавлений и 0 удалений

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

@ -27,6 +27,7 @@ jobs-from:
- node.yml
- python.yml
- webidl.yml
- wpt-metadata.yml
- wpt-manifest.yml
# This is used by run-task based tasks to lookup which build task it

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

@ -0,0 +1,31 @@
job-defaults:
platform: lint/opt
treeherder:
kind: test
tier: 2
worker-type: aws-provisioner-v1/gecko-t-linux-xlarge
worker:
docker-image: {in-tree: "lint"}
max-run-time: 1800
summary:
description: Summarize wpt metadata
treeherder:
symbol: wpt-meta
index:
product: source
job-name: source-wpt-metadata-summary
run:
using: mach
mach: wpt-metadata-summary --out-dir=/builds/worker/artifacts
worker:
artifacts:
- type: directory
path: /builds/worker/artifacts
name: public
max-run-time: 2700
when:
files-changed:
- 'testing/web-platform/meta/**'
- 'testing/web-platform/mozilla/meta/**'
- 'testing/web-platform/metasummary.py'