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
Target one or multiple databases
Specify the Database Group
that the migration files apply to from VCS. If not specified, Bytebase will
apply the migration files to all the databases in the project.
Observe branch
Specify the Branch
where Bytebase observes the migration files.
Observe migration files
Specify the Base directory
where Bytebase observes the migration files. Bytebase only observes
migration file changes under this immediate directory (subdirectories ignored).
By default, Bytebase observes the root directory /
.
Click Finish button to complete the setup. Check troubleshoot to debug.