Continuous Integration Guidelines

Guidelines? Well, call it what you want. Best Practices. Things to remember. Principles. Ideas of others. In the end the only thing that matters is that you really think about them, try to practise them, and hopefully struggle so hard that you learn to value them so much you never want to do it otherwise again.

Disclaimer: Keep in mind, sometimes a different approach can be more helpful. There are teams hacking happily and successfully embracing Git Flow or Branches Per Developer.

Practices

It is all about Continuous Integration. And I didn’t make them up, I extracted them from the jaxenter.de DevOps column written in German in late December 2018. However, they made my day, just like the seminal post from Joel Spolsky proposing 12 Steps to Better Code way back in 2000.


  1. Maintain a Single Source Repository
  2. Automate the Build
  3. Make Your Build Self-Testing
  4. Everyone Commits To the Mainline Every Day
  5. Every Commit Should Build the Mainline on an Integration Machine
  6. Fix Broken Builds Immediately
  7. Keep the Build Fast
  8. Test in a Clone of the Production Environment
  9. Make it Easy for Anyone to Get the Latest Executable
  10. Everyone can see what’s happening
  11. Automate Deployment

Further Links