Skip to main content
Version: 4.x

Environments

Overview

Environments are the runtime environments of your applications, typically development, test and production. Deployments and configuration management use them to separate settings per environment.

Environments

Fields

  • Name: e.g. Test or Production.
  • Identifier: unique, letters, digits and underscores; used as the env parameter of the configuration API and as $SPUG_ENV_KEY in deploy scripts.
  • Description: optional.

Notes

  • An environment referenced by deploy configurations or build records cannot be deleted until those references are removed; deleting an environment also deletes all configuration values of that environment together with their change history.
  • Deploy permissions of roles are granted per environment, so regular users can be limited to the test environment.