ZuploZuplo
LoginSign Up
  • Documentation
  • API Reference
Introduction
Getting Started
    Develop using the Portal
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth4 - Deploy5 - Dynamic Rate LimitingMCP - Quick start
    Develop Locally
      1 - Setup Your Gateway2 - Rate Limiting3 - API Key Auth
Concepts
Development
Policies
Handlers
API Keys
MCP Server
MCP Gateway
AI Gateway
Developer Portal
Monetization
Deploying & Source Control
    Overview
    GitHub
    GitLab
    Bitbucket
      SetupBasic DeploymentDeploy and TestPR Preview EnvironmentsLocal Testing in CITag-Based ReleasesMulti-Stage Deployment
    Azure DevOps
    CircleCI
    Custom CI/CDMonorepo DeploymentRename/Move Project
Observability
Networking & Infrastructure
Account Management
Programming API
Build with AI
Zuplo CLI
Migration Guides
Platform LimitsSecuritySupportTrust & ComplianceChangelog
powered by Zudoku
Bitbucket

Bitbucket Pipelines: Local Testing in CI

Test against a local Zuplo server before deploying anywhere.

bitbucket-pipelines.yml
image: node:20 pipelines: branches: main: - step: name: Local Testing script: - npm install - npx zuplo dev & - sleep 10 - npx zuplo test --endpoint http://localhost:9000 - kill %1 - step: name: Deploy to Zuplo script: - npm install - npx zuplo deploy --api-key "$ZUPLO_API_KEY"

Local tests run first. Only if they pass does deployment proceed.

Next Steps

  • Add multi-stage deployment with staging
Edit this page
Last modified on December 3, 2025
PR Preview EnvironmentsTag-Based Releases
On this page
  • Next Steps
YAML