-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Pipelines 1.18.0
-
2
-
True
-
-
False
-
-
-
Pipelines Sprint Tekshift 36, Pipelines Sprint Tekshift 37
Description of problem:
- Using NFS volume claim template, and the git-clone task, the git-clone task is failing with error "could not open '.git/<path>/<tmp-file>' for reading: Permission denied" file made from the git clone command. This was tested on OpenShift versions 4.18, 4.15, and 4.16, on each version the same error was produced where the git-clone task did not have permissions to the tmp file created after cloning the repository down.
Prerequisites (if any, like setup, operators/versions): 1.18
Steps to Reproduce
- Create pipeline with git-clone task
- Set NFS volume
- Run pipeline with git repo and other params
Actual results:
- Failed with error:
Error running git [fetch --recurse-submodules=yes --depth=1 origin --update-head-ok --force MQ_SorinDev]: exit status 128\nfatal: could not open '.git/<path>/<tmp-file>' for reading: Permission denied
Expected results:
- Cloned repo and TaskRun completed successfully
Reproducibility (Always/Intermittent/Only Once): None
Acceptance criteria:
Definition of Done: