Acceptance Criteria for Release Management Maturity Model
Join the DZone community and get the full member experience.Join For Free
i was asked a good question by a colleague a couple of days ago.
on p419 of my book jez and i show and i describe a “configuration and release management maturity model”. my colleague asked: “what are sensible acceptance criteria associated with this model?”.
i am not sure that i can say anything too definitive, but i think that looking for acceptance criteria is a good way to think about it. so here are a few thoughts about some measurable attributes of a project that may help to steer it in the right direction:
the bullet points that follow the evaluation matrix, in the book, give some steer towards more measurable things.
in general jez and i recommend that you focus on the most painful problems first. so, depending on where the biggest hurdles are, you can use cycle-time, defect-count, velocity and down-time as potential sources of measurement. these measures should enable you to set sensible incremental targets for improvement. over time you can ratchet up your expectations and so continue to move the organisation on.
for the highest levels in the matrix i would expect values along the lines of:
defect-count: not sure that i can set too many expectations here, so much is too project specific. in general though i think that trends rather than numbers are important in the early days of establishing process.
a lot of people talk about zero defect processes and i am a big believer in that for many projects. however for a large team, and/or project that covers a large surface-area of features, i think that this is often impractical. this is not because you can’t achieve the quality, you can, but it is often complex to differentiate between a bug and a new feature. this means that it can be valid to maintain a backlog of “bugs” that are less important than your backlog of features.
a significant area of interest, and so useful data to collect, is where defects are found. so keeping metrics of defects count by deployment-pipeline stage and aiming to find the vast majority before you get anywhere close to production is key.
regression is an important metric here too i think. if your automated testing is good enough you should expect no regression problems.
velocity: the value of a continuous delivery process is to get new features delivered and in use. tracking the actual rate of delivery of complete working code is important, and again it is about trends, there is no absolute measure that makes sense. however, velocity is the only real measure of continuous improvement, a cornerstone of any agile process.
for most projects i would expect to see a, relatively short-term, initial dip in velocity for existing teams adopting cd as a process, as the organisation adapts, people learn how to cope with the new processes and techniques. then i would expect to see velocity begin to build. in part this is a measure of the team’s maturity wrt agile process. high performing teams tend to see a steady increase in velocity over a long period of time, eventually it will begin to plateau a bit.
actually it is not a consistent growth rate. even very good teams tend to achieve improvements in stretches. subjectively, i don’t have any data, teams seem to make significant progress, then go through a phase of stability, drop-off a little bit as they get a bit lax about the process, then make another significant move forward as they apply more effort to improve.
teams newer to the agile approach seem to take a longer time to adopt the “just fix it” mentality that is essential to continuous improvement and so their curve is more like an ‘s’ with a flat-ish start and a strong growth phase. often followed by longer flat periods and more significant “drop-offs”.
down-time: this is a fairly blunt measure of quality, but is also a measure of deployment efficiency – to some extent. you can use it to encourage and direct effort towards shorter more efficient deployments. so you need to include the time that the system is unavailable during release in your downtime calculations.
for world-class performance, where it makes sense, i would expect essentially no downtime caused by the continuous delivery process. it is perfectly possible to release without stopping even complex applications – but of course it is harder
your business model may mean that you don’t have to go that far, that some downtime to release is perfectly acceptable. nevertheless your goal should be to minimize the time it takes, the release, start-up and deployment tests should be quick, a few minutes at most – let’s say 5 minutes as a goal. however if you need to perform significant data-migration as part of your release process you may incur some additional, unavoidable, time penalty for that.
my ideal is that a release should take a few minutes in total. enough time so that i am happy to log on, select a release candidate, push the “release now” button and sit and watch it succeed. even where you have significant data-migration to perform it is worth doing some work to make this efficient, otherwise when you eventually get to the no-downtime release ideal you will have a more complex problem to move state between the old version and the new. the smaller the window in which change can happen in the old version while you are trying to release the new the better.
clearly some of this is subjective but using relative improvements in the measurements of your project can take you a long way forward in being able to steer towards the more global improvements that you want to make.
Published at DZone with permission of Dave Farley, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.