Create a configuration source provider in Resource Manager from GitLab.
Before You Begin
Following are the prerequisites to connect Oracle Cloud Infrastructure
Resource Manager to GitLab.
Private Git server: Network information is required to set up a private endpoint for use with the configuration source provider, including an SSL certificate. For more information, see Private Git Server.
Public Git server: This server must be accessible over the internet using a public IP address. (This accessibility requirement doesn't apply to GitLab.com.)
Resolvable URL: Ensure that Resource Manager can resolve the server URL. Ensure that the server is deployed with a well-known root certificate, such as DigiCert, so that OCI can trust its endpoint.
Network configuration for IP addresses: Configure your network to allow access from OCI
IP address ranges. Ensure that you include ranges for all relevant services, including the Oracle Services Network (tag: OSN).
Ingress rules: Enable network ingress rules on the VCN where the server is deployed to allow access from OCI IP addresses.
Repository permissions: You must have admin or owner permissions for the repository.
Personal access token (PAT): You must have a PAT to the server. To create a PAT, see the relevant guidance and documentation:
The scope read_api is required for use with Resource Manager.
After completing all the prerequisites, follow these steps in the Console to create a configuration source provider from GitLab.
On the Configuration source providers list page, select Create configuration source provider. If you need help finding the list page or the configuration source provider, see Listing Configuration Source Providers.
In the Create configuration source provider panel, enter a name and optional description for the configuration source provider. Avoid entering confidential information.
Select the compartment that you want to store the configuration source provider in.
Personal access token: Enter the personal access token (PAT).
(Optional)
Add tags:
To show tagging options, select Show advanced options.
To add a defined tag, select the namespace and key, then enter a value.
To add a free-form tag, enter a key and value.
Select Create.
To confirm that Resource Manager can access the server URL using the provided authentication information, select the configuration source provider to open its details page, and then select Validate connection.