Skip to content

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. 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

  1. In the Workbench -> GitOps -> Repositories page, click the Import Repo button and select Use HTTPS.

    Import with HTTPS

  2. In the Import repo with HTTPS page, configure the relevant parameters and click OK.

    Comfirm import

Import a repository using SSH

  1. In the Workbench -> GitOps -> Repositories page, click the Import Repo button and select Use SSH.

    Import with SSH

  2. In the Import repo with SSH page, configure the relevant parameters and click OK.

    Comfirm Import

Delete repository

If you no longer use a certain code repository, you can delete it following the steps below.

  1. Select a repository in the repository list page, click , and click Delete in the pop-up menu.

    Delete

  2. Click Delete in the second confirmation pop-up window.

    Delete Confirmation

Comments