Skip to main content

systemprompt_sync/deploy/
mod.rs

1//! Cloud deploy orchestration.
2//!
3//! [`DeployOrchestrator`] sequences the full tenant deploy pipeline —
4//! pre-deploy file sync, build-artifact validation, Docker image build and
5//! push, secret provisioning (including the `SIGNING_KEY_PEM` transport), and
6//! the final deploy call against the cloud API. Every user-facing rendering
7//! decision is delegated to a caller-supplied [`DeployProgress`]
8//! implementation: the pipeline owns sequencing, the caller owns
9//! presentation.
10//!
11//! Inputs arrive as a typed [`DeployRequest`]; the result is a
12//! [`DeployReport`] whose [`DeployOutcome`] distinguishes a dry run from a
13//! completed deploy.
14//!
15//! Copyright (c) systemprompt.io — Business Source License 1.1.
16//! See <https://systemprompt.io> for licensing details.
17
18mod artifacts;
19mod orchestrator;
20mod pre_sync;
21mod progress;
22mod request;
23
24pub use artifacts::DeployArtifacts;
25pub use orchestrator::DeployOrchestrator;
26pub use progress::{DeployEvent, DeployProgress, DeployPrompt};
27pub use request::{DeployOptions, DeployOutcome, DeployReport, DeployRequest, PreSyncOptions};