-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
"/workspace" in the path of "output resource" #1642
Comments
/label bug I think you only need a |
/kind question /cc @dlorenc @bobcatfish |
@vdemeester So there are two scenario:
The I think, we should document it at least. |
Thanks for looking into this. The inconsistent behaviour sounds like a bug to me. @vdemeester @bobcatfish @dlorenc @skaegi do we want to support mounting resources outside of /workspace? |
@vdemeester @afrittoli |
@vincent-pli Yes, I think the right solution is for I see that your current PR to solve this issue prepends |
@sbwsg |
For whatever reason Admittedly very confusing 😅 |
I'm confuse, maybe missing something.
I have a
task
withoutput resource
andtargetpath
, like this:Simple, but get error:
touch: /workspace/pengli/builtImage/README.md: No such file or directory
I checked the env, actually
/pengli/builtImage/
is created.I have no idea if it's a mistake, but I think
/workspace/*
should be the correct one, sincecontainer
s in pod shared file system only with several mount points,/workspace/*
is one of them. we expect sharing in containers.Expected Behavior
Taskrun
sucessActual Behavior
Failed
Steps to Reproduce the Problem
Additional Info
The text was updated successfully, but these errors were encountered: