deploy.platform.release ​
Orchestrate a full LtInteg platform deployment through Deploy.
Overview ​
| Property | Value |
|---|---|
| Workflow type | Linear |
| Library | App-deployments |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Organization UUID. |
deployment_plan_id | string | No | — | External plan or change id. |
environment | string | Yes | — | Environment to deploy. |
gcp_connection_uuid | uuid | Yes | — | GCP connection UUID. |
registry_config | json | Yes | — | Artifact Registry and Cloud Build defaults. |
services | list | Yes | — | Backend services to build and deploy. |
databases | list | No | — | PostgreSQL databases to provision. |
migrations | list | No | — | Migration commands to run. |
static_sites | list | No | — | Static/frontend artifact manifests to publish through Deploy. |
domains | list | No | — | Domain bindings to apply after rollouts. |
rollout_strategy | string | No | — | Default rollout strategy, immediate or canary. |
approval_policy | json | No | — | Optional approval policy for risky stages. |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | No | — | Echoed organization UUID. |
deployment_plan_id | string | No | — | External plan id. |
environment | string | No | — | Deployed environment. |
image_results | list | No | — | Image build/publish outputs. |
database_results | list | No | — | Provisioned database outputs. |
migration_results | list | No | — | Migration execution outputs. |
service_rollouts | list | No | — | Per-service release/rollout outputs. |
static_results | list | No | — | Static publish outputs. |
domain_results | list | No | — | Domain binding outputs. |
status | string | No | — | Platform release status. |
failure_reason | string | No | — | Engine failure reason. |
failed_step | json | No | — | Failed DAG step envelope. |
failed_layer | json | No | — | Failed DAG layer envelope. |
failed_at_state | string | No | — | State where failure occurred. |
error | string | No | — | Error message. |
error_type | string | No | — | Error class. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
pending | Yes | No | — | execute | — |
executing | No | No | — | complete | — |
completed | No | Yes | Yes | — | — |
failed | No | Yes | No | — | — |
State Diagram ​
Transitions ​
| From | Action | To | Description |
|---|---|---|---|
pending | execute | executing | — |
executing | complete | completed | — |
* (any state) | fail | failed | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "deploy.platform.release",
"initial_data": {
"organization_uuid": "value",
"environment": "value",
"gcp_connection_uuid": "value",
"registry_config": "value"
}
}