зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
1ea3b20493
Коммит
be2aec1bcf
|
@ -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}}
|
||||
|
|
Загрузка…
Ссылка в новой задаче