Dispra Docs

deploy.lifecycle

What happens from a deployment request to a new version taking the traffic.

  • Starts when: You create a deployment, push to the branch, or apply a config
  • Involved: Dispra API, builders, your service
  • Ends with: The new version is live, or the old one keeps serving
  • Takes: 1 to 5 minutes, mostly the build

Steps

StepWhoWhatCalls / logs
1Your codeStarts a deployment (or a push to the branch starts one).calls Create a deployment
2DispraQueues it and starts building: the image is built from the commit, or the service's image is used as is.logs deploy.started
3DispraStarts the new version next to the old one and runs its health check.
4DispraHealth check passes: the new version takes the traffic, the old one stops.logs deploy.succeeded
4bDispraBuild or health check fails: the old version keeps serving and the deployment ends failed.logs deploy.failed
5Your codeFollows it: reads the deployment, or streams the build log until event end.calls Stream a deployment's logs