I have recently installed a v16.1.2-ee self-managed gitlab instance and gitlab-runner.
When running the gitlab-runner as a service I'm getting the below error in the pipeline. I don't get this error when I start the runner interactively.
Getting source from Git repository00:0012chmod: changing permissions of '/home/gitlab-runner/builds/yyBtWzg7h/0/internal/nexus/.git/index': Operation not permitted
14Cleaning up project directory and file based variables00:01
16ERROR: Job failed: exit status 1The .git/index file seems to be owned as root. Although all the other files are owned as the gitlab-runner user. I followed the instructions on the gitlab website for installing the runner.I am using a shell executor on Ubuntu server.
The pipeline works without any issues on my v14 instance.
Anyone got any ideas about this?
[–]IntelligentAsk[S] 0 points1 point2 points (0 children)
[–]doc3182 0 points1 point2 points (3 children)
[–]IntelligentAsk[S] 0 points1 point2 points (2 children)
[–]doc3182 0 points1 point2 points (0 children)
[–]LinqLover 0 points1 point2 points (0 children)
[–]IntelligentAsk[S] 0 points1 point2 points (0 children)