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

    • ODC Sprint 196
    • Medium

      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.

        1. image-2021-01-25-14-50-53-941.png
          96 kB
          Karthik Jeeyar
        2. Screen Shot 2021-01-20 at 3.44.33 PM.png
          32 kB
          Andrew Ballantyne
        3. Screenshot from 2021-01-27 12-21-58.png
          18 kB
          Sanket Pathak

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

                Created:
                Updated:
                Resolved: