1 Feb 2007 01:18
Re: Continuous Integration Question
Slava Imeshev <imeshev <at> yahoo.com>
2007-02-01 00:18:14 GMT
2007-02-01 00:18:14 GMT
--- Psychie Naill <psychieslash <at> gmail.com> wrote: > I've spent a fair while researching continuous integration. From what I > gather the code is compiled and tested after being checked into the > repository and the results are unknown until afterwards. This suggests that > the head revision in the repository will more than likely be unstable most > of the time. This to me, in my limited experience seems, for want of a > better work, "un-good". I like to only check passing code into the > repository. Letting code into repository only after it has been pronounced good by a judging third-party is extremely inefficient, no matter if a judgment is made automatically or by hand. > This might seem like a stupid question but how come no-one has > come up with a way to only allow passing code into a repository? > Would such a system be counter productive? It is counterproductive. A much more efficient approach is using "good-faith check-in" approach. You run you build and tests cleanly before checking in, update to the latest, repeat clean build and tests. To your best knowledge your submission is clean so you check in. There is a chance of breaking the build as a result of an in-flight code or semantics-level conflict or an environment mismatch here, but this kind of build breakage is caught by a Continuous Integration server like our Parabuild, and is immediately reported back to you so that you can fix the build and move on. The efficiency here is that before-check-in local integration is performed in parallel by all member of the team. Any other system using of a form of(Continue reading)
RSS Feed