Unverified Commit 67abe16b authored by Mihai Tabara's avatar Mihai Tabara Committed by GitHub
Browse files

Bug 1630587 - fix mark-as-shipped task Fenix releases (#10021)

parent 909ee734
......@@ -24,7 +24,13 @@ job-template:
description: Mark Fenix as shipped in ship-it
worker-type: ship-it
scopes:
by-level:
'3':
- project:releng:ship-it:action:mark-as-shipped
- project:releng:ship-it:server:production
default:
- project:releng:ship-it:action:mark-as-shipped
- project:releng:ship-it:server:staging
worker: {}
treeherder:
......
......@@ -15,6 +15,20 @@ from taskgraph.util.schema import resolve_keyed_by
transforms = TransformSequence()
@transforms.add
def resolve_keys(config, tasks):
for task in tasks:
resolve_keyed_by(
task,
'scopes',
item_name=task["name"],
**{
'level': config.params["level"],
}
)
yield task
@transforms.add
def make_task_description(config, jobs):
for job in jobs:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment