Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Build pipelines with TeamCity

55 visualizaciones

Publicado el

TeamCity

Publicado en: Tecnología
  • Sé el primero en comentar

  • Sé el primero en recomendar esto

Build pipelines with TeamCity

  1. 1. Build Pipelines with TeamCity @antonarhipov
  2. 2. TeamCity @ JetBrains 2000+ projects 12000+ build configurations 500+ agents est 2006
  3. 3. TeamCity @ JetBrains
  4. 4. 2018.1 (Jaipur) highlights Kotlin DSL HA: read-only server Docker runner improvements Bundles S3 integration
  5. 5. 2018.1 (Jaipur) highlights Templates (step ordering) Enforced settings .NET Core etc
  6. 6. Big ongoing themes Kotlin DSL UI Scalability & Performance TeamCity hosted OpenJDK
  7. 7. More… Plugins Meta-data in tests Authorizing pull requests Bazel Investigation auto-assignments
  8. 8. Pipeline Step 3Step 2 Step 3Step 1 More steps Artifact
  9. 9. CI/CD pipeline AuditTest PackageCompile Test CI pipeline TEST PRODDEV CD pipeline jar SW
  10. 10. Check out the sources Compile Run tests Generate reports Publish the results Looks simple!Why would we need a “pipeline”?
  11. 11. How long it takes to run tests?
  12. 12. Check out the sources Compile Run tests Generate reports Publish the results
  13. 13. Check out the sources Compile Run fast tests Generate reports Publish the results
  14. 14. Run integration, UI, performance tests Pipeline!! Check out the sources Compile Run fast tests Generate reports Publish the results
  15. 15. Build Test Run integration, UI, performance tests Check out the sources Compile Run fast tests Generate reports Publish the results
  16. 16. Test Reports / Notifications Build
  17. 17. UI tests Reports / Notifications Build Integration tests Other tests
  18. 18. Tests Reports / Notifications Build Tests Tests Build
  19. 19. Tests Reports / Notifications Build Tests Tests Build Dependencies
  20. 20. Build chains
  21. 21. Step 1 Step 2 Step 3 Step 4
  22. 22. Step 1 Step 2 Step 3 Step 4 rev 1 rev 2 rev 3
  23. 23. Step 1 Step 3 Step 4 rev 1 rev 3 rev 3 Step 2
  24. 24. Step 1 Step 3 Step 4 rev 1 rev 3 rev 3 Step 2
  25. 25. rev 1 rev 3 rev 3 Step 1 Step 3 Step 2 Step 4
  26. 26. rev 3 “snapshot dependency” Step 1 Step 3 Step 2 Step 4 rev 1 rev 3
  27. 27. Step 1 Step 3 Step 4 rev 1 rev 3 rev 3 Step 2 “snapshot dependency”
  28. 28. Queue optimisation
  29. 29. B rev1 A rev1 C rev1 D rev1 1 2 3 4 …
  30. 30. B rev1 A rev1 C rev1 D rev1 1 2 3 4 … B rev2
  31. 31. B rev1 A rev1 C rev1 D rev1 1 2 3 4 … B rev2
  32. 32. B rev2 A rev1 C rev1 D rev1 1 2 3 4 …
  33. 33. 6500 builds ~40% 3000-4000 CPU hours
  34. 34. Demo
  35. 35. @antonarhipov ?anton.arhipov@jetbrains.com

×