Closed damien-list closed 8 years ago
Seems to be related to this #771.
I'm wondering how do you handle people working on different branches at the same time. Is it handle by the queue, you explain later in your article ?
Yeah, basically. Most branches will probably only go through this check period for a couple minutes to ten minutes, so there's not going to be a lot of hold up involved when others are waiting to deploy.
Otherwise, pushing a branch into production means you need to merge all diffs between the moment you branch and the master branch which is in prod
Something I left out is that master should be merged into the branch you're deploying prior to deploying it to production. That way you know that your branch is a superset of all commits rather than a subset.
Do you deploy the branch to all servers with the new feature behind feature flags ? Or do you deploy to a subset of servers, and is there any interesting tooling around that?
Could be either, really. I think usually you'll just want to deploy it to all of production at once... if it's properly behind a feature flag then it should be cordoned off anyway. Sometimes it's worthwhile to feature flag just on particular servers, though, if you're slowly rolling it out to everyone in general or if you're worried about byproducts of that code that might get run.
Hi,
Just read your great article on How to deploy Software and one thing is not very clear to me about the branch deploy strategy.
Can you explain a little bit more this strategy ? I'm wondering how do you handle people working on different branches at the same time. Is it handle by the queue, you explain later in your article ? Otherwise, pushing a branch into production means you need to merge all diffs between the moment you branch and the master branch which is in prod. Don't you think it's counter-productive to merge all these diffs on our own branch and then push it to prod, knowing that there there will be a merge of our own branch later in the master branch ?
Not sure if I've made myself clear enough, but let's discuss it. :)