CircleCI
CircleCI: PR Preview Environments
- Applies to
- Gatewayruntime for API, AI, and MCP gateways
- Hosting
- Managed EdgeManaged DedicatedSelf-HostedDiffers
1 difference by hosting option
Self-Hosted
Add --self-hosted-endpoint with your management API hostname to each zuplo deploy and zuplo delete command so it targets your cluster. See zuplo deploy.
Deploy preview environments for pull requests and clean up after tests.
.circleci/config.yml
The deploy step passes --branch with CIRCLE_BRANCH, so the environment is
named after the branch being built. The cleanup step runs after tests complete
(whether they pass or fail), deleting the environment by the same branch name.
Next Steps
- Implement multi-stage deployment for production
Last modified on