I try to use Gitlab CI for my iOS project.
My Gitlab Pipeline starts after committing a new git (so far so good).
But after a few seconds, the Pipeline throws the following error:
Running with gitlab-runner 11.9.0 (692ae235)
on MyApp runner with shell DsaBC-oQ
Using Shell executor...
Running on MyComputer.network.provider...
mkdir: /Users/myusername/builds/DsaBC-oQ/0/username/myproj.tmp: Permission denied
mkdir: /Users/myusername/builds/DsaBC-oQ/0/username/myproj.tmp: Permission denied
ERROR: Job failed: exit status 1
I did the following steps:
- register gitlab-runner with the following cmd:
gitlab-runner register \
--non-interactive \
--url "https://gitlab.com/" \
--registration-token "TOKENABCDEF" \
--description "MyApp runner with shell" \
--tag-list ios \
--executor "shell"
- start the runner:
gitlab-runner install
gitlab-runner start
Can you please explain how to get rid of this “permission denied” error in my Pipeline ? (I am on MacOS trying to CI an iOS project).