Problem to solve
On gitlab.com
SaaS, I have a group of projects where I want to run renovate-bot on a number of projects. This bot runs from a Pipeline and needs to access the GitLab REST API. I’m on the Free plan, so as far as I can tell, I can’t create Group Access Tokens or Project Access Tokens. The GITLAB_CI_TOKEN lacks scopes the right permissions and I can’t change these. If I understand correctly, I need to use a Personal Access Token.
However, now I can’t distinguish the actions of this bot from my own, and this gets confusing. So I created a second GitLab user, made it maintainer on my group and registered its PAT to use in the pipeline. Now the actions of the bot are at least distinguishable from my own.
But now I have a new problem: When the bot creates a merge request, a pipeline runs but exits with the error The pipeline failed due to the user not being verified
. I don’t know how to resolve this. Both my own account and the bot user have a verified mail address. Neither have a credit card registered, if that matters. Both my personal user and the bot account have 2FA, if that matters.
I investigated setting up a self-hosted runner, but I’m getting conflicting information:
- In the Pricing FAQ, on the question “Can I bring my own GitLab CI/CD runners?” I read: “Yes, you can bring your own GitLab CI/CD runner with all plans”.
- But in the GitLab Runner docs, under the heading “Use self-managed runners”, I read that I can use these for the Free, Premium and Ultimate tiers, on the Self-managed offering, whereas for the GitLab-hosted runners, it’s the same, but I can also use them on GitLab SaaS.
I now don’t know if I can even register a self-hosted runner or not, let alone if this will resolve my original problem of the bot user not being able to create merge requests and run pipelines.
Versions
Please select whether options apply, and add the version information.
- Self-managed
-
GitLab.com
SaaS - Dedicated
- Self-hosted Runners
Versions
- GitLab (Web:
/help
or self-managed system informationsudo gitlab-rake gitlab:env:info
): - GitLab Runner, if self-hosted (Web
/admin/runners
or CLIgitlab-runner --version
):
Helpful resources
Check the FAQ for helpful documentation, issues/bugs/feature proposals, and troubleshooting tips.
Before opening a new topic, make sure to search for keywords in the forum search
Check the GitLab and GitLab Runner projects for existing issues. If you encounter a bug, please create a bug report issue.
Review existing troubleshooting docs.