Dispra Docs

config.apply

How a dispra.yaml file becomes the state of an environment.

  • Starts when: You change dispra.yaml
  • Involved: Your code, Dispra API
  • Ends with: The environment matches the file, and what changed is deploying
  • Takes: Seconds, plus the deployments

Steps

StepWhoWhatCalls / logs
1Your codeSends the file to plan: every change it would make, in order, and a plan_hash.calls Plan a config file
2YouReview the plan: changes, objects the file leaves out (unmanaged) and warnings.
3Your codeApplies with the plan_hash. If the environment changed since, apply refuses with plan_stale and the new plan.calls Apply a config file
4Dispra APIRuns the steps in order; a refused step stops the apply and reports what ran before it.
5DispraDeploys every service that was created or changed.logs deploy.started

Related