Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why am I getting "Pipeline failed due to the user not being verified" & "Detached merge request pipeline" on a Gitlab merge request?

When a non-owner dev pushes a branch to our Gitlab repo, it returns a "pipeline failed" message, with the detail "Pipeline failed due to the user not being verified". On the dev's account, he's getting a prompt to add a credit card to verify him to be eligible for free pipeline minutes.

But I haven't set up any pipelines - I don't have a gitlab-ci.yml file in my repo, neither does the new branch. There are no jobs or schedules under the CI/CD tab of the project on Gitlab. So why is there a marker saying the branch failed in the pipeline?

like image 896
be2213444 Avatar asked Jun 07 '21 16:06

be2213444


People also ask

Why does pipeline fail in Gitlab?

It might be a security vulnerability. The code in your most recent commit could be vulnerable, or a dependency could be at risk, either of which would trigger a failed security test and thus a failed pipeline.

How do I verify my Gitlab account?

Obtain the GitLab username of these users. Create a file called 2FA Verification.md inside of the . gitlab/issue_templates directory of the customer's Account Management project. If that directory does not exist, create it as well.


4 Answers

They say that they will not charge anything on the account or store the details of the card, but they actually charge $1. (which is reversed instantly)

Hence you need a card with international transactions available. (if you're not in the US).

I wonder why this declaration is not made on the website. Definitely doesn't look good on part of such a large company as GitLab!

As for the answer, providing a credit/debit card with international transactions enabled and $1 to spare does the deed.

like image 89
Shivam Khandelwal Avatar answered Oct 11 '22 12:10

Shivam Khandelwal


In my case, I was using my own runner for my project. In that case also, I got this error.

I fixed the error by disabling the shared runner in my project. Under

Setting -> CICD -> Runner (Expand) -> Under the shared runner section, disable Shared runner. 
like image 32
Neron Joseph Avatar answered Oct 11 '22 11:10

Neron Joseph


Gitlab updates about free pipeline minutes available on GitLab.com.

Solve proplem:

  1. Provide a credit or debit card and use the 400 free minutes with shared runners.
  2. You use your own runner and disable shared runners for their project.

Best regards.

like image 5
Tú Phạm Avatar answered Oct 11 '22 12:10

Tú Phạm


For all those still wondering, I contacted Gitlab recently & apparently it's an open issue with them. They said it's possible to merge the branches anyway, but in the end we just added the credit card details anyway (there was a temporary charge). Not ideal, but hopefully will get sorted soon.

like image 3
be2213444 Avatar answered Oct 11 '22 10:10

be2213444