Page 1
HudsonandDrupal
Reduce deployment andmaintenance costs with Hudson
Page 2
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
Page 3
I work for Acquia.
Page 4
Acquia does cool stuff
... with Drupal
Page 5
Acquia does cool stuff
... because of Drupal
Page 6
Cofounder Jay Batson
Page 7
Almost half of the Acquia team
Page 8
Sr. Consultant Robert Douglass
Page 9
... entertaining some Acquia partners.
Page 11
Rockstars wanted!
Page 12
Why are you here?
Page 13
Woz would be disappointed.
Page 14
Stability + Repeatability =
Money
Page 15
Stability + Repeatability =
Boring
Page 17
Boring deployments make money.
Page 18
Exciting deployments?
Page 20
How can I be boring?
Page 21
Eliminate manual tasks.
Page 22
Use proven tools.
Page 23
There’s this guy ...
Page 24
Let’s call him Chris.
Page 25
Chris spends time
writing scripts.debugging scripts.running scripts.debugging scripts.answering questions.again,and again,and again...
Page 26
Chris isn’t profitable.
Page 27
There’s another guy ...
Page 29
What is Hudson?
Application that runs “jobs”Web based GUIEasy to read dashboardLogs “build” historyCross platformand ...
Page 32
Itʼs really simple.
Page 33
How are things going?
Run a build.
Create a new job.
Page 34
Hudson can help
eliminate many scripts.debug scripts.run scripts.answer questions.
Page 35
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?
Page 36
Replace Chris with Hudson.
Page 38
Installation is easy.
wget http://hudson-ci.org/latest/hudson.warjava -jar hudson.warVisit http://localhost:8080
Page 39
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
Page 40
Let’s create a job.
Page 41
Create a new job.
Page 45
Success!
Checked code out to workspace.
Page 46
Acquia Drupal!
Let’s add a step.
Page 47
Run a shell script after checkout.
Page 49
What was run.
Why did it fail?
Page 50
Hudson has plugins.
Page 51
Add them via the GUI!
Page 56
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?