|
|
|
|
|
by 100k
4041 days ago
|
|
I really enjoy reading how organizations have implemented continuous deployment. One question I have which is not addressed by the article is how to deal with database changes. Every database has difficulty with schema migrations to one degree or another, but MySQL (which IIRC is what GitHub uses) is particularly bad. In my organization, we are VERY careful with any deploy that contains a migration. (I suppose this is where GitHub's staging environments with real world datasets come in.) One workaround I've considered is automatically deploying code that doesn't contain a migration (which is the vast majority) and forcing a more manual approach to database migrations, to make sure people are on hand to roll it back if necessary. |
|