-
Bug
-
Resolution: Done
-
Critical
-
None
-
Pipelines 1.17.0
-
None
-
3
-
False
-
None
-
False
-
-
-
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