Updated on 2025-08-15 GMT+08:00

Setting a Code Repository

Once a code repository (such as Huawei Cloud CodeArts Repo) is configured for an account, the application metadata can be synchronized to it, enabling version management features like historical change records and comparisons.

Constraints

Tenant-level code repositories can be set only in the Huawei Cloud Astro Zero development environment.

Setting a Tenant-level Code Repository

  1. On the homepage of the Huawei Cloud Astro Zero console, click Access Homepage to go to the application development page.
  2. In the upper left corner of the page, click and choose Environments > Environment Configuration.
  3. In the navigation pane, choose Development Configuration > CodeArts Repo Configuration.
  4. On the displayed page, click , set interconnection parameters, and click Save.

    Figure 1 Configuring interconnection parameters
    Table 1 Parameters

    Parameter

    Description

    Repository Address

    HTTPS address of a code repository, as shown in Figure 2.

    Branch

    Repository branch used for archiving code. The default value is master.

    1. Access CodeArts Repo using the IAM account of the code repository member.
    2. In the navigation pane, choose CodeArts Repo.
    3. In the repository list, click the name of the target repository.
    4. On the Branch tab page, view the value of the current branch. The default value is master.

    Tenant

    Huawei account for enabling CodeArts Repo.

    User Name

    IAM username of the repository member.

    Password

    Password used by the IAM user to log in to Huawei Cloud.

    Figure 2 Clone with HTTPS