
- version upgrades
- database migrations
- data backfills
- recovery steps
type that determines what it does:
component_deploy— Deploy a component. Setdeploy_dependentsto also roll out the component’s downstream dependents, in dependency order, orplan_onlyto check for drift without applying the plan. (deployis accepted as a legacy alias.)component_tear_down— Tear down a component. Settear_down_dependentsto also tear down its downstream dependents, with dependents removed first.action— Run an existing action, or an inline command or script defined directly on the step.sandbox_reprovision— Reprovision the install’s sandbox infrastructure. Setskip_component_deploysto reprovision the infrastructure only, without redeploying components on top, orplan_onlyto check for drift without applying or redeploying components.sandbox_deprovision— Deprovision the install’s sandbox infrastructure.
Where runbooks live
Define runbooks as TOML files in arunbooks/ directory in your app config. Each file is one runbook:
nuon apps sync, run from the app’s working directory in your terminal. Whenever you edit a runbook file locally, re-run nuon apps sync to push the changes to Nuon.
Example
Configuration reference
Runbook
Step
An action step uses either
action_name (to run a previously defined action) or the inline fields (command / inline_contents) to define an inline action, not both.
Triggering a runbook
Trigger and watch runs from the Runbooks tab in the dashboard, or from the CLI:A complete example
For a runnable example, see theprogrammable-runbook-and-readme app config in example-app-configs. It has runbooks for an on-call restart and a smoke test, plus rendered READMEs that embed them.