The page has been translated by Gen AI.

Code Repository

Users can view the list of code repositories used in the project and add new repositories from the code repository menu in the project.

Getting Started with Code Repository

To start using the code repository, follow these steps:

  1. Main page, click the Project card. Move to the Project Dashboard page.
  2. Click the Repository > Code Repository menu from the left menu. Move to the Code Repository page.

Adding a Code Repository

To add a code repository, follow the procedure below.

  1. Code Repository page, click the Add Code Repository button in the top right corner. It will move to the Add Code Repository page.
  2. On the Add Code Repository page, enter/set each item.
  3. Click the Connection Test button.
  4. Click the Save button.
ItemDescription
Repository TypeSelect the repository to use
  • Registered Tool: You can select and use the types of SCM Repository tools available to the user (Github, Gitlab, etc.).
  • DevOps Code: Available if you have applied for DevOps Code use in the Samsung Cloud Platform Console.
  • Unregistered Tool: You can use it by entering the domain of an unregistered tool. The unregistered tool item only appears when the App template is Environment Only (without source code).
New/Existing UsageSelect Create New Repository or Use Existing Repository
Repository InformationEnter repository information
  • When creating a new repository, the URL is composed of the project group name/project name.
Authentication InformationEnter authentication information.
Repository InformationEnter repository information
  • You can use a code repository that is not registered as a tool in the DevOps Console.
  • An additional URL check process is required.
Table. Add Code Repository Input Items

Managing Code Repositories

Code Repository List

ItemDescription
User Permission SettingsUser Permission Settings popup window opens.
Webhook SettingsWebhook Settings popup window opens.
Edit IconAuthentication Information Modification popup window for the code repository opens.
DeleteDeletes the code repository.
When deleting, you can choose whether to delete the code repository in SCM as well.
Table. Code Repository List Screen Items

Adding an Account to a Code Repository

To add an account to a code repository, follow these steps:

  1. On the Code Repository page, click the User Permission Settings icon for the code repository you want to set up. The User Permission Settings popup window opens.
  2. In the User Permission Settings popup window, enter the authentication information for the account you want to add, and then click the Save button to complete adding the account.

Setting up a Webhook for a Code Repository

You can set up a webhook to run a pipeline when changes such as commit, push occur in a code repository branch.

To set up a webhook, follow these steps:

  1. On the Code Repository page, click the Webhook Settings icon for the code repository you want to set up. The Webhook Settings popup window opens.
  2. In the Webhook Settings popup window, click the Add button.
  3. In the Webhook Settings popup window, select the pipeline you want to run, enter the branch name, and then click the Save button to complete setting up the webhook.

Changing an Account in a Code Repository

To change an account in a code repository, follow these steps:

  1. On the Code Repository page, click the Edit icon for the code repository you want to change. The Authentication Information Modification popup window opens.
  2. In the Authentication Information Modification popup window, enter the authentication information and then click the Save button to complete changing the account.

Deleting a Code Repository

To delete a code repository, follow these steps:

  1. On the Code Repository page, click the X icon for the code repository you want to delete. The Code Repository Deletion popup window opens.
  2. In the Code Repository Deletion popup window, select Delete the repository in SCM as well and then click the Confirm button to complete deleting the code repository.
Note

Delete the repository in SCM as well

  • Selected: Both the code repository list and the actual code repository in SCM are deleted.
  • Not selected: Only the code repository list is deleted, and the code repository in SCM remains.
Tenant Notice
Artifact Repository