Bytebase integrates with popular CI/CD platforms to automate database releases through GitOps workflows. When triggered by your CI/CD pipeline, Bytebase creates a release - an immutable package containing all your SQL migration files that can be progressively deployed across environments.

Setup

Before creating releases, you’ll need to install the GitOps integration.

Examples

We provide examples for GitHub, GitLab, Bitbucket, and Azure DevOps below. Adjust the parameters to match your repository structure and rollout workflow.

GitHub

Tutorial: Database GitOps with GitHub Actions

Example: GitHub Actions Release Workflow

GitLab

Tutorial: Database GitOps with GitLab CI

Example: GitLab CI Rollout Pipeline

Bitbucket

Tutorial: Database GitOps with Bitbucket Pipelines

Example: Bitbucket Pipelines Configuration

Azure DevOps

Tutorial: Database GitOps with Azure DevOps Pipeline

Example: Azure DevOps Release Pipeline