Ruby on Rails Tuesday, September 18, 2018

On Tue, Sep 18, 2018 at 3:19 AM, Florian Ebeling
<florian.ebeling@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.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yCmHZWyYSahPc8aeo58NDTequZcqrMNZu8O_Y4DQ9xpvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment