hudson and drupal

56
Hudson and Drupal Reducedeploymentand maintenancecostswithHudson

Upload: chris-pliakas

Post on 16-Jul-2015

2.921 views

Category:

Technology


0 download

TRANSCRIPT

HudsonandDrupal

Reduce deployment andmaintenance costs with Hudson

I’m cpliakas

Chris Pliakashttp://twitter.com/cpliakas

http://www.chrispliakas.com

Search Lucene API

Search Lucene *

Facet API

Views Flag Refresh

(sē plā kis)

http://drupal.org/user/266779

Certified geek

I work for Acquia.

Acquia does cool stuff

... with Drupal

Acquia does cool stuff

... because of Drupal

Cofounder Jay Batson

Almost half of the Acquia team

Sr. Consultant Robert Douglass

... entertaining some Acquia partners.

Sound exciting?

Rockstars wanted!

Why are you here?

Woz would be disappointed.

Stability + Repeatability =

Money

Stability + Repeatability =

Boring

Boring is OK.

Boring deployments make money.

Exciting deployments?

YOUʼRE FIRED!

How can I be boring?

Eliminate manual tasks.

Use proven tools.

There’s this guy ...

Let’s call him Chris.

Chris spends time

writing scripts.debugging scripts.running scripts.debugging scripts.answering questions.again,and again,and again...

Chris isn’t profitable.

There’s another guy ...

Meet Hudson.

What is Hudson?

Application that runs “jobs”Web based GUIEasy to read dashboardLogs “build” historyCross platformand ...

Itʼs Java.

Donʼt be scared!

Itʼs really simple.

How are things going?

Run a build.

Create a new job.

Hudson can help

eliminate many scripts.debug scripts.run scripts.answer questions.

Answer what questions?

Were the changes deployed?When were they deployed?Were there any problems?What failed?Is this a pattern?Who broke the site?What code is live?

Replace Chris with Hudson.

Installation

Installation is easy.

wget http://hudson-ci.org/latest/hudson.warjava -jar hudson.warVisit http://localhost:8080

Installing on Tomcat

Tomcat is a popular Java servlet containerCan run along side Solr, JIRA, DrupalTomcat provides authenticationSingle service, no port conflictsVisit http://www.chrispliakas.com

Let’s create a job.

Create a new job.

Start the build!

What happened?

Success!

Checked code out to workspace.

Acquia Drupal!

Let’s add a step.

Run a shell script after checkout.

Simple `rsync`

What was run.

Why did it fail?

Hudson has plugins.

Add them via the GUI!

I’m cpliakas

Chris Pliakashttp://twitter.com/cpliakas

http://www.chrispliakas.com

Search Lucene API

Search Lucene *

Facet API

Views Flag Refresh

(sē plā kis)

http://drupal.org/user/266779

Questions?