Available in Classic and VPC
Getting started checks the environmental requirements for SourceCommit, guides you through the quickstart and glossary, and describes what you have to do to use SourceCommit properly. Getting started describes the following:
- User permissions required to use SourceCommit
- How to create a new repository
- How to copy an external repository currently in use
User permissions
Check the SourceCommit permissions for your login account and set the sub account permissions in Menu > All Services > Management & Governance > Sub Account from the console as needed.
- Your account: Full access to all SourceCommit features
- Sub accounts created by you: Requires one of the following permissions to use SourceCommit:
- NCP_INFRA_MANAGER: Access to all services, except for the My Account > Manage billing information and expense > Manage billing and payment menu on the console
- NCP_SOURCECOMMIT_MANAGER: Full access to all SourceCommit features
To set detailed permissions for each action in the sub account, see the following documentation:
Create repository
To create a new repository using NAVER Cloud Platform's SourceCommit:
- Access the NAVER Cloud Platform console.
- In the top-right corner, click Region & Platform.
- Select your region and platform, then click [Apply].
- In the top-left corner, click Menu.
- Navigate to All Services > Developer Tools > SourceCommit.
- Click [Create repository].
- When the repository creation interface appears, follow the steps in order:
1. Basic settings
- Enter the name and description of the repository.
- Select the initialization setting options, and click [Next].
- To automatically create the
READMEfile, select Add a README. - Select whether to create the
.gitignoretemplate file (default: Add a .gitignore: None, not created).
- To automatically create the
If you select the gitignore platform type from the list, the .gitignore template file corresponding to the selected platform is automatically created when you create the repository.
2. Security product integration
Select whether to integrate the File Safer service.
- If you do not want to use the File Safer service integration, click [Next].
- To integrate the File Safer service with the repository after subscribing to it, click Subscribe to FILE SAFER.
- If you are using the File Safer service, select Integrate with FILE SAFER (FILE FILTER), and click [Next].
Using File Safer allows you to scan for malicious code infections on a per-commit basis and check the possibility of false positives from antivirus software before deploying source files in the repository, enabling you to perform development tasks more safely and conveniently.
3. Storage product integration
Select whether to enable GIT LFS - Object Storage bucket.
- If you do not want to enable the Object Storage bucket, click [Next].
- For more information about how to set Object Storage integration, see "Object Storage bucket integration settings."
- If Object Storage is integrated, select Enable Object Storage (bucket) integration and click [Next].
To integrate a bucket, the SourceCommit service must be integrated with Object Storage.
4. Final confirmation
After confirming the configured repository information, click [Create].
In the repository list, Creating is displayed in the Status column for the newly created repository. Once creation is complete, Operating is displayed.
Copy external repository
To create a repository by copying an external Git repository currently in use:
- In the NAVER Cloud Platform console, navigate to Menu > All Services > Developer Tools > SourceCommit.
- Click [Copy external repository].
- When the repository creation interface appears, follow the steps in order:
1. Basic settings
- Enter the name and description of the repository.
- In Git URL to be copied, enter the URL of the external Git repository currently in use.
- Select the external repository type.
- If the external repository is a public repository, proceed to the next step.
- If the external repository is a private repository, select private repository and enter the ID and password.
- In Check Git connection, click [Check] to confirm a normal connection, and then click [Next].
- Once a normal connection is confirmed, the border of the required input fields turns green and [Next] becomes enabled.
- Check the URL and authentication information of the Git repository to copy in the UI console of the external repository being used.
- You cannot proceed to the next step until the connection with the entered Git repository URL is confirmed.
2. Security product integration
Select whether to integrate the File Safer service.
- If you do not want to use the File Safer service integration, click [Next].
- To integrate the File Safer service with the repository after subscribing to it, click Subscribe to FILE SAFER.
- If you are using the File Safer service, select Integrate with FILE SAFER (FILE FILTER), and click [Next].
Using File Safer allows you to scan for malicious code infections on a per-commit basis and check the possibility of false positives from antivirus software before deploying source files in the repository, enabling you to perform development tasks more safely and conveniently.
3. Storage product integration
Select whether to enable GIT LFS - Object Storage bucket.
- If you do not want to enable the Object Storage bucket, click [Next].
- For more information about how to set Object Storage integration, see "Object Storage bucket integration settings."
- If Object Storage is integrated, select Enable Object Storage (bucket) integration and click [Next].
To integrate a bucket, the SourceCommit service must be integrated with Object Storage.
4. Final confirmation
After confirming the configured repository information, click [Create].
In the repository list, Creating is displayed in the Status column for the newly created repository. Once creation is complete, Operating is displayed.