|
|
|
|
|
by bobsy
4733 days ago
|
|
With my employer we deploy several times a day. We have 2 SVN repos. One dev, one live. To make a change live you commit your change to the live repo and it is auto-synced. I am not sure how we came to have this. When I first joined there was a code reviewer who manually pushed changes live. He quit and the server admin made it auto. I wouldn't recommend this set up. I am incredibly competent. I make maybe 1 minor mistake a month - if that - so with me this set up is workable. The other developers I work with.. not so much. The main issue with this set up is newbie developers deploying what they thing is a good fix which breaks in lots of edge cases. Bad patches like that can take weeks to become apparent then longer to chase out of the system as there is no way to simply rollback. For my side project I deploy every Wednesday. Every now and again there is a bug fix which needs to be slipped in on an odd day. I currently deploy manually because I haven't set anything else up. Throw up maintenance page -> update database -> upload new files -> quick test -> remove maintenance page. It is a bit time intensive but I haven't had any problems with it yet. I like to group changes so I can announce them on the same day. |
|
What type of product do you have? Do you have a QA team? Do you track new and close bug counts from week to week? Similarly do you track regression counts from build to build? Does the code base have a high completeness rate for unit tests? Do you only deploy if you pass the unit tests? What if you introduce a bug that screws up the data, do you have a fallback strategy?
I'm curious because I always had a dream to be able to deploy on a daily basis but I've never gotten there "yet". It's always nice to hear what others are doing for daily deployments.