Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Cas 2011 Integración continua vs controlada

18,155 views

Published on

Integración continua vs controlada. Los pros y contras de por qué usar CI y por qué "feature branches" (branch per task) es el futuro de la integración continua. Presentada en CAS2011 en Castellón.

Published in: Technology
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • (Unlimited)....ACCESS WEBSITE Over for All Ebooks ................ accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • (Unlimited)....ACCESS WEBSITE Over for All Ebooks ................ accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes ......................................................................................................................... DOWNLOAD FULL PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M }
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS/FILE INTO AVAILABLE FORMAT - (Unlimited) ......................................................................................................................... ......................................................................................................................... Download FULL PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... accessibility Books Library allowing access to top content, including thousands of title from favorite author, plus the ability to read or download a huge selection of books for your pc or smartphone within minutes Christian, Classics, Comics, Contemporary, Cookbooks, Art, Biography, Business, Chick Lit, Children's, Manga, Memoir, Music, Science, Science Fiction, Self Help, History, Horror, Humor And Comedy, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Cas 2011 Integración continua vs controlada

  1. 1. Integración continua vs controlada pablo santos luaces @psluaces @plasticscm
  2. 2. Sobre mi• Plastic SCM - founder• Coder• Blog writer… (a ratos) ;) @psluaces
  3. 3. En el show de hoy…• La guerra de la integración• Qué método es más «agile»?
  4. 4. Hay una guerra ahí fuera
  5. 5. Y hay que elegir un bando
  6. 6. Una guerra ahí fuera
  7. 7. Una guerra … de bandos… ;)
  8. 8. De opciones
  9. 9. Las opciones son• Integración continua• Integración controlada
  10. 10. Las opciones son• Integración continua (piedra angular de agile)• Integración controlada
  11. 11. Las opciones son• Integración continua != integración constante (!)• Integración controlada
  12. 12. Pero antes un paso atrás…SCM es importante en «agile»porque:• Collective code ownership• Continuous Integration• Mapeo entre tareas y código• Coordinación del equipo
  13. 13. Qué es «mainline» development?• Trabajar en una única rama…
  14. 14. Qué es «mainline» development?• Trabajar en una única rama…• ¿Es bueno?
  15. 15. Qué es «mainline» development?• Trabajar en una única rama…• ¿Es bueno?• Sí, si no hay otra opción … :P
  16. 16. ¿Cómo reconocer «mainline»?• Fácil… sólo hay una rama… 0
  17. 17. ¿Cómo reconocer «mainline»?• Fácil… sólo hay una rama…
  18. 18. ¿Cómo reconocer «mainline»?• Fácil… sólo hay una rama…
  19. 19. ¿Cómo reconocer «mainline»?• Fácil… sólo hay una rama…
  20. 20. ¿Cómo reconocer «mainline»?• Fácil… sólo hay una rama…
  21. 21. ¿Cómo reconocer «mainline»?• Si tu desarrollo tiene esta pinta… es lineal, mainline, no paralelo!
  22. 22. Esto es desarrollo lineal
  23. 23. Y esto es desarrollo paralelo
  24. 24. Si no hay ramas… no es paralelo
  25. 25. Refuerzo positivo…
  26. 26. La batalla entre diferentes visiones
  27. 27. De dónde viene todo esto?
  28. 28. Ventajas del desarrollo paralelo• Romper la dependencia de tareas
  29. 29. Ventajas del desarrollo paralelo• Romper la dependencia de tareas
  30. 30. Ventajas del desarrollo paralelo• Puntos de partida conocidos – do not shoot a moving target!!!
  31. 31. Ventajas del desarrollo paralelo• Puntos de partida conocidos
  32. 32. Ventajas del desarrollo paralelo• Reforzar la creación de baselines estables
  33. 33. Ventajas del desarrollo paralelo• Código siempre bajo control
  34. 34. Ventajas del desarrollo paralelo• Detener la «bug spreading»
  35. 35. Ventajas del desarrollo paralelo• Detener la «bug spreading»
  36. 36. Ventajas del desarrollo paralelo• Trazabilidad mejorada
  37. 37. Ventajas del desarrollo paralelo• Keep the mainline … pristine
  38. 38. Integración continua – mainline glorificado• The «poorman’s approach»
  39. 39. Refuerzo positivo…
  40. 40. Lo opuesto solía ser «big bang»
  41. 41. Lo opuesto solía ser «big bang»
  42. 42. Y para arreglarlo, integración frecuente
  43. 43. El futuro de CI • How can builds get faster? • How can broken builds be prevented?http://codicesoftware.blogspot.com/2008/03/continuous-integration-future.html
  44. 44. El futuro de CI
  45. 45. El futuro de CI
  46. 46. Feature branches
  47. 47. ¿Qué es una tarea? • ¿Usáis un issue tracker? • Cada entrada en el issue tracker Nota: las tareas son cortas…http://www.plasticscm.com/infocenter/quick-start/intro-task-driven-development.aspx
  48. 48. Integración controladahttp://drdobbs.com/architecture-and-design/205917960
  49. 49. Alternativas de integración• El integrador hace merge• El integrador ejecuta tests• El integrador empaqueta y etiqueta Integration Server For each task to check whether it is valid or not baseline main line baseline task 1120 task 1140 Release Engineer rebased Release Developer Engineer task 1121 task 1129 Developer
  50. 50. Alternativas• Los desarrolladores hacen merge y ejecutan tests• El integrador empaqueta y etiqueta…• Evita mini-big-bangs• Recorta tiempos de compilación Integration Server baseline main line baseline task 1120 Integration is just task 1140 labelling and packing Release and running specific Engineer integration tests rebased Developer task 1121 task 1129 Developer
  51. 51. Alternativas de integración• Desarrolladores hacen merge y ejecutan tests• La línea principal se mantiene limpia baseline main line baseline task 1120 Integration is just task 1140 promoting, labelling and packing and Release running specific Engineer line rebased integration tests Developer e main te to th Promo task 1121 task 1129 Developer integration line Integration Server
  52. 52. En el mundo distribuido – integration manager workflow 1. The project maintainer pushes to their public repository. 2. A contributor clones that repository and makes changes. 3. The contributor pushes to their own public copy. 4. The contributor sends the maintainer an e-mail asking them to pull changes. 5. The maintainer adds the contributor’s repo as a remote and merges locally. 6. The maintainer pushes merged changes to the main repository.
  53. 53. Dictator… 1. Regular developers work on their topic branch and rebase their work on top of master. The master branch is that of the dictator. 2. Lieutenants merge the developers’ topic branches into their master branch. 3. The dictator merges the lieutenants’ master branches into the dictator’s master branch. 4. The dictator pushes their master to the reference repository so the other developers can rebase on it.
  54. 54. Distributed branch per task
  55. 55. Conclusión - Alternativas
  56. 56. Conclusión –Que no te limite tu SCM
  57. 57. pablo santos luaces @psluaces @plasticscm

×