Drupalcon PDX Swagger

Preview:

DESCRIPTION

Presentation for Drupalcon PDX on how to keep your swagger as a developer with continuous intergration.

Citation preview

Developer Swagger

Josh Koenig - Pantheon Co-Founder josh@getpantheon.com

@outlandishjosh

Thursday, May 23, 13

Or,“Application Lifecycle Managment”

for Drupal

Josh Koenig - Pantheon Co-Founder josh@getpantheon.com

@outlandishjosh

Thursday, May 23, 13

Thursday, May 23, 13

Thursday, May 23, 13

Enterprise Software Acronym Academy

Application Lifecycle Management

People who own technology need it

Website is a two to five+ year investment

Typically these people manage lots different systems — that’s hard!

Thursday, May 23, 13

This ain’t just for big corporations and orgs.

Thursday, May 23, 13

This is for everyone.

Thursday, May 23, 13

What ALM Covers

Requirements Gathering

Design

Development

Project Management

Deployment

Maintenance

Updates and Upgrades

Thursday, May 23, 13

What I’m Gonna Cover

Development

Deployment

Maintenance

Updates and Upgrades

Thursday, May 23, 13

Developers want to move fast.

Thursday, May 23, 13

Thursday, May 23, 13

But site owners are risk-averse

Thursday, May 23, 13

Downtime is $$$

Thursday, May 23, 13

Thursday, May 23, 13

Do you have take risks if you want to move

fast?

Thursday, May 23, 13

Thursday, May 23, 13

No.

Thursday, May 23, 13

Not if you do it right.

Thursday, May 23, 13

Thursday, May 23, 13

Thursday, May 23, 13

Things that steal yr swag

Thursday, May 23, 13

Thursday, May 23, 13

Thursday, May 23, 13

Thursday, May 23, 13

Thursday, May 23, 13

Thursday, May 23, 13

Cowboys are cool

Thursday, May 23, 13

Thursday, May 23, 13

Especially when they use

version control and CI

Thursday, May 23, 13

Thursday, May 23, 13

Git has hooks too, just like Drupal

Thursday, May 23, 13

Remote Repo

Local Repo

Pull from a remote

Thursday, May 23, 13

Remote Repo

Local Repo

Pushing is a bit harder

Thursday, May 23, 13

Remote Working

Local Working

Use a “bare” repo to coordinate & run hooks

Remote Bare

Thursday, May 23, 13

Demo

Thursday, May 23, 13

Thursday, May 23, 13

Remote Working

Local Working

Use Git to Manage Core Updates

Remote Bare

Drupal Upstream

Thursday, May 23, 13

Continuous Integration

Thursday, May 23, 13

Thursday, May 23, 13

Thursday, May 23, 13

What about D8?

Thursday, May 23, 13

Thursday, May 23, 13

CMI Fixes Everything!Thursday, May 23, 13

Thursday, May 23, 13

Thursday, May 23, 13

CMI is a major major major win.

Thursday, May 23, 13

Managing config consistently in YAML is

a game-changer.

Thursday, May 23, 13

But you still need a solid workflow.

Thursday, May 23, 13

A Word About Automated Testing

Thursday, May 23, 13

Better Testing for Site Builders is Coming

We are hereThursday, May 23, 13

Get Hip to Behat

Thursday, May 23, 13

Keep Your Dev Fresh

You need to have it down to a science and easy or automatic.

Data has mass.

Simple mysql tricks can save time.

Save 25 mins every day = 1 day a month.

Thursday, May 23, 13

Drush Aliases

Straightforward to set up if you have SSH access.

Part of keeping your swagger.

Anatomy of an alias file.

(Cheater Demo Using Pantheon.)

Thursday, May 23, 13

Thursday, May 23, 13

Deploying to Prod

Push or pull are both ok.

Integrate this with version control (e.g. tag it).

Script, test, automate.

Thursday, May 23, 13

Investing in automation is essential.

Thursday, May 23, 13

Thursday, May 23, 13

Sites backed by automated tools will be

better.

Thursday, May 23, 13

They will win.

Thursday, May 23, 13

Thursday, May 23, 13

But you don’t have to do it all on your own.

Thursday, May 23, 13

Questions?AMA

Thursday, May 23, 13