Introducing our new integration to GitLab, which creates repositories and add members directly from Anchorpoint. The integration supports GitLab's cloud and self-hosted versions.
Matthäus Niedoba
February 27, 2024
5
min read
Content
We want to introduce a new integration with GitLab, including both the cloud version (gitlab.com) and the self-hosted version. This integration enables the creation of repositories on GitLab and the addition of members directly from Anchorpoint. When you create a project and add members in Anchorpoint, everything is automatically synced to GitLab.
Using GitLab for Unreal and Unity projects
GitLab is the market leader in DevSecOps, offering a comprehensive platform for the entire development process, from planning to delivery. It provides advanced security options to protect your intellectual property and scales effectively for large game projects with big teams. You have the option to use GitLab's cloud service or self-host it on your own system.
It’s for non technical users
This is for all Anchorpoint users who prefer not to leave the Anchorpoint interface, especially artists who may not regularly use GitLab. They can easily create repositories from Anchorpoint. With Anchorpoint's automatic Large File Storage (LFS) configuration, they can set up projects with just a few clicks and start working immediately, without waiting for an admin to configure the setup.
Developers can still utilize GitLab to view the entire project and the commits from artists.
How does it work?
When you create a project in Anchorpoint and choose the "Git repository" option, you'll see a list of options under "Remote Settings." Select "New GitLab Repository," and Anchorpoint will create a repository with the same name as your project and add the members you selected in the next step of Anchorpoint's project creation process.
Each member will receive an invite to GitLab if they do not already have an account. Every Anchorpoint member also needs a GitLab account.
This way you can create a GitLab repository directly from Anchorpoint
The setup process
First, download and install Anchorpoint. Then, you need a GitLab account and access to your projects. In Anchorpoint, go to "Workspace Settings" / "Integrations" and click on connect to the GitLab integration.
Click on "Workspace Settings" / "Integrations" and click on "Connect" to start the configuration process
This part is only for admins setting up the integration for a self-hosted GitLab
The configuration of the SaaS version of GitLab (gitlab.com) does not require this step. Furthermore, this has to be only configured once and then every team member will be able to connect to your self-hosted GitLab with a few clicks.
Enter the URL of your GitLab self-hosted server
Add your URL of your self-hosted GitLab server and follow the instructions
Create a new application on GitLab
Set the name, URI and the correct scopes
Copy the Application ID and click on Continue
Paste the Application ID from GitLab and click on "Connect to GitLab"
Finally, you will be redirected to GitLab where you have to click on "Authorize"
These steps are necessary for everyone who wants to use the integration
In the next step we will authenticate as a user to GitLab. This has to be done by any Anchorpoint user, who wants to use the integration.
Go through the steps in this popup. If you don't have an explicit group, you can pick the default one that has been assigned to your username. Then, click on "Enter your GitLab credentials"
Once you clicked on "Enter your GitLab credentials" a popup will show up. If you have not created a token for you, you can pick the password option and enter your GitLab username and password.
Click on "Create Test Repository"
Your integration is connected
Now, you can create repositories directly from Anchorpoint. Anchorpoint created a test repository on GitLab to verify that the integration is working properly. You can delete this at the end.
Delete the test repository when you are done with the configuration
For more information or help troubleshooting the integration, visit our documentation.
The most Git-based and artist-focused solution
Use Anchorpoint with GitLab for a robust and art-friendly development pipeline. It's fully compatible with Git and includes features like file locking and art asset management that make it easy to bring all your pipeline components together.