Import Repository¶
This page shows how to import repositories.
Prerequisites¶
- A workspace and a user are required to be created. The user needs to join the workspace and be assigned the workspace edit role. Please refer to Creating a Workspace and Users.
- A Git repository is prepared.
Import a repository¶
If the code repository where the manifest files of the continuously deployed application are located is not public, you need to import the repository to Workbench in advance. Workbench currently supports two import methods: Importing a repository using HTTPS and Importing a repository using SSH.
Import a repository using HTTPS¶
-
In the Workbench -> GitOps -> Repositories page, click the Import Repo button and select Use HTTPS.
-
In the Import repo with HTTPS page, configure the relevant parameters and click OK.
Import a repository using SSH¶
-
In the Workbench -> GitOps -> Repositories page, click the Import Repo button and select Use SSH.
-
In the Import repo with SSH page, configure the relevant parameters and click OK.
Delete repository¶
If you no longer use a certain code repository, you can delete it following the steps below.
-
Select a repository in the repository list page, click ︙, and click Delete in the pop-up menu.
-
Click Delete in the second confirmation pop-up window.