Environments are system-level resource groupings that represent distinct deployment stages (like dev, staging, production) and control how software progresses through your infrastructure.
Environments in Ctrqzlplane are organizational units that group related resources
and deployments within a system. They represent different deployment targets
like “Development”, “Staging”, or “Production”.
Environments work with systems to create a matrix of deployment targets. Each
system can have multiple environments, allowing for deploying a system to
different environments (dev, staging, production, etc.).
When an environment is updated (particularly its resource selector), the system:
Finds resources that newly match the selector
Finds resources that no longer match the selector
Creates release targets for newly matched resources
Removes release targets for unmatched resources
Dispatches appropriate hooks when resources enter or exit environments
Environments act as a key organizational and policy enforcement layer in the
deployment process, controlling how and when deployments can occur to different
resources within systems.