Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DevOpsPorto Meetup22: Build Automation in a DevOps way! by Guilherme Ferreira

DevOpsPorto
November 27, 2018

DevOpsPorto Meetup22: Build Automation in a DevOps way! by Guilherme Ferreira

Talk delivered by Guilherme Ferreira

DevOpsPorto

November 27, 2018
Tweet

More Decks by DevOpsPorto

Other Decks in Technology

Transcript

  1. Build automation in a DevOps way
    Guilherme Ferreira
    @gsferreira

    View Slide

  2. Guilherme Ferreira
    @gsferreira
    http://gsferreira.com
    Porto, Portugal
    Software Architect @numbersbelieve
    @netponto community organizer
    Father and Husband | Black Lab Companion
    Ankylosing Spondylitis Fighter

    View Slide

  3. https://ndcporto.com

    View Slide

  4. View Slide

  5. CTRL + SHIFT + B

    View Slide

  6. Why it hurts?

    View Slide

  7. Build should be…
    • a separate process
    • a living form of documentation
    • repeatable
    • made up of more than one solution if needed
    • valid without binaries or sensitive information in repository
    • versioned

    View Slide

  8. So that…
    • we can increase team productivity
    • we can decrease complexity of development and CI/CD

    View Slide

  9. View Slide

  10. PSAKE

    View Slide

  11. What is Cake? (http://cakebuild.net/)
    • Build automation system using code
    • C# Make (F# - Fake, Powershell - psake, …)
    • Learn a new language 
    • C# shop
    • Built on top of Roslyn and Mono
    • Cross Platform
    • Built-in methods for common operations (C# DSL)
    • Build agnostic from Build Server

    View Slide

  12. Cake is built with Cake on…

    View Slide

  13. View Slide

  14. Open souce – healthy community

    View Slide

  15. View Slide

  16. Demo

    View Slide

  17. Build workflow
    Clean
    Package
    Restore
    Build
    Run Unit
    Tests
    Test
    Coverage
    Package Deploy

    View Slide

  18. Wrapping up
    • Versioned Build Script
    • Use your C# Super Powers
    • Cross Platform
    • Extensible
    • Healthy community
    • More than 100 addins
    • Intellisense ❤
    • A piece of cake!

    View Slide

  19. Questions?
    @gsferreira
    https://gsferreira.com
    https://github.com/gsferreira/cakedemo

    View Slide