bug 1412690 - add task dependencies. r=rail
This patch adds the `release_deps` transform, which adds every kind-dependency task that has the same product as a task dependency (with some exceptions). This patch made it clear that we need a standard way of defining product. MozReview-Commit-ID: 4xOJRQSCTgF
This commit is contained in:
@@ -39,6 +39,7 @@ beetmover_cdns_description_schema = Schema({
|
||||
job_description_schema['worker-type'],
|
||||
{'by-project': {basestring: job_description_schema['worker-type']}},
|
||||
),
|
||||
Optional('dependencies'): {basestring: taskref_or_string},
|
||||
})
|
||||
|
||||
|
||||
@@ -70,16 +71,13 @@ def make_beetmover_cdns_description(config, jobs):
|
||||
bucket_scope = get_beetmover_bucket_scope(config)
|
||||
action_scope = get_beetmover_action_scope(config)
|
||||
|
||||
# TODO
|
||||
dependencies = {}
|
||||
|
||||
task = {
|
||||
'label': label,
|
||||
'description': description,
|
||||
'worker-type': 'scriptworker-prov-v1/beetmoverworker-dev',
|
||||
'scopes': [bucket_scope, action_scope],
|
||||
'product': job['product'],
|
||||
'dependencies': dependencies,
|
||||
'dependencies': job['dependencies'],
|
||||
'attributes': job.get('attributes', {}),
|
||||
'run-on-projects': job.get('run-on-projects'),
|
||||
'treeherder': treeherder,
|
||||
|
||||
Reference in New Issue
Block a user