Skip to content

Support annotating pipeline steps with tags #12289

@captainsafia

Description

@captainsafia
  1. Rename WellKnownPipelineSteps to WellKnownPipelineTags
  2. Add a List<string> Tags property to PipelineStep.
  3. While collecting pipeline steps from resource annotations in the DistributedApplicationPipelineApplication execution, maintain a dictionary between steps and the resources that it produced.
  4. Add a second pass to the DistributedApplicationPipelineApplication after all steps are collected that allows users to update the DependsOn and RequiredBy in steps.
  5. There should be an API to register a second-pass using either the builder.Pipeline property or a PipelinePassFactory annotation on a resource.
  6. The PipelinePassFactory should expose a Callback that supports async and takes a context that exposes a service provider, the list of pipeline steps, the resource that registered the pass (if it came from a resource).
  7. There should be an API to for pipeline steps with a certain tag and resource. Use the map created in bullet 3 to facilitate this.

Metadata

Metadata

Assignees

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions