bug 1238009 - in-tree tasks should link their source to the yml file they were generated from. r=dustin

--HG--
extra : rebase_source : d2903aaba85423f5be4658242255b618dbbb86b6
This commit is contained in:
Ted Mielczarek 2016-01-08 10:34:25 -05:00
Родитель 1ea3b20493
Коммит be2aec1bcf
8 изменённых файлов: 9 добавлений и 8 удалений

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

@ -376,7 +376,7 @@ class Graph(object):
graph['scopes'].add(route)
graph['metadata'] = {
'source': 'http://todo.com/what/goes/here',
'source': '{repo}file/{rev}/testing/taskcluster/mach_commands.py'.format(repo=params['head_repository'], rev=params['head_rev']),
'owner': params['owner'],
# TODO: Add full mach commands to this example?
'description': 'Task graph generated via ./mach taskcluster-graph',
@ -389,6 +389,7 @@ class Graph(object):
interactive = cmdline_interactive or build["interactive"]
build_parameters = merge_dicts(parameters, build['additional-parameters']);
build_parameters['build_slugid'] = slugid()
build_parameters['source'] = '{repo}file/{rev}/testing/taskcluster/{file}'.format(repo=params['head_repository'], rev=params['head_rev'], file=build['task'])
build_task = templates.load(build['task'], build_parameters)
# Copy build_* attributes to expose them to post-build tasks

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

@ -7,7 +7,7 @@ task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
metadata:
source: http://todo.com/soon
source: '{{source}}'
owner: mozilla-taskcluster-maintenance@mozilla.com
tags:

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

@ -9,7 +9,7 @@ task:
metadata:
name: 'Docker Artifact Image Builder'
description: 'Builder for docker images as artifacts'
source: http://todo.com/soon
source: '{{source}}'
owner: mozilla-taskcluster-maintenance@mozilla.com
tags:
createdForUser: {{owner}}

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

@ -7,7 +7,7 @@ task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
metadata:
source: http://todo.com/soon
source: '{{source}}'
owner: mozilla-taskcluster-maintenance@mozilla.com
tags:

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

@ -2,7 +2,7 @@ task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
metadata:
source: http://todo.com/soon
source: '{{source}}'
owner: mozilla-taskcluster-maintenance@mozilla.com
tags:
createdForUser: {{owner}}

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

@ -6,7 +6,7 @@ task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
metadata:
source: https://hg.mozilla.org/mozilla-central/file/tip/b2g/simulator
source: '{{source}}'
owner: apoirot@mozilla.com
name: '[TC] FxOS Simulator'
description: 'Firefox OS Simulator addon'

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

@ -6,7 +6,7 @@ task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
metadata:
source: http://todo.com/soon
source: '{{source}}'
owner: amiyaguchi@mozilla.com
name: '[TC] Upload Symbols'
description: 'Upload Symbols'

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

@ -3,7 +3,7 @@ task:
created: '{{now}}'
deadline: '{{#from_now}}24 hours{{/from_now}}'
metadata:
source: http://todo.com/soon
source: '{{source}}'
owner: mozilla-taskcluster-maintenance@mozilla.com
tags:
createdForUser: {{owner}}