Environments represent deployment targets in your release process. Create environments for development, staging, and production to organize your services, workflows, and resources by deployment stage.
Each environment contains its own set of resources and workflows, keeping your deployments separate and easy to manage.
All and Default views
In the project environment selector, All shows resources from Default and named environments. It excludes preview resources. Default contains resources without a named environment.
Resources created from All default to Default. To place a resource in a named environment, select it in the creation form.
Create an environment
-
Open your project's Dashboard
-
Select Environment beside the plus icon
-
Enter an Environment name (e.g.,
production,staging, ordevelopment) -
Click Create environment
Your environment is now created. You can add workflows, services, jobs, and addons to it.
You can restrict secret groups to selected environments to share values with their services and jobs.
Configure workflows in an environment
Once you have created an environment, you can set up workflows to automate your release process.
Next steps
Configure a workflow
Learn how to use the visual editor or code to configure a workflow.
Run and manage workflows
Run and manage workflows for different environments.
Set up preview blueprints
Create preview blueprints to automatically create preview environments for your branches and pull requests.
Manage preview blueprints
Manage active previews, manually create test environments, and configure automatic cleanup.