Bitbucket
Bitbucket Pipelines: 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 when they close.
bitbucket-pipelines.yml
The deploy step passes --branch with BITBUCKET_BRANCH, so the environment is
named after the pull request's source branch. The cleanup step deletes the
environment by the same branch name after tests complete.
Next Steps
- Implement multi-stage deployment for production
Last modified on