☁ Huawei Cloud CodeArts Service FAQ’s
Intro
In this article we will scope frequently asked questions about Huawei Cloud CodeArts Service.
What Languages, Environments, and Applications Does CodeArts Support? 🔎
CodeArts supports end-to-end R&D of Internet, web, mobile, embedded, and enterprise applications. It also supports mainstream languages including Java, C, C++, C#, Python, and Go, multiple build environments and tools such as Maven, Ant, and CMake, as well as multiple deployment templates such as Tomcat and Spring Boot.
What are the functions of the CodeArts Pipeline service? ⚙
The CodeArts Pipeline service provides several functions, including allowing users to add, delete, edit, and query pipeline tasks in a visualized manner; supporting permissions control based on accounts, roles, and pipeline operations; supporting management and scheduling of multiple task types, such as build, code check, subpipeline, repository management, deployment, extension type, API Test, and pipeline control (delayed execution and manual review); allowing users to add, delete, and edit pipeline stages as required; allowing users to configure serial and parallel execution of managed tasks in each pipeline stage; and allowing users to configure parameters for the tasks.
What Tasks Can Be Run on a Pipeline? 📑
The following tasks can be added to a pipeline:
● Build
● Check
● Deploy
● Test
● Normal (subpipeline, repository tag creation, Jenkins task, manual review, delayed execution, and pipeline suspension)
Third-party tasks can be scheduled through build, code check, deployment, and test tasks. Subpipeline can invoke other pipelines. Repository tags can be created for Repo code repositories and pushed for version management. Jenkins tasks enable you to schedule and execute specified tasks on Jenkins instances. Delayed execution allows a pipeline to wait for a user-defined period before being executed. Manual review allows a pipeline to continue execution only after being approved by the specified person. You can also suspend a pipeline.
What Are Pass Conditions? ✔
CodeArts Pipeline provides unified pass condition management. Pass conditions are quality metric thresholds used for automated monitoring in a pipeline. You can configure rules and policies as pass conditions to control pipeline execution.
Currently, only pass conditions of standard policies are supported. When configuring a pipeline, click Pass Conditions under a stage. In the Pass Conditions dialog box, move the cursor to the pass condition card and click Add to add the pass condition for this stage, and configure a policy for the pass condition.
● Rules: Set the comparison relationship and threshold criteria for creating and editing policies based on output thresholds of extensions. The comparison relationship and threshold criteria are applied as pipeline pass conditions. Currently, the following extensions are supported:
– Check: You can set thresholds for the problems found in code check results.
If the number of problems is less than or equal to the threshold, the code check is passed and the pipeline continues to run. Otherwise, the code check fails and the pipeline execution is terminated.
– TestPlan: You can set the test pass rate thresholds for APIs in the test suite. When the pass rate is greater than or equal to the threshold, the test is passed, and the pipeline continues to run. Otherwise, the test fails, and execution of the pipeline is terminated.
● Policies: a set of rules. Each rule corresponds to a condition template of the output metric value in an extension. You can select policies during pipeline orchestration as pass conditions to control pipeline execution.
How does the CodeArts Pipeline service ensure security? 🔐
CodeArts Pipeline service has several security mechanisms to protect user data and ensure service continuity and reliability. It uses HTTPS encryption for data transmission, controls access to data and records operations performed on data to protect personal data, and encrypts sensitive data before storing it. It also supports user data backup, logging, and auditing using the Cloud Trace Service (CTS) for security analysis, tracking resource changes, auditing compliance, and locating faults.
CodeArts Pipeline is deployed in two AZs to ensure service continuity and reliability, and Huawei Cloud services and platforms have obtained various security and compliance certifications from authoritative organizations, such as International Organization for Standardization (ISO).
In Which Regions Is CodeArts Available? 🌎
CodeArts is available in the following regions:
● AP-Singapore
● LA-Sao Paulo1
● LA-Mexico City2
● LA-Santiago
● TR-Istanbul
Can I Migrate Code and Work Items to CodeArts from a Local Path or Another Platform? ✈
🌟 Yes!
● Work item migration: CodeArts Req provides the batch upload function. Download the template from CodeArts Req, fill in the work item information in the template, and upload the template. For details, see Importing Work Items in Batches.
● Code migration: CodeArts Repo allows code migration from a local or online Git repository. For details, see Migrating Repositories.
Conclusion 🎉
Huawei cloud offers many solves for IT world and Codearts service is one of them. With Codearts; DevCloud process becoming more easy. Check Huawei Cloud website for more information.