-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use "withPipelineResourceBinding()" to define taskRun resources? #1987
Comments
+1 |
@majian159 @jwkim1993 : Hi, we've updated our tekton client to |
@majian159 @jwkim1993 : I haven't tried this myself on a tekton setup, but I think you should be able to create a
Am I understanding your question correctly? Could you please share some code sample to elaborate your question a bit ? |
TaskResourceBindingBuilder miss withName and withResourceRef. only PipelineResourceBinding. |
@majian159 : Which version are you trying it on? Actually tekton upgrade hasn't been released yet. Would it be possible for you to build project and test SNAPSHOT version? |
@majian159 : On SNAPSHOT version, I'm able to see these Maybe I should add some example for this |
…updated model + Added TaskRunCreate and TaskCreate example + Updated Tekton model to v0.11.0
…updated model + Added TaskRunCreate and TaskCreate example + Updated Tekton model to v0.11.0
…updated model + Added TaskRunCreate and TaskCreate example + Updated Tekton model to v0.11.0
Issue description
I recently use tekton-client extension to make taskRun with Java.
I tried to define new input resources, and I found withPipelineResourceBinding() function in ".withNewSpec().withNewInputs().addNewResource()".
There are "withName(), withNewResourceSpec()" functions in the above funtion, so that I thought this is to define resources.
However, when I use the function, a runtime error occurs.
How could I use this function properly?
Or, if that function is not for resource definition, what is the right function?
Thanks for replying.
The text was updated successfully, but these errors were encountered: