Skip to main content

Mass Environment Deploy

mass environment deploy​

Deploy every instance in an environment, in dependency order

Synopsis​

Deploy Environment

Triggers a deployment of every instance in an environment, in dependency order. Any in-flight environment deployment is cancelled and replaced.

The command returns as soon as the deployment is enqueued; instances are provisioned asynchronously. Watch the deployments stream in the UI or list them with mass deployment list.

Usage​

mass environment deploy <environment>

Arguments​

  • environment: full identifier of the environment to deploy (e.g. ecomm-staging).

Flags​

  • --follow: stream every deployment's logs to stdout until the rollout completes. Each line is prefixed with the instance id so the interleaved output stays grep-friendly when multiple deployments run in parallel.

Examples​

# Deploy every instance in the staging environment.
mass environment deploy ecomm-staging

# Deploy a freshly-forked preview env.
mass environment fork ecomm-production pr42 --copy-environment-defaults
mass environment deploy ecomm-pr42
mass environment deploy [environment] [flags]

Examples​

mass environment deploy ecomm-staging --follow

Options​

      --follow   Stream every deployment's logs to stdout until the rollout completes. Each line is prefixed with the instance id.
-h, --help help for deploy

SEE ALSO​