Problem:
If the Prevent unregistered user spend
feature is enabled for your Gitlab project, you might see that your builds fail with the following error message: block-unregistered-user
.
When you sign up to CircleCI with your email address, you can accept an invite to a Gitlab project, you will be able to view and follow the project and trigger builds as long as builds are not restricted to registered users. However, if you have not connected your Gitlab user to your CircleCI account upon sign-up, you will not be considered a registered user of the organization and our system will prevent you from triggering a build if the Prevent unregistered user spend
feature is enabled for the organization.
Solution:
You can follow the below steps to connect your Gitlab user to your CircleCI account:
- Log in with your email address and password on CircleCI
- Click on the organization's name in the top left corner of the page and select
Create New Organization
on the drop-down menu:
- Choose to connect your Gitlab account and log in with your Gitlab credentials:
- Authorize CircleCI to connect your account:
If you do not wish to set up an additional organization, please cancel adding a project at this point and navigate away from this page. Your user will be a registered Gitlab user now and you will be able to trigger builds.
Additional Resources:
- How to set up the Prevent unregistered user spend feature
- Steps to integrate GitLab projects with CircleCI
Comments
Article is closed for comments.