-
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
Steps with workingDir refuse to start because the directory does not exist on pod startup #725
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
Comments
dicarlo2
added a commit
to dicarlo2/pipeline
that referenced
this issue
Apr 4, 2019
In order to allow steps to define workingDirs that are subdirectories of the workspace directory we need to make sure they have been created first since they will not exist on startup. Fixes tektoncd#725
3 tasks
/assign @dicarlo2 |
Ah nice one @dicarlo2 - I ran into this while dogfooding as well but wrote it off as moby/moby#32708 and gave up on it (i think that's the same problem!) Thanks for being proactive and pushing us to actually fix this XD |
dicarlo2
added a commit
to dicarlo2/pipeline
that referenced
this issue
Apr 23, 2019
In order to allow steps to define workingDirs that are subdirectories of the workspace directory we need to make sure they have been created first since they will not exist on startup. Fixes tektoncd#725
dicarlo2
added a commit
to dicarlo2/pipeline
that referenced
this issue
Apr 23, 2019
In order to allow steps to define workingDirs that are subdirectories of the workspace directory we need to make sure they have been created first since they will not exist on startup. Fixes tektoncd#725
dicarlo2
added a commit
to dicarlo2/pipeline
that referenced
this issue
May 3, 2019
In order to allow steps to define workingDirs that are subdirectories of the workspace directory we need to make sure they have been created first since they will not exist on startup. Fixes tektoncd#725
dicarlo2
added a commit
to dicarlo2/pipeline
that referenced
this issue
May 3, 2019
In order to allow steps to define workingDirs that are subdirectories of the workspace directory we need to make sure they have been created first since they will not exist on startup. Fixes tektoncd#725
3 tasks
tekton-robot
pushed a commit
that referenced
this issue
May 8, 2019
In order to allow steps to define workingDirs that are subdirectories of the workspace directory we need to make sure they have been created first since they will not exist on startup. Fixes #725
wlynch
pushed a commit
to wlynch/pipeline
that referenced
this issue
May 20, 2019
In order to allow steps to define workingDirs that are subdirectories of the workspace directory we need to make sure they have been created first since they will not exist on startup. Fixes tektoncd#725
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/bug
Categorizes issue or PR as related to a bug.
Expected Behavior
We can set the workingDir to a subdirectory of the workspace directory (e.g. the one we plan to populate with a git repository).
Actual Behavior
Pods fail because the containers can't
chdir
into a directory that does not exist. This is likely a bug due to the move from init containers (where the directory would have existed since they start in order).Steps to Reproduce the Problem
Create a task/taskrun with
Additional Info
The text was updated successfully, but these errors were encountered: