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

Leveraging CodeBuild from Jenkins

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →

Leveraging CodeBuild from Jenkins

Avatar for Denny Schäfer

Denny Schäfer

May 03, 2018

More Decks by Denny Schäfer

Other Decks in Technology

Transcript

  1. LEVERAGING LEVERAGING CODEBUILD FROM CODEBUILD FROM JENKINS JENKINS Created by

    Mark Meyer / @ofosos and Denny Schäfer / @tuxinaut
  2. AGENDA AGENDA The route we took Introduction to Code* AWS

    services Our setup Challenges in China Summary: Pros and Cons
  3. THE ROUTE WE TOOK THE ROUTE WE TOOK CodeBuild AWS

    integration Use Jenkins ecosystem and in-house knowledge CodePipeline was not able to satisfy our needs
  4. CODECOMMIT CODECOMMIT Hosted Git service Well integrated into the Code*

    suite Not a replacement for BitBucket/Github Pretty bare bones, but growing
  5. CODEBUILD CODEBUILD Hosted build containers Limited, prede ned stages Easily

    work with different build envs ECS: roles and VPC support
  6. CODEPIPELINE CODEPIPELINE Specialized work ow engine for builds Rather restrictive

    in what you can do Really a special purpose solution
  7. A BUILSPEC.YML A BUILSPEC.YML env: variables: PUPPET_VERSION: "puppet5" parameter-store: SUPER_SECRET:

    "/smaato/base-ami/super-secret" phases: build: commands: - packer ... > packer.log artifacts: files: - packer.log
  8. CHALLENGES IN CHINA CHALLENGES IN CHINA Missing and incomplete AWS

    services in the Chinese partition The Great Firewall
  9. WHAT WE LIKE WHAT WE LIKE Fully automated Built every

    Monday Build from a container Jenkins, Slack and Con uence
  10. WHAT WE DON’T LIKE WHAT WE DON’T LIKE Lots of

    moving parts Builds sometimes depend on the network weather Bitbucket → Codecommit Sync
  11. CONCLUSION CONCLUSION Jenkins integrations pack a lot of functionality We

    feel, we are well integrated into the AWS ecosystem The Jenkins + CodeBuild combination is cost effective Decouples the build tools from the Jenkins instance