Bug 1277975 - Add jobKind to task definitions r=dustin

Adding jobKind to task definitions allow tasks to be categorized appropriately on
treeherder once jobs are consumed via pulse messages.  The available options are:
test, build, and other.

This should cover most of the tasks within the graph and if there are any issues,
it will not cause the job to not show up, but might affect job failure color.

Any tasks not covered by this change will default to "other" within treeherder.

MozReview-Commit-ID: 6fq25JvpDXz

--HG--
extra : rebase_source : 8670f45d51941d978a44596cc6e9ceb4e85efd3c
This commit is contained in:
Gregory Arndt 2016-06-13 11:56:41 -05:00
Родитель 1d9f4fd998
Коммит a963e59e11
9 изменённых файлов: 10 добавлений и 0 удалений

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

@ -49,6 +49,7 @@ task:
- staging
- production
treeherder:
jobKind: other
revision: {{head_rev}}
revision_hash: {{revision_hash}}
build:

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

@ -38,6 +38,7 @@ task:
index:
rank: {{pushlog_id}}
treeherder:
jobKind: build
groupSymbol: tc
groupName: Submitted by taskcluster
symbol: B

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

@ -67,5 +67,6 @@ task:
index:
rank: {{pushlog_id}}
treeherder:
jobKind: test
groupSymbol: tc
groupName: Submitted by taskcluster

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

@ -46,6 +46,7 @@ task:
- staging
- production
treeherder:
jobKind: other
build:
platform: 'taskcluster-images'
symbol: 'I'

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

@ -38,3 +38,5 @@ task:
build_type: {{build_type}}
index:
rank: {{pushlog_id}}
treeherder:
jobKind: test

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

@ -63,6 +63,7 @@ task:
index:
rank: {{pushlog_id}}
treeherder:
jobKind: build
groupSymbol: tc
groupName: Submitted by taskcluster
symbol: B

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

@ -58,6 +58,7 @@ task:
- production
- staging
treeherder:
jobKind: build
groupSymbol: tc-Sim
groupName: Simulator build
symbol: 'S'

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

@ -43,5 +43,6 @@ task:
total: 1
current: {{chunk}}
treeherder:
jobKind: test
groupSymbol: tc
groupName: Submitted by taskcluster

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

@ -14,6 +14,7 @@ task:
- production
- staging
treeherder:
jobKind: build
machine:
# https://github.com/mozilla/treeherder/blob/master/ui/js/values.js
platform: {{platform}}