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 full-size 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 full-size slide

  3. https://ndcporto.com

    View full-size slide

  4. CTRL + SHIFT + B

    View full-size slide

  5. Why it hurts?

    View full-size slide

  6. 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 full-size slide

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

    View full-size slide

  8. 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 full-size slide

  9. Cake is built with Cake on…

    View full-size slide

  10. Open souce – healthy community

    View full-size slide

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

    View full-size slide

  12. 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 full-size slide

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

    View full-size slide