You are on page 1of 45

CI From the trenches

CI From the trenches Wednesday, 11 March 2009 Julian Simpson, www.build-doctor.com

Wednesday, 11 March 2009

Julian Simpson, www.build-doctor.com

CI From the trenches Wednesday, 11 March 2009 Julian Simpson, www.build-doctor.com

Wednesday, 11 March 2009

Who am I?

What is CI?

Wednesday, 11 March 2009

members of a team integrate their work frequently

Wednesday, 11 March 2009

Each integration is verified by an automated build (including test)

Wednesday, 11 March 2009

TODO: CI Diagram

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Mine

What’s this talk about?

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Sharing

Sharing with a lamp

Wednesday, 11 March 2009

Sharing with a rabbit

Wednesday, 11 March 2009

Sharing with a radiator

Sharing with a radiator Wednesday, 11 March 2009 http://www.flickr.com/photos/mibgames

Wednesday, 11 March 2009

Extending CI

Wednesday, 11 March 2009

Extending CI:

Release Management

Wednesday, 11 March 2009

Release Management:

Build label

Release Management: Build label Wednesday, 11 March 2009

Wednesday, 11 March 2009

Release Management:

VCS label

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Release Management:

labelled deployable

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Extending CI:

System Deployment

Wednesday, 11 March 2009

Conway’s law in action

Wednesday, 11 March 2009

How to test?

Wednesday, 11 March 2009

ssh root@remoteserver "/etc/init.d/tomcat stop" && \

' # <=== NASTY UNMATCHED QUOTE ssh root@remoteserver "rm -rf /usr/local/tomcat/webapps/ ssh root@remoteserver "cd /usr/local/tomcat/webapps/ ROOT; jar -xvf /root/uploads/test.war" && \

Wednesday, 11 March 2009

One Broken Test

Wednesday, 11 March 2009

Extending CI:

Functional Testing

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Extending CI: Metrics

Wednesday, 11 March 2009

Wednesday, 11 March 2009

CheckStyle

FindBugs

FindBugs Wednesday, 11 March 2009

Wednesday, 11 March 2009

Sonar

Sonar Wednesday, 11 March 2009

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Scaling CI

Scaling CI: I/O

Wednesday, 11 March 2009

iostat -d 5 10

iostat -d 5 10 Wednesday, 11 March 2009

Wednesday, 11 March 2009

Windows perfmon.exe

Windows perfmon.exe Wednesday, 11 March 2009

Wednesday, 11 March 2009

Scaling CI:

Security

http://flickr.com/photos/untitled13/
http://flickr.com/photos/untitled13/

Wednesday, 11 March 2009

Version control

Version control Wednesday, 11 March 2009

Wednesday, 11 March 2009

Team City Security

Team City Security Wednesday, 11 March 2009

Wednesday, 11 March 2009

Scaling CI:

The Build Pipeline

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Scaling CI:

The Church Organ

Wednesday, 11 March 2009

Wednesday, 11 March 2009

Summary

Scaling

Sharing

Extending

Wednesday, 11 March 2009 Summary Scaling Sharing Extending
Wednesday, 11 March 2009 Summary Scaling Sharing Extending
Wednesday, 11 March 2009 Summary Scaling Sharing Extending

Any questions?

Wednesday, 11 March 2009

Thanks for listening!

http://www.build-doctor.com • medic@build-doctor.com • http://twitter.com/simpsonjulian Wednesday, 11 March 2009

Wednesday, 11 March 2009