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

re-running the pipelinerun with pipelinespec crashes the UI

    XMLWordPrintable

Details

    • ODC Sprint 196
    • Medium

    Description

      Description of problem:

      While re-running the pipelineRun with embedded pipelinespec causes the UI to crash.

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

      Openshift Pipeline Operator 1.2

      Steps to Reproduce

      1. create a pipeline with embedded pipelineSpec
      apiVersion: tekton.dev/v1beta1
      kind: PipelineRun
      metadata:
        name: pipelinerun-with-taskspec-to-echo-good-morning
      spec:
        pipelineSpec:
          tasks:
            - name: echo-good-morning
              taskSpec:
                metadata:
                  labels:
                    app: "example"
                steps:
                  - name: echo
                    image: ubuntu
                    script: |
                      #!/usr/bin/env bash
                      echo "Good Morning!"

      Actual results:

      rerun action throws an error in the browser console

      Expected results:

      re-run action should not result in unhandled error and it should re run the pipelinerun successfully.

      Reproducibility (Always/Intermittent/Only Once):

      Always

      Build Details:

      Additional info:

      Attachments

        Activity

          People

            ariroy@redhat.com Aritra Roy (Inactive)
            karthik.jk Karthik Jeeyar
            Gajanan More Gajanan More (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: