Skip to main content

Documentation

Stagecoach deploys containerized Drupal to Kubernetes clusters you own. Code promotes up from dev to stage to prod, databases and files copy down, and you drive all of it from your Drupal admin, from Drush, or over the HTTP API.

Get started

Quickstart: pick your plan

On both plans the deploy work runs in your cluster, by a Stagecoach server you install there with one Helm chart: it needs your cluster's credentials to patch Deployments and start Jobs, and stagecoach.sh never holds them. The plans differ in how the stage_coach module in your Drupal admin reaches that server.

Community
Chart in mode: community. The module talks to your server's Service directly, with the server's API token; CI records releases in-cluster with its release token. Only your sites' namespaces can reach the server.
Hosted
Chart in mode: hosted. The module talks to api.stagecoach.sh, which relays to your server, with a site token; CI records releases there with a release token. Nothing can reach the server: it dials out.

Then check the connection with drush stagecoach:grid, open the dashboard at /admin/stage_coach and drag a Code cell onto a later environment, or deploy from Drush: drush stagecoach:deploy stage --release=v2.1.0. Production changes ask you to type the environment name.

How it works

Core concepts

Environments
Dev, stage and prod, each a set of code, database and files. Code promotes up the pipeline; data copies down it.
Deploy
Rolls an image or a recorded release out to an environment, then runs database updates and config import unless you skip them.
Copy-down
Copies the database and files from a higher environment to a lower one. Production is never a copy-down target.
Snapshots and restore
Snapshot an environment's database before risky work and restore it later. Rollback returns an environment to the release before its last deploy.
Releases
CI records the images it builds, so environments deploy by git ref and image digest: exactly the build CI recorded.
Operations and audit
One operation runs at a time, as Kubernetes Jobs that survive restarts. Each is recorded under the Drupal user who started it.

Reference

Reference

Stuck? Contact support, or report a module bug in its issue queue.

stagecoach © 2026 stagecoach.sh

Acquia is a registered trademark of Acquia Inc. Pantheon is a trademark of Pantheon Systems, Inc. Drupal is a registered trademark of Dries Buytaert. stagecoach is not affiliated with, sponsored or endorsed by these companies.