import repository¶
This page shows how to import repositories.
prerequisites¶
- Need to create a workspace and a user, the user needs to join the workspace and give
workspace edit
role. Refer to Creating a workspace, Users and roles. - Prepare a Git repository.
import repository¶
If the code warehouse where the manifest file of the continuous deployment application is located is not public, you need to import the warehouse to Workbench in advance. Workbench currently supports two import methods: Import repository using HTTPS
and Import repository using SSH
.
Import repository using HTTPS¶
-
On
Workbench
->GitOps
->Repository
page, click theImport Repository
button and selectUse HTTPS
. -
On the
Import warehouse using HTTPS
page, configure the relevant parameters and clickOK
.
Import repository using SSH¶
-
On
Workbench
->GitOps
->Repository
page, click theImport Repository
button and selectUse SSH
. -
On the
Import warehouse using SSH
page, configure the relevant parameters and clickOK
.
delete repository¶
If you no longer use a code repository, you can delete it by following the steps below.
-
Select a warehouse on the warehouse list page, click
︙
, and clickDelete
in the pop-up menu. -
Click
OK
in the secondary confirmation pop-up window.