File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
scriptworker_taskgraph/transforms Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,6 @@ transforms:
1515
1616task-defaults :
1717 worker-type : images
18- description : " {name} image builder py{python_version}"
19- name : " {name}-python{python_version}"
2018 worker :
2119 taskcluster-proxy : true
2220 docker-image : {in-tree: skopeo}
Original file line number Diff line number Diff line change 1212transforms = TransformSequence ()
1313
1414
15+ @transforms .add
16+ def set_task_description (config , tasks ):
17+ """Set task description"""
18+ for task in tasks :
19+ env = config .params .get ("docker_tag" ) or "(unknown environment)"
20+ task ["description" ] = f"Push { task ['name' ]} { env } docker image to docker hub"
21+ yield task
22+
23+
1524@transforms .add
1625def set_task_requirements (config , tasks ):
1726 """Set dynamic task requirements"""
You can’t perform that action at this time.
0 commit comments