Comparison route

Single service comparison

Back to main page

CI Build

Cloud Build

Google Cloud Build is a serverless CI execution service that runs build steps in isolated containers to produce container images, binaries, and deployment artifacts. It is triggered by source-control events (GitHub, Cloud Source Repositories, Container Registry triggers), schedule, or API calls, runs `cloudbuild.yaml` step graphs on managed or private worker pools, and natively pushes results to Artifact Registry. It bills per build-minute and is decoupled from pipeline orchestration.

Google Cloud logo

Google Cloud

Service information

Cloud Build iconCloud Build

Shortname: Cloud Build

Huawei equivalent shortnames: CodeArts Build

Keywords: ci, build, pipeline

Differences vs Huawei

Cloud Build is a standalone, trigger-centric service: a build is a graph of containerized steps defined in `cloudbuild.yaml`, invoked by git pushes, tag events, manual calls, schedule, or Pub/Sub, and exposed through a documented REST/gcloud API. CodeArts Build is the build-execution component inside the CodeArts suite; while it can be invoked directly as a build task, its common entry point is CodeArts Pipeline orchestration rather than an equivalent standalone trigger and webhook surface. Plan for a conceptual shift from trigger-as-entry to task/pipeline-as-entry and re-map every Cloud Build trigger type to a supported CodeArts equivalent, accepting that some trigger flavors (e.g., Pub/Sub, arbitrary webhook) may need surrounding services.

Execution and worker models diverge. Cloud Build offers fixed machine types plus private worker pools that run in your VPC for network-isolated, dependency-cache, and long-running builds. CodeArts Build provides managed build environments with selectable build images, custom image support, and per-tenant concurrency limits, but does not expose a directly equivalent customer-owned VPC worker pool in the same form. Validate concurrency quotas, build-minute ceilings, and any private-network access requirements before assuming parity, especially for builds that must reach on-prem or VPC-hosted package registries.

Integrations, artifact targets, and operational responsibility differ. Cloud Build is wired into Artifact Registry, GKE, Secret Manager, and Cloud Storage by default; build identity is an IAM service account. CodeArts Build integrates with CodeArts Repo, CodeArts Artifact, Software Repository for Containers (SWR), and CodeArts Deploy, with credentials and access keys managed through CodeArts/Huawei IAM. Secret handling, artifact destinations, and RBAC must each be re-pointed, and cross-cloud artifact pushes require explicit credentials, not assumption.

Migration to Huawei

Start with assessment and target selection. Inventory every `cloudbuild.yaml` step, trigger, builder image, machine type, timeout, and IAM service account, then map each to a CodeArts Build task plus a CodeArts Pipeline for orchestration. Use CodeArts Repo if you want source hosting parity, or keep GitHub/GitLab with repository credentials if mirroring is undesirable. Confirm regional availability of CodeArts Build and supporting services (SWR, CodeArts Artifact) for your target region before designing the cutover.

Migrate configuration and data. Translate each `cloudbuild.yaml` step into CodeArts Build actions or build task YAML, choosing equivalent or custom builder images; re-point artifact destinations from Artifact Registry to SWR or CodeArts Artifact, and re-create image promotion stages accordingly. Replace Secret Manager access with Huawei credentials/KMS-backed secrets and re-establish caching (build cache, dependency caches) using the closest CodeArts-supported mechanism, since Cloud Build's automatic layer caching does not map one-to-one.

Migrate triggers and orchestration. Recreate git push, tag, and manual triggers as CodeArts Pipeline events or CodeArts Repo triggers; for schedule and Pub/Sub-style triggers, combine CodeArts Pipeline with FunctionGraph or EventGrid where supported rather than assuming a native flag. Rebuild approval gates, parallel-step fan-out, and substitution-variable logic inside CodeArts Pipeline, since those concerns live in Cloud Build config but belong to pipeline orchestration on Huawei.

Validate, cutover, and recompute cost. Run builds in parallel and compare artifact digests, image sizes, and SBOMs; confirm build times and concurrency under peak load before retiring Cloud Build. Treat CodeArts Build billing (build minutes/executions plus artifact/container storage) as distinct from Cloud Build's per-minute-plus-storage model, and re-derive TCO using peak concurrent builds, monthly build-minutes, image retention, and any cross-region artifact transfer before production cutover.

Huawei Cloud logo

Huawei Cloud

Huawei equivalent service

CodeArts Build iconCodeArts Build

Shortname: CodeArts Build

General function: CI Build

Build automation service for CI workflows.

Keywords: ci, build, pipeline