GitLab
GitLab CI/CD: MR 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 merge requests and clean up when they close.
.gitlab-ci.yml
The cleanup job only runs for merge request pipelines, deleting the preview environment after tests pass.
Next Steps
- Implement multi-stage deployment for production
Last modified on