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
    CircleCI
      Basic DeploymentDeploy and TestPR Preview EnvironmentsLocal Testing in CITag-Based ReleasesMulti-Stage Deployment
    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
CircleCI

CircleCI: Deploy and Test

Run your test suite against the deployed environment to validate changes.

.circleci/config.yml
version: 2.1 jobs: deploy: docker: - image: cimg/node:20.0 steps: - checkout - run: npm install - run: name: Deploy to Zuplo command: | set -o pipefail npx zuplo deploy --api-key "$ZUPLO_API_KEY" 2>&1 | tee ./DEPLOYMENT_STDOUT DEPLOYMENT_URL=$(grep -oP 'Deployed to \K(https://[^ ]+)' ./DEPLOYMENT_STDOUT) echo "export DEPLOYMENT_URL=$DEPLOYMENT_URL" >> "$BASH_ENV" - run: name: Run Tests command: npx zuplo test --endpoint "$DEPLOYMENT_URL" workflows: deploy-and-test: jobs: - deploy

This workflow:

  1. Deploys to Zuplo and captures the output
  2. Extracts the deployment URL
  3. Runs tests against the deployed environment

Next Steps

  • Add PR preview environments with cleanup
  • Run local tests before deploying
Edit this page
Last modified on December 3, 2025
Basic DeploymentPR Preview Environments
On this page
  • Next Steps
YAML