How Do I Add the Build Server Address to the GitLab Server Security Group?
Background
If your GitLab service is built on the intranet of a public cloud, and the public network cannot be accessed directly, add the address of the build service to your GitLab server's security group to ensure build task running.
Procedure
- Check the running node of the build image.
- Add the network segment 43.254.0.0/24 where ServiceStage is located to the security group of the node where the GitLab private repository resides. The build service uses this IP address segment to access the GitLab service API. For details about how to set a security group, see Adding a Security Group Rule.
- Add the running node of the build image obtained in 1 to the security group of the node where the GitLab private repository resides. During the build, the build service accesses the GitLab service to pull the code. For details, see 2.


Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.