ZuploZuplo
LoginStart for Free
  • 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
    Azure DevOps
      SetupBasic DeploymentDeploy and TestPR Preview EnvironmentsLocal Testing in CITag-Based ReleasesMulti-Stage Deployment
    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

Azure Pipelines

Azure Pipelines brings enterprise-grade CI/CD to your Zuplo API gateway. Build complex deployment workflows with stages, approvals, and integrations across your Azure ecosystem.

Why Azure Pipelines with Zuplo?

The Zuplo CLI integrates naturally with Azure Pipelines YAML workflows:

Enterprise pipeline features — Multi-stage pipelines, deployment jobs, environment approvals, and service connections. Build the exact workflow your organization requires.

Azure ecosystem integration — Deploy alongside your Azure Functions, App Services, and Kubernetes workloads. Manage secrets through Azure Key Vault. Track deployments in Azure DevOps.

Variable groups and templates — Share configuration across pipelines. Define deployment templates once and reuse them across projects.

Compliance and auditing — Full audit trails, branch policies, and approval gates satisfy enterprise compliance requirements.

How It Works

The Zuplo CLI handles deployment and testing. Azure Pipelines orchestrates your workflow:

TerminalCode
# Deploy to Zuplo (environment name from branch or --environment flag) npx zuplo deploy --api-key "$ZUPLO_API_KEY" # Run tests against any Zuplo environment npx zuplo test --endpoint https://your-env.zuplo.dev # Clean up environments you no longer need npx zuplo delete --environment pr-123 --api-key "$ZUPLO_API_KEY" # Test locally before deploying npx zuplo dev # starts local server on port 9000

Use tee to capture deployment output for passing the URL to test stages. The CLI outputs Deployed to https://... which you can parse with grep or sed.

Prerequisites

  1. Disconnect Git integration — If you're using Azure Pipelines for deployments, disconnect the native Git integration to avoid duplicate deployments. Open your project settings, select Source Control, and click Disconnect.

  2. Add your API key — Store your Zuplo API key as a pipeline variable or in a variable group. Go to Pipelines > Library to create a variable group with ZUPLO_API_KEY.

Examples

Start with the workflow that matches your needs:

  • Basic Deployment — Deploy on every push to main
  • Deploy and Test — Run tests after deployment
  • PR Preview Environments — Isolated environments for every pull request
  • Local Testing in CI — Test with local Zuplo server before deploying
  • Tag-Based Releases — Deploy only on tagged releases
  • Multi-Stage Deployment — Staging to production with approval gates

Complete Example Repository

See all these patterns working together in the Zuplo CLI Example Project.

Edit this page
Last modified on May 10, 2026
Multi-Stage DeploymentSetup
On this page
  • Why Azure Pipelines with Zuplo?
  • How It Works
  • Prerequisites
  • Examples
  • Complete Example Repository