Skip to content

Instantly share code, notes, and snippets.

@dannyockilson
Last active September 14, 2015 11:22
Show Gist options
  • Save dannyockilson/3bc2d8debd0cdd52e7a6 to your computer and use it in GitHub Desktop.
Save dannyockilson/3bc2d8debd0cdd52e7a6 to your computer and use it in GitHub Desktop.
Notes from Continuous PHP talk

Continuous Integration

Every branch is tested on every commit/merge Small batches of features in agile sprint style

Continuous Deploy

Adds a release step, build package from branch and deploy Allows quick re-deployment of previous versions if things go wrong Keeps all deploys consistent, dependencies etc are all same versions

Git flow

Dev branch (feature development) Release branch (bug fixes) Master branch (released/staging -> production code)

SemVer major.minor.patch

  • major - possible BC breaks
  • minor - no BC breaks, new features
  • patch - fixing bugs

System Deps

  • database
  • file stores
  • web services
  • cache

Tools like Puppet https://puppetlabs.com/, Chef https://www.chef.io/chef/

Code Deps

DB Migration

Testing

Unit tests are faster to run as they test YOUR code, acceptance tests also have to use dependencies so take longer to run.

Deploy Tools

These are just some quick notes I made from the presentation with links to more information. If I missed anything let me know and I can add it in.

Thanks again to Frederic and Christophe from Continuousphp which packages a lot of this up into an easy to use interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment