I am currently setting up a pipeline on OpenShift and I added and installed multiple tasks such as cleanup, git clone, flake8, nose, and buildah. The pipeline was running successfully until I added the buildah task and reran it. Git-clone task ran successfully prior to adding the buildah task. This is the error I had gotten with the git-clone task;
- ‘[‘ false = true ‘]’
- ‘[‘ false = true ‘]’
- ‘[‘ false = true ‘]’
- CHECKOUT_DIR=/workspace/output/
- ‘[‘ true = true ‘]’
- cleandir
- ‘[‘ -d /workspace/output/ ‘]’
- rm -rf /workspace/output//service /workspace/output//tests
rm: cannot remove ‘/workspace/output//service/common/pycache/status.cpython-39.pyc’: Permission denied
rm: cannot remove ‘/workspace/output//service/common/pycache/log_handlers.cpython-39.pyc’: Permission denied
rm: cannot remove ‘/workspace/output//service/pycache/init.cpython-39.pyc’: Permission denied
rm: cannot remove ‘/workspace/output//service/pycache/routes.cpython-39.pyc’: Permission denied
rm: cannot remove ‘/workspace/output//tests/pycache/test_routes.cpython-39.pyc’: Permission denied
How come once I add the buildah task I run into issues with my git-clone task even though I didn’t have issues with my git clone task prior to that? How do I fix this permission denied error with my git clone task?
I tried rerunning the pipeline, but it didn’t fix the problem