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

Step Action Reference fails for Artifact hub resolver

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • Pipelines 1.17.0
    • Tekton Pipelines
    • None
    • Pipelines Sprint Crookshank 25, Pipelines Sprint Crookshank 26

      Description of problem:

      Taskrun/ Pipelinerun fails if stepaction is referenced via artifact hub resolver with below error.

      ~~~

      error requesting remote resource: invalid resource request "default/hub-fe2edf246cc29f2db3da1972139e276b": failed to validate params: kind param must be task or pipeline

      ~~~

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

      Steps to Reproduce

      1) Create a task by referring steps action following documentation[1] .

      2) Create a sample taskrun for the task.

      3) Taskrun fails with below error.

      ~~~
      error requesting remote resource: invalid resource request "default/hub-fe2edf246cc29f2db3da1972139e276b": failed to validate params: kind param must be task or pipeline
      ~~~

      [1] https://docs.openshift.com/pipelines/1.17/create/remote-pipelines-tasks-resolvers.html

      Actual results: Task execution fails

      Expected results: Task should run successfully

      Reproducibility (Always/Intermittent/Only Once): Always

      Additional info (Such as Logs, Screenshots, etc):

      Error -: error requesting remote resource: invalid resource request "default/hub-fe2edf246cc29f2db3da1972139e276b": failed to validate params: kind param must be task or pipeline

      It looks like code only validates for task or pipeline. step action is not recognized or implemented  

       

              rh-ee-vbobade Vibhav Bobade
              rhn-support-sudnair Sudhish Nair
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: