so, I wrote a pipeline script where I create a virtual environment using virtualenv. I had an error at startup, so I had to restart the pipeline. Only this time I got an error about permission denied, because gitlab cannot delete the files that I created in virtual environment.
warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/pycache/connection.cpython-312.pyc: Permission denied warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/pycache/_request_methods.cpython-312.pyc: Permission denied warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/pycache/filepost.cpython-312.pyc: Permission denied warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/pycache/_collections.cpython-312.pyc: Permission denied warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/_request_methods.py: Permission denied warning: failed to remove my_bot/lib/python3.12/site-packages/urllib3/py.typed: Permission denied warning: failed to remove my_bot/.gitignore: Permission denied Cleaning up project directory and file based variables ERROR: Job failed: exit status 1
how do I log in or delete these files, and even better, how can I avoid this in the future?
I'm new to gitlab, so I tried logging into my runner and running a virtual environment there, which I then deleted. Honestly, I don't have any ideas.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744261381a4565650.html
评论列表(0条)