Simple GitOps
Bytebase provides a built-in GitOps workflow out of the box.
This GitOps workflow is opinionated for the simple use case:
- It imposes a naming convention on the migration file.
- It only creates Bytebase rollout issue when the migration file is merged into the target branch. Under the hood, it creates a webhook in the linked repository to observe the merge event.
- If you have successfully rolled out the issue and you want to make further change based on that migration file, you need to create a new migration file instead of editing the original one inline.
You can check this demo issue to see what it looks like after the setup. This issue is created by Bytebase after the PR is merged.
The simple GitOps setup contains 3 steps: