[GitLab CI] - Fatal: can't create directory '/home/ubuntu/.gnupg': Permission denied #33789
-
How are you running Renovate?Self-hosted Renovate If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.Gitlab CI/CD pipeline, Renovate 39.124.0 Please tell us more about your question or problemHello. I am trying to run the Renovate bot via a gitlab CI/CD pipeline. While the pipeline is running, i get a fatal error and it's crashing every time. The error message is as follows: Here is the config that i am using:
Additional information:
Things i've tried so far:
I have tried different solutions i could dig out online, but nothing worked. It seems that i can only alter the behaviour of the bot image via environment variables. Any suggestions would be greatly appreciated. Logs (if relevant)Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Can you try changing the
|
Beta Was this translation helpful? Give feedback.
-
Hi again. I wanted to check back on this because i have found the root cause of the problem. The issue was, that our GitLab is running on a dedicated platform, and all the issues were coming from the runners we have been provided with. I have managed to find a runner that wasn't so severely limited (as much as to not have any user accounts, etc.) and specified the job description using GitLab CICD Job Tags. This worked out of the box, including GPG commit signing, etc. |
Beta Was this translation helpful? Give feedback.
Hi again. I wanted to check back on this because i have found the root cause of the problem. The issue was, that our GitLab is running on a dedicated platform, and all the issues were coming from the runners we have been provided with. I have managed to find a runner that wasn't so severely limited (as much as to not have any user accounts, etc.) and specified the job description using GitLab CICD Job Tags. This worked out of the box, including GPG commit signing, etc.
Wanted to post this, in case someone would come across similar issue (though it's rare, as it stems from the type of infrastructure available).
Again, @rarkins thank you for your help!
Here's the proof: