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

tkn: unrecognized type string

XMLWordPrintable

    • 1
    • False
    • None
    • False
    • Pipelines Sprint 225, Pipelines Sprint 226, Pipelines Sprint 227

       Actual behavior

      User cannot remove pipeline run with a result of type array/object using tkn 0.24

      Expected behavior

      Any finished pipeline run can be removed

      More info

      $ tkn pr delete -f -n pkumari test-pipeline-nmlfvh
      Failed to get pipelinerun from pkumari namespace 
      Error: unrecognized type: string
      

      Discussion from Slack...
      vdemeester results now have a type..
      vdemeester cli probably do not support this
      pgarg it is failing at getting the pipeline run from namespace before deleting
      pgarg we do have a call to check whether the pipelinerun exist or not (edited)
      pgarg so 0.24 cli has 0.35 pipeline as vendor
      pgarg it is failing here https://github.com/tektoncd/cli/blob/release-v0.24.0/pkg/cmd/pipelinerun/delete.go#L39
      pgarg @vdemeester
      should we fix by bumping the vendor in 0.24 as with operator we ship 0.37 pipeline, or should we ship cli 0.25 (have pipeline 0.37) with operator then

            piyushgarg001 Piyush Garg
            ppitonak Pavol Pitoňák
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: