Skip to main content

systemprompt_cli/commands/cloud/deploy/pipeline/
request.rs

1//! Typed inputs and outputs for [`super::DeployOrchestrator`].
2//!
3//! Copyright (c) systemprompt.io — Business Source License 1.1.
4//! See <https://systemprompt.io> for licensing details.
5
6use std::path::PathBuf;
7
8use systemprompt_cloud::CloudCredentials;
9use systemprompt_identifiers::TenantId;
10
11#[derive(Debug)]
12pub struct DeployRequest {
13    pub tenant_id: TenantId,
14    pub tenant_name: String,
15    pub profile_name: String,
16    pub project_root: PathBuf,
17    pub credentials: CloudCredentials,
18    pub secrets_path: PathBuf,
19    pub signing_key_path: PathBuf,
20    pub options: DeployOptions,
21}
22
23#[derive(Debug, Clone, Copy)]
24pub struct DeployOptions {
25    pub skip_push: bool,
26}
27
28#[derive(Debug)]
29pub struct DeployReport {
30    pub image: String,
31    pub status: String,
32    pub app_url: Option<String>,
33}