How to create multi-stage deployments in VCS workflow? #228
-
Hi, On a front page you show a screenshot with nice multi-stage deployment pipeline: Dev->Integration->Staging->Prod. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Failure on our doc. Apology. To use VCS workflow to create multi-stage deployment pipeline, the database from the different environment must use the same database name. This is because we can only identify a single database from a migration file (by extracting the database name from the filename). Please check https://docs.bytebase.com/use-bytebase/vcs-integration/organize-repository-files#approach-2-single-directory for the details, where it also shows a demo setup for this config |
Beta Was this translation helpful? Give feedback.
-
Got that, it works, thanks! |
Beta Was this translation helpful? Give feedback.
Failure on our doc. Apology.
To use VCS workflow to create multi-stage deployment pipeline, the database from the different environment must use the same database name. This is because we can only identify a single database from a migration file (by extracting the database name from the filename).
Please check https://docs.bytebase.com/use-bytebase/vcs-integration/organize-repository-files#approach-2-single-directory for the details, where it also shows a demo setup for this config