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 Workspaces, Users and Roles. - Prepare a Git repository.
Import repository¶
If the codebase where the manifest file of the continuous deployment application is located is not public, you need to import the registry to the application workbench in advance. Application Workbench currently supports two import methods: Import repository using HTTPS
and Import repository using SSH
.
Import repository using HTTPS¶
-
On
Application Workbench
->GitOps
->Repository
page, click theImport Repository
button and selectUse HTTPS
. -
On the
Import registry using HTTPS
page, configure the relevant parameters and clickOK
.
Import repository using SSH¶
-
On
Application Workbench
->GitOps
->Repository
page, click theImport Repository
button and selectUse SSH
. -
On the
Import registry 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 registry on the registry list page, click
︙
, and clickDelete
in the pop-up menu. -
Click
OK
in the secondary confirmation pop-up window.