Expand description
Cloud Build Service — Remote CI/CD, OTA Updates, Build Artifact Caching.
Provides the Rust-side types and orchestration for:
- Remote CI/CD: Define build pipelines targeting multiple platforms, track build jobs, and collect results.
- OTA Updates: Version-aware update manifests, bundle diffing metadata, and rollback support for hot-updating JS bundles without app store releases.
- Build Artifact Caching: Content-addressed cache for intermediate build outputs (compiled Rust dylibs, bundled JS, assets) with TTL and invalidation.
This module does NOT perform network I/O — it defines the data model and validation logic. Actual HTTP transport is handled by platform adapters.
Structs§
- Artifact
Cache - In-memory artifact cache with LRU eviction.
- Build
Job - A single build job within a pipeline.
- Build
JobConfig - Configuration for a single build job.
- Build
Pipeline - A build pipeline targeting one or more platforms.
- Bundle
Version - Semantic version for bundles.
- Cache
Entry - A cached build artifact entry.
- Cache
Key - A content-addressed cache key.
- OtaManifest
- Manifest listing available OTA updates for an app.
- OtaUpdate
- A single OTA update entry.
Enums§
- Build
Mode - Build mode (debug vs release).
- Build
Status - Status of a build job.
- Build
Target - Platforms a build can target.
- Cloud
Error - OtaDecision
- Decision about whether to apply an OTA update.
Functions§
- evaluate_
ota - Evaluate whether an OTA update should be applied.
- validate_
pipeline - Validates a build pipeline configuration before submission.