22 lines
584 B
Text
22 lines
584 B
Text
# ServerDeployPlan Contracts — typed workflow for server deployment step sequencing.
|
|
|
|
{
|
|
StepType = [| 'check, 'task, 'notify |],
|
|
FailMode = [| 'stop, 'warn, 'skip |],
|
|
|
|
DeployStep = {
|
|
id | String,
|
|
name | String,
|
|
type | StepType,
|
|
required | Bool,
|
|
on_fail | FailMode,
|
|
depends_on | Array String | optional,
|
|
timeout_seconds | Number | optional,
|
|
},
|
|
|
|
ServerDeployPlan = {
|
|
name | String,
|
|
steps | Array DeployStep,
|
|
on_failure | [| 'stop_all, 'continue, 'rollback |],
|
|
},
|
|
}
|