Confident Commits, Delightful Deploys

Post on 06-Sep-2014

7.485 views 0 download

Tags:

description

You’re a WordPress professional. It’s time that your WordPress coding and deployment practices moved beyond manual backups and editing files on the server. Mistakes happen. You need a workflow that is ordered towards minimizing and recovering from mistakes, rather than one that embarasses you and makes changes stressful. This talk will examine the pitfalls of “winging it” when it comes to changing and deploying code, and will showcase multiple paths to the promised land of confident commits and delightful deploys.

Transcript of Confident Commits, Delightful Deploys

Confident Commits

Delightful Deploys

Mark Jaquith“JAKE-with”

@markjaquithmark@jaquith.memarkjaquith.com

Friday, July 26, 13

Confident Commits

Delightful Deploys

Mark Jaquith“JAKE-with”

@markjaquithmark@jaquith.memarkjaquith.com

Friday, July 26, 13

Confident Commits

Delightful Deploys

Mark Jaquith“JAKE-with”

@markjaquithmark@jaquith.memarkjaquith.com

Awesome Alliterations

Friday, July 26, 13

HobbyistProfessional

Friday, July 26, 13

How it can all go wrong

Friday, July 26, 13

WSOD

Friday, July 26, 13

Fat-fingeredMySQL

CommandsFriday, July 26, 13

UntraceableBugs

? ?? ? ? ?

Friday, July 26, 13

Meddling Clients

Friday, July 26, 13

Dependency Gotchas

Friday, July 26, 13

DeploymentRegrets

“Undo. UNDO!”

Friday, July 26, 13

Deploy-RelatedErrors

Friday, July 26, 13

“I have no idea how I set up this server”

Friday, July 26, 13

“Gotta change nginx.conf.

Better do it at 4am.”

Friday, July 26, 13

CDN Issues

Friday, July 26, 13

Friday, July 26, 13

Friday, July 26, 13

Friday, July 26, 13

WAT.

Friday, July 26, 13

The Dreaded — DNS — Changeover

Friday, July 26, 13

Sound familiar?

Friday, July 26, 13

How it can all go right

Friday, July 26, 13

Version Control

Friday, July 26, 13

git bisect

Friday, July 26, 13

git bisect startgit checkout bad-pointgit bisect badgit checkout good-pointgit bisect good

Friday, July 26, 13

Test, then:git bisect bad

— or —git bisect good

Friday, July 26, 13

Code Deployment

Friday, July 26, 13

Beanstalkapp.com

Deployhq.com&

Friday, July 26, 13

Beanstalkapp.com

Deployhq.com&

Friday, July 26, 13

WP Stack&

Capistrano-WP

Friday, July 26, 13

DIY Auto Deploy

Friday, July 26, 13

Just a Git Checkout?

Friday, July 26, 13

Server Configuration Management

Friday, July 26, 13

Puppet&

Chef

Friday, July 26, 13

Local Development

Friday, July 26, 13

Vagrantup.com

Friday, July 26, 13

Vagrantup.com

Friday, July 26, 13

VVV

Friday, July 26, 13

Packer.io

Friday, July 26, 13

Packer.io

Friday, July 26, 13

Content Deployment

Friday, July 26, 13

RAMP

Friday, July 26, 13

option_name&

pre_option_name

Friday, July 26, 13

add_filter( 'pre_option_comment_registration', '__return_true');

Friday, July 26, 13

Dependencies

Friday, July 26, 13

CDN Configuration

Friday, July 26, 13

DNS Changeovers

Friday, July 26, 13

Thanks!

Friday, July 26, 13

Questions

Friday, July 26, 13

Confident Commits

Delightful Deploys

Mark Jaquith“JAKE-with”

@markjaquithmark@jaquith.memarkjaquith.com

Friday, July 26, 13