Deploy pipeline
Every deploy runs through these steps:
-
Package -- The CLI creates a tarball from
git ls-files. Only committed files are included. Use--include-untrackedto add untracked files. - Upload -- The tarball goes to the Hadoken API.
- Build -- A build job produces a container image from your source using Cloud Native Buildpacks. No Dockerfile needed.
-
Migrate --
rails db:prepareruns automatically. -
Deploy -- Your container is deployed. A health
check on
/upconfirms the app is ready. - TLS -- A Let's Encrypt certificate is provisioned for your subdomain.
Deploy statuses
building --> deploying --> live
\-> failed
\-> build_failed
The CLI polls and waits by default. You can also check manually
with hadoken status --watch.
Rollbacks
If the health check fails, the previous working version stays live.
The deploy status shows failed.