Skip to content

Clarification task resolution in shared pipeline #1254

Open
@mpreu

Description

@mpreu

Hi,

it would be nice if resolving remote pipeline definitions could be documented in more detail, specifically how Tasks are resolved from such a reference.

My current understanding (and after some tests using 0.17.x) is that:

  • Remote annotations only work on the PipelineRun level
  • I still have to add task annotations for every task of the remote Pipeline definition in the PipelineRun

This was at least my result after trying to share a linter pipeline across multiple repositories within an organization. In this scenario the referenced pipeline is inside a catalog repository within the org.

If this is correct, I think the documentation should clarify that in more detail.
Furthermore, I think this behavior is rather inconvenient as I still have to write references for each task, although I wanted to share exactly this type of information across.

Feature request:

  • Remote URL task annotations should be supported on a referenced Pipeline
  • Ideally, local task annotations should be supported on the referenced Pipeline as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationfeatureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions