On Tue, Sep 18, 2018 at 3:19 AM, Florian Ebeling
<
florian...@gmail.com> wrote:
> Is there a common practice how to apply migrations for staging systems
> running various feature branches?
>
> Assume there is a db of significant size, and feature branches including
> migrations are pushed to this server instance.
Can you have a staging system per feature branch? If you're working
in the cloud it's not a huge deal to set that up, and once you have the
infra code written (chef, terraform, etc.), you can have those systems
only run while they're being used.
Alternatives:
1) multiple dockerized db instances per staging server
2) discrete db schema per feature branch on one big DB server
3) have staging deployments do an initial refresh from a base image
Very much an "it depends" question :-)
FWIW,
--
Hassan Schroeder ------------------------
hassan.s...@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote