Slide 1

Slide 1 text

#groovyprocess @jfrog Groovy’s release process Guillaume Laforge Cédric Champeau Frédéric Simon @glaforge | @cedricchampeau | @freddy33 Restlet | Gradle | JFrog

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

Beware, Frogs may be involved in this presentation!

Slide 4

Slide 4 text

No content

Slide 5

Slide 5 text

The Good, the Bad, the Ugly of the Groovy release process

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

How we did it before, What we’re doing now, Where we’re going!

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

@YourTwitterHandle #DVXFR14{session hashtag} #groovyprocess @jfrog Hosted at…

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

Trendy infrastructure!

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

Sponsored by JetBrains themselves!

Slide 20

Slide 20 text

Points

Slide 21

Slide 21 text

#groovyprocess @jfrog Web • Codehaus provides WebDAV access 
 to push artifacts & documentation • Listing / changing directory can take up to 30 seconds • Uploading hundreds of JavaDoc files used to take 1+ hour • Stale lock files

Slide 22

Slide 22 text

#groovyprocess @jfrog Web • Codehaus provides WebDAV access 
 to push artifacts & documentation • Listing / changing directory can take up to 30 seconds • Uploading hundreds of JavaDoc files used to take 1+ hour • Stale lock files When it actually works!

Slide 23

Slide 23 text

No content

Slide 24

Slide 24 text

Launch a release…

Slide 25

Slide 25 text

Launch a release… And then, you pray!

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

Same player shoots again!

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

What could possibly go wrong?

Slide 30

Slide 30 text

No content

Slide 31

Slide 31 text

A very manual process

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

Build / release from a developer’s machine

Slide 34

Slide 34 text

Build / release from a developer’s machine Local or non-committed changes

Slide 35

Slide 35 text

Build / release from a developer’s machine Local or non-committed changes Relieance on local repos

Slide 36

Slide 36 text

Build / release from a developer’s machine Local or non-committed changes Relieance on local repos Manual tagging

Slide 37

Slide 37 text

Build / release from a developer’s machine Local or non-committed changes Relieance on local repos Manual tagging Manual update of version information in properties files

Slide 38

Slide 38 text

Build / release from a developer’s machine Local or non-committed changes Relieance on local repos Manual tagging Manual update of version information in properties files Manual VCS operations

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

A release could take a full day

Slide 41

Slide 41 text

A release could take a full day The best way to learn patience

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

Time to automate things a bit!

Slide 44

Slide 44 text

@YourTwitterHandle @YourTwitterHandle #groovyprocess @jfrog Now

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

Enters JetBrains TeamCity!

Slide 48

Slide 48 text

Enters JetBrains TeamCity! On our own server at

Slide 49

Slide 49 text

Enters JetBrains TeamCity! On our own server at Build and test Groovy across: — different branches — different JDK versions (6, 7, 8, 9) — different flavours (normal/indy) — « joint builds »

Slide 50

Slide 50 text

Enters JetBrains TeamCity! On our own server at Build and test Groovy across: — different branches — different JDK versions (6, 7, 8, 9) — different flavours (normal/indy) — « joint builds » Builds Pull Requests too

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

New website built with Gradle and Groovy templates

Slide 53

Slide 53 text

New website built with Gradle and Groovy templates

Slide 54

Slide 54 text

New website built with Gradle and Groovy templates Built by Gradle with Asciidoctor

Slide 55

Slide 55 text

New website built with Gradle and Groovy templates Built by Gradle with Asciidoctor All code samples are tested!

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

And so, 
 it was cool!

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

No content

Slide 60

Slide 60 text

Snapshots pushed on commits

Slide 61

Slide 61 text

Snapshots pushed on commits Releases signed & deployed on Bintray JCenter

Slide 62

Slide 62 text

Snapshots pushed on commits Releases signed & deployed on Bintray JCenter Synced with Maven Central

Slide 63

Slide 63 text

Snapshots pushed on commits Releases signed & deployed on Bintray JCenter Synced with Maven Central Website & docs uploaded

Slide 64

Slide 64 text

No content

Slide 65

Slide 65 text

« One-click » releases!

Slide 66

Slide 66 text

« One-click » releases! Just need to fill 
 a form with version details

Slide 67

Slide 67 text

« One-click » releases! Just need to fill 
 a form with version details TeamCity Artifactory plugin

Slide 68

Slide 68 text

No content

Slide 69

Slide 69 text

Pretty Groovy, isn’t it?

Slide 70

Slide 70 text

@YourTwitterHandle @YourTwitterHandle #groovyprocess @jfrog What’s next?

Slide 71

Slide 71 text

No content

Slide 72

Slide 72 text

Codehaus is closing, Pivotal is firing us, time to move!

Slide 73

Slide 73 text

No content

Slide 74

Slide 74 text

No content

Slide 75

Slide 75 text

No content

Slide 76

Slide 76 text

And now, a real frog on stage!

Slide 77

Slide 77 text

@YourTwitterHandle @YourTwitterHandle #groovyprocess @jfrog Artifactory & Bintray

Slide 78

Slide 78 text

#groovyprocess @jfrog JFrog Releases in 2014 •Bintray: 400 •Artifactory Online: 27 •Artifactory: 11

Slide 79

Slide 79 text

#groovyprocess @jfrog Why?

Slide 80

Slide 80 text

#groovyprocess @jfrog Why?

Slide 81

Slide 81 text

#groovyprocess @jfrog Growing Ecosystem

Slide 82

Slide 82 text

#groovyprocess @jfrog Growing Ecosystem

Slide 83

Slide 83 text

#groovyprocess @jfrog Growing Ecosystem

Slide 84

Slide 84 text

#groovyprocess @jfrog Bintray Growing Community

Slide 85

Slide 85 text

#groovyprocess @jfrog Bintray Growing Community

Slide 86

Slide 86 text

@YourTwitterHandle @YourTwitterHandle #groovyprocess @jfrog Summary

Slide 87

Slide 87 text

No content

Slide 88

Slide 88 text

Our winning combo!

Slide 89

Slide 89 text

@YourTwitterHandle @YourTwitterHandle #groovyprocess @jfrog Thanks for your attention

Slide 90

Slide 90 text

@YourTwitterHandle @YourTwitterHandle #groovyprocess @jfrog Q&A

Slide 91

Slide 91 text

#groovyprocess @jfrog Picture credits http://i.ytimg.com/vi/1jpdj7yEHbc/maxresdefault.jpg http://warwickexposed.co.uk/wp-content/uploads/2012/05/Memory-Lane.jpg http://img1.wikia.nocookie.net/__cb20130914153219/onceuponatime8042/images/9/9d/InfoboxPlainTitle.jpg http://wundergroundmusic.com/wp-content/uploads/2014/04/hipster_0.jpg http://vectorblog.org/wp-content/uploads/2012/06/Pain-knuckle-tattoo_stevendepolo_Flickr.jpg https://cinemadroide.files.wordpress.com/2014/06/edge_of_tomorrow_2014-wide1.jpg http://www.thegospelcoalition.org/blogs/trevinwax/files/2015/02/open-hands.jpg http://goparallel.sourceforge.net/wp-content/uploads/2013/01/Untitled.png http://pbs.twimg.com/media/B9hYSr6IMAIvHDZ.png https://s-media-cache-ak0.pinimg.com/236x/cd/98/04/cd9804d0b3d14b6c36733b923600c79f.jpg http://venturebeat.com/wp-content/uploads/2012/05/linux-laptop-developers.jpg https://claesjohnsonmathscience.files.wordpress.com/2009/06/chaplin1.jpg http://wallhd.in/wp-content/uploads/2015/03/frog_wallpaper_quotes_free_hd_wallpaper_30.jpg http://www.clipartbest.com/cliparts/nTE/KMe/nTEKMe8TA.jpeg http://www.damnwallpapers.com/wp-content/uploads/2014/03/free-frog-hd-wallpaper3.jpg http://images.hdbackgroundpictures.com/pictureHD51ba2d6d2ab6442531.jpg http://walldiskpaper.com/mobilehd/cartoons-frog-wallpaper-hd/cartoons-frog-wallpaper-hd/ http://greenfrogconsultancy.com/wp-content/uploads/2012/04/iStock_000016319131Small1.jpg http://wallhd.in/wp-content/uploads/2015/03/funny_frog_wallpaper_free_hd_wallpaper_32.jpg http://www.mmouse.ru/wp-content/uploads/mmouse-apache-warrior-paul-sachtleben.jpg http://www.wallpedes.com/funny-frog-wallpaper/funny-frog-place-free-wallpapers.html https://hdwallpapers.cat/thumbnail/funny_3d_frog_flowers_animal_abstract_and_hd-wallpaper-1712905.jpg