Add GitOps Connector in Project
You can add multiple GitOps connectors in the project, each targeting a different database group.
Prerequisites
- There exists at least one configured Git Provider.
- You must be the Project Owner to add GitOps connector in the project.
Procedure
Go to the project you wish to enable GitOps workflow for. Choose GitOps and click Add GitOps connector.
Step 1 - Choose Git provider
Step 2 - Select repository
Select the repository you want to link to the Bytebase project.
Step 3 - Configure deploy
Database Group (Optional)
If specified, Bytebase only applies the migration files from VCS to all the databases in the group. Otherwise, Bytebase applies the migrations to all the databases in the project.
Branch (Required)
The branch where Bytebase observes the migration file.
Base directory (Optional)
/
if not specified. Bytebase only observes migration file changes under this immediate directory (subdirectories ignored). We recommend to create a dedicated directory called bytebase
under the repository root to store all your Bytebase related migration files.
Click Finish button to complete the setup. Check troubleshoot to debug.