GitOps
Bytebase offers a database-as-code workflow, enabling you to manage database changes directly through your version control system (VCS).
Bytebase GitOps workflow is built upon the Bytebase API. It provides the ultimate flexibility to customize the GitOps workflow to integrate with your CI/CD pipeline.
GitHub Actions
To reach your self-hosted Bytebase from GitHub Actions, you can choose either options:
-
Tunnel GitHub Actions using Cloudflare Zero Trust with Cloudflare Warp GitHub Actions.
-
Use self-hosted runners.
Bytebase provides pre-built GitHub Actions to ease the GitHub integration.
API
If the pre-built GitHub Actions do not meet your needs or you want to integrate with other VCSs, you can use the Bytebase API to build your own GitOps workflow.
Legacy GitOps
This feature is deprecated since 3.5.0 and we will sunset it in the future release.
Besides the API-driven GitOps, Bytebase also provides a legacy GitOps workflow based on the VCS webhooks.