Cloudvea

Deployments and rollbacks

What happens during a deployment, production and preview, redeploys, cancels and rollbacks.

The steps of a deployment#

Every deployment goes through the same steps, shown live with their logs:

  1. Queued: waiting for a free builder (the plan sets how many builds run at once).
  2. Preparing: the source is fetched (a GitHub commit, a ZIP upload or a template).
  3. Building: an image is built from your code with the install and build commands.
  4. Deploying and Starting: the new version starts next to the one that is running.
  5. Health check: Cloudvea calls your app on the health check path and waits for an answer.
  6. Ready: traffic switches to the new version, with no downtime.

If a step fails, the deployment is Failed and the running version keeps serving: a broken build never takes your app offline. Read the log of the failed step to see why; see Troubleshooting.

Production and preview#

  • Production deployments serve the project's public address and its domains.
  • Preview deployments (from GitHub pull requests) build and run your code with the preview environment variables, without touching production. Use them to check a change before it is merged.

Redeploy, cancel and roll back#

  • Redeploy builds the same source again with the current settings and variables, for example after changing an environment variable.
  • Cancel stops a deployment that has not finished yet.
  • Roll back makes an earlier successful production deployment live again. It reuses its image, so it is fast and uses no build minutes.

Who can deploy#

Owners, admins and developers can deploy, redeploy, cancel and roll back; viewers can read deployments and logs. See Teams and roles.

More help

A deployment failed?The usual reasons a build or app fails, and how to fix each one.Still need help?Open a support request from your dashboard and the Cloudvea team will answer.