Skip to main content
Connect your CI/CD pipeline to Ctrlplane to automatically create deployment versions after successful builds. This triggers the deployment orchestration flow.

How It Works

  1. Your CI/CD pipeline builds and tests your code
  2. After success, CI creates a version in Ctrlplane
  3. Ctrlplane evaluates policies for each release target
  4. Jobs are dispatched to job agents
  5. Deployments execute across your environments

GitHub Actions

Basic Integration

Using the Ctrlplane Action

GitLab CI

Jenkins

CircleCI

Installing ctrlc

The ctrlc CLI is the recommended way to interact with Ctrlplane from CI/CD pipelines.
Set the CTRLPLANE_API_KEY environment variable in your CI secrets.

CLI Reference

Create Version

REST API

For environments where the CLI isn’t available, use the REST API:

Best Practices

Semantic Versioning

Use semantic versions for release branches:

Include Build Metadata

Add useful context to help with debugging:

Idempotency

The ctrlc api upsert version command is idempotent — it creates or updates the version if it already exists. This makes it safe to retry failed CI runs without worrying about duplicate version errors.