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

Continuos Deployment

Continuos Deployment

My talk at YAPC::EU in Frankfurt about Continuos Deployment and Continuos Testing.

Lenz Gschwendtner

August 20, 2012
Tweet

More Decks by Lenz Gschwendtner

Other Decks in Technology

Transcript

  1. get out of my way let me code, don’t make

    me switch context Monday, 20 August 12
  2. $ gio deploy Running deploy for 'githublicious' Loading git Plugin

    [git] Tag: [v1331523346] [bender] connected [bender] running update_cache From github.com:norbu09/githublicious db1629a..34c2176 master -> origin/master [bender] Fetching origin Fetching origin Updating db1629a..34c2176 Fast-forward Mojolicious/Plugin/Jenkins.pm | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) [bender] running restart Monday, 20 August 12
  3. $ cat .giovanni.conf [project "githublicious"] hosts = bender root =

    ~/githublicious init = ~/githublicious/restart deploy = update_cache, restart, notify rollback = rollback, restart, notify repo = [email protected]:norbu09/githublicious.git user = lenz Monday, 20 August 12
  4. $ git branch origin/HEAD -> origin/master origin/admin_tools origin/affiliate_tracking origin/bugfix origin/dyndns

    origin/handle_migrate origin/login_split_testing origin/master origin/oauth origin/user_prefs_handling origin/voucher_codes ... Monday, 20 August 12
  5. currently supports • Jenkins and Giovanni • Jabber and HipChat

    • git • tagged and timestamped rollout Monday, 20 August 12
  6. • add a test directory • write Mechanizer or PhantomJS

    tests • run TheEye • get notifies if tests fail Monday, 20 August 12
  7. • any test that outputs TAP • Prowl notifications •

    RRD and Graphite graphs currently supports Monday, 20 August 12
  8. notify a lot via Jabber / IRC / new thing

    of the day Monday, 20 August 12