Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-3792

Same task is getting used for multiple pipelinerun referencing task with same name irrespective of annotation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • Pipelines 1.13.0
    • Pipelines as Code
    • None
    • Pipelines Sprint 255

      Have multiple Pipelinerun in .tekton folder referencing task with same name. Have different annotation on pipelinerun for the task to be fetched. Observe the same task is getting used in all pipelineruns irrespective of annotation

      Reproducer PR https://github.com/piyush-garg/pac-demo/pull/76

      One pipelinerun is referencing a remote pipeline and overwriting the git clone task, other pipelinerun is referencing the hub git clone task, but both pipelinerun using the same task on run. I think the pipelinerun comes first alphatically, annotation from that is considered for all.

      Find the bug during verification of https://issues.redhat.com/browse/SRVKP-3482

              Unassigned Unassigned
              piyushgarg001 Piyush Garg
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: