Create a configuration source provider in Resource Manager from GitHub.
Before You Begin
Following are the prerequisites to connect Oracle Cloud Infrastructure
Resource Manager to GitHub.
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.
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.
APIs: Your GitHub server must use GitHub APIs. An example of a GitHub server that doesn't meet this prerequisite is an Azure native GitHub solution (example).
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:
After completing all the prerequisites, follow these steps in the Console to create a configuration source provider from GitHub.
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.
GitHub Free for Organization: https://github.com/org-name
GitHub Free for User Accounts: https://github.com
GitHub team: https://github.com/team-name
Personal access token: Enter the personal access token (PAT).
(Optional)
Add one or more tags to the configuration source provider: Select Show advanced options to show tagging options.
If you have permissions to create a resource, then you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you're not sure whether to apply tags, skip this option or ask an administrator. You can apply tags later.
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.