Appearance
Configuring preview environments in Tempest recipes
To deploy this Recipe to specific environments, you’ll need to create a new environment and configure Resources under them.
- Click Add Environment.
- Name the environment and select Preview for the environment type.
- Review the configuration.
- Click Create Environment.
In this example, a preview environment will be provisioned when a pull request opens and deprovisioned when it closes.
This creates a new environment for your Recipe. Every Project created with this Recipe will automatically include configured Preview environments.
To ensure the Preview environment deploys correctly, you’ll need to configure additional resources under this environment. To add Build Trigger and Run Service resources:
- Click the “+” next to the environment name and select Google Cloud.
- Click Build Trigger.
Repeat these steps for Run Service and configure both resources according to your organization’s requirements.
After adding all the resources to your Recipe, click Publish Recipe to share it with your organization’s engineers.
Keep in mind, creating a Recipe doesn't provision any resources—it simply sets up a template for developers to self-serve the infrastructure they need for their projects.
Once published, your Recipe will appear in the Projects -> Discover tab, where developers can use it to create and deploy new Projects.