Issue
The default task definition task/git-clone/git-clone.yaml sets userHome=/home/git as default value.
When SSH or basic auth is provided, then the task fails during copy of required folders, i.e. here:
'/home/git/.git-credentials': No such file or directory
Workaround
- either
mkdir "${PARAM_USER_HOME}" within task's script, works as root only
- or mount an
emptyDir volume under /home/git (works also as non-root)
- or use the already existing
/tekton/home (works also as non-root)
Additional Info
The documentation mentions /tekton/home as default.
Most probably related to #62
Issue
The default task definition task/git-clone/git-clone.yaml sets
userHome=/home/gitas default value.When SSH or basic auth is provided, then the task fails during copy of required folders, i.e. here:
Workaround
mkdir "${PARAM_USER_HOME}"within task's script, works as root onlyemptyDirvolume under/home/git(works also as non-root)/tekton/home(works also as non-root)Additional Info
The documentation mentions
/tekton/homeas default.Most probably related to #62