Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5357

Visualization does not render when Pipeline & Task share same name

    XMLWordPrintable

Details

    • ODC Sprint 196
    • Medium

    Description

      Description of problem:

      When viewing a Pipeline that shares the same name as the Task (and it's taskRef name) it does not render in the visualization.

      Prerequisites (if any, like setup, operators/versions):

      OpenShift 4.5.24
      Pipelines Operator 1.1.2 (ocp-4.5)

      Steps to Reproduce

      1. Create the Pipeline from this yaml:
        apiVersion: tekton.dev/v1beta1
        kind: Pipeline
        metadata:
          name: myapp-install
        spec:
          tasks:
            - name: myapp-install
              taskRef:
                kind: Task
                name: myapp-install
        

      Actual results:

      Expected results:

      A visualization that renders the node.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      4.5.24 (with 1.1.2)
      4.7.0-0.nightly-2021-01-19-095812 (with 1.2.2)

      Additional info:

      Reported on the Tekton Slack Workspace by someone using "IBM Cloud managed OpenShift".

      Workaround would be to rename the Pipeline or Task.name and the node reappears.

      Attachments

        Activity

          People

            karthik.jk Karthik Jeeyar
            aballantyne Andrew Ballantyne
            Sanket Pathak Sanket Pathak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: