Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Make it a team mate - Getting more from your CI...

Make it a team mate - Getting more from your CI (Ruby edition)

This was the precursor to my "Make your CI a productive team member" talk at DevConf ZA. I presented this at Jozi.rb as a dry-run. The slides don't flow as nicely as the final product, but loads of tools in here that could be useful

Kenneth Kalmer

March 02, 2016
Tweet

More Decks by Kenneth Kalmer

Other Decks in Technology

Transcript

  1. CATALOG THE MUNDANE Enforce coding standards Track upstream frameworks Track

    upstream dependencies Track dependent services Check for vulnerabilities in our code
  2. Lines of automation Low cost, low impact: place inline with

    existing automation Higher cost, higher impact: create new lines of automation Critical cost: place inline with existing automation and halt!
  3. Brakeman Uses static analysis to find potential security issues in

    your Rails applications Very fast, does not depend on your test suite
  4. SandiMeter 100 lines per class 5 lines per method 4

    params per method call 1 instance variable per controller action
  5. How deep does the rabbit hole go? Remove ALL version

    constraints from Gemfile Build with next version of Ruby too Warner Bros
  6. Generate a changelog! Commits would have built up waiting for

    manual trigger $ git log ${PREVIOUS_SHA}..${CURRENT_SHA} Depends on useful commit message, cross referenced with JIRA (or similar) Should probably be filtered…