GitLab
GitLab CI/CD: Multi-Stage Deployment
- 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 command so it targets your cluster. See zuplo deploy.
Deploy to staging, test, then promote to production with approval.
.gitlab-ci.yml
Setting Up Approval
The when: manual setting requires someone to click "Play" in the GitLab UI to
trigger production deployment.
For more control, use Protected Environments:
- Go to Settings > CI/CD > Protected environments
- Add
productionas a protected environment - Specify which users or groups can deploy
Last modified on