Top Banner
The path to repeatable builds
45
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The path to Repeatable Builds

The path to repeatable builds

Page 2: The path to Repeatable Builds

Andrzej Grzesik

@ags313

[email protected]

andrzejgrzesik.info

Page 3: The path to Repeatable Builds

about:me

Page 4: The path to Repeatable Builds
Page 5: The path to Repeatable Builds

disclaimers

Page 6: The path to Repeatable Builds

my opinions are my own

Page 7: The path to Repeatable Builds

any resemblance (…)purely coincidental ;-)

Page 8: The path to Repeatable Builds

I hate computers

Page 9: The path to Repeatable Builds

questions?shoot!

Page 10: The path to Repeatable Builds

episode Ithe New

Page 11: The path to Repeatable Builds

ad-hoc, manual Jenkins

new department

needed something to run the code

Page 12: The path to Repeatable Builds

how this ended:

‘dev’ desktop turned CI

‘magic’, ‘mysticism’, problems and pain

1/11, would not do again

Page 13: The path to Repeatable Builds

episode IInode wars

Page 14: The path to Repeatable Builds
Page 15: The path to Repeatable Builds

machines failedsurprise

Page 16: The path to Repeatable Builds

more builds, more wait

Page 17: The path to Repeatable Builds

fix

Page 18: The path to Repeatable Builds

how this ended:

better: experimentation and no-fear

5/11, not a bad start

Page 19: The path to Repeatable Builds

episode IIIrevenge of the VMs

Page 20: The path to Repeatable Builds

because

Page 21: The path to Repeatable Builds

reality

certain software doesn’t like automation

did: VM, treasure the image, run away

Page 22: The path to Repeatable Builds

more builds, more wait?

cheffing Jenkins && nodes (good)

cheffing Jenkins configuration (not so)

backups for Jenkins

ganglia to look at nodes

8/11, stable

Page 23: The path to Repeatable Builds

episode IVmobile menace

Page 24: The path to Repeatable Builds

mobile menace

automating mobile testing

grid for iOS Selenium Driver

everybody uses mac minis ;-)

Page 25: The path to Repeatable Builds

mobile menace

64 OSX VMs ++ chef server

logstash to collect and analyze chef logs

VMWare to power VMs because Vsphere

Page 26: The path to Repeatable Builds

mobile menace

OSX is full of quirks!

needed quick node rebuild a bit too often

10 - 1/11, it still works!

Page 27: The path to Repeatable Builds

episode Vbad idea of the century

Page 28: The path to Repeatable Builds

X in a box.

Page 29: The path to Repeatable Builds

X in a box.as in, *whole* prod in a box

Page 30: The path to Repeatable Builds

starts innocent

Page 31: The path to Repeatable Builds

results

all dependencies in one place

easy to integration test

easy to deploy MY stuff

Page 32: The path to Repeatable Builds
Page 33: The path to Repeatable Builds
Page 34: The path to Repeatable Builds
Page 35: The path to Repeatable Builds
Page 36: The path to Repeatable Builds
Page 37: The path to Repeatable Builds
Page 38: The path to Repeatable Builds

grows into…

Page 39: The path to Repeatable Builds

results

“so much space still to consume”

dependency spaghetti

NEG_INFINITY/11

Page 40: The path to Repeatable Builds

episode VIReturn(?) of the

Page 41: The path to Repeatable Builds

breaks a bit, so good for hacking

Page 42: The path to Repeatable Builds

caveat: java, maven && stuff

solution: images with SBT

Page 43: The path to Repeatable Builds
Page 44: The path to Repeatable Builds

not so fast

Devs “love” OSX!

Dependencies

boot2docker runs out of…

Page 45: The path to Repeatable Builds

episode VIIdon’t know ;-)