Bitbucket
Bitbucket Pipelines: 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.
bitbucket-pipelines.yml
Setting Up Approval
The trigger: manual setting requires someone to click "Run" in the Bitbucket
UI to trigger production deployment.
For more control, use Deployment permissions:
- Go to Repository settings > Deployments
- Create a
productiondeployment environment - Add required reviewers under Deployment restrictions
Last modified on