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
- On the homepage of the Huawei Cloud Astro Zero console, click Access Homepage to go to the application development page.
- In the upper left corner of the page, click
and choose Environments > Environment Configuration.
- In the navigation pane, choose Development Configuration > CodeArts Repo Configuration.
- On the displayed page, click
, set interconnection parameters, and click Save.
Figure 1 Configuring interconnection parametersTable 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.
- Access CodeArts Repo using the IAM account of the code repository member.
- In the navigation pane, choose CodeArts Repo.
- In the repository list, click the name of the target repository.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot