Continuous Delivery with a Microservices Architecture
summary
Shows a working Jenkins CD pipeline for two microservices (catalog and order) built with Scala SBT and packaged with SBT native packager, deployed to AWS Elastic Beanstalk as zip/docker artifacts. Uses Delivery Pipeline plugin, Build Pipeline, CloudBees Templates and Folders to name jobs, pass a generated version (1.0.<buildNumber>) to downstream jobs, and make integration/prod deployments manual. Demonstrates templating to clone pipelines for many services, and reports problems: template XML/groovy errors can cause 500s and silent non-updates, and the pipeline view limits recent instances.
AI-written summary · about
chapters (54)
- 0:00Start
- 0:37About Me
- 1:17Continuous Delivery
- 2:42CD Pipeline
- 3:12Pipeline Steps (for this talk)
- 3:52Microservice Architecture
- 5:15More of Everything!
- 5:47Implementing in Jenkins
- 6:11Delivery Pipeline Plugin
- 6:59Delivery Pipeline Organization
- 7:25Connecting Jobs
- 8:02Boardsaur Case Study
- 8:55The Goal
- 9:23Create a Build Job
- 10:54Configure Versioning
- 13:28Using Generated Version
- 14:36Configure SCM
- 14:51Build Definition
- 15:48Produce Zip Artifact
- 16:26Artifacts
- 16:51Publish Deployment Artifact
- 17:55Create Deploy Job
- 18:18Configure Pipeline Labels
- 18:53Trigger A Load Test
- 19:16Connect Next Pipeline Job
- 20:05Make A Pipeline View
- 20:19Configure Pipeline View
- 21:11Add Components
- 22:40Add Order Service
- 23:22Build Another Pipeline
- 23:41Cloudbees Template Plugin
- 24:33Transforming the Description
- 24:47Define the Transformation
- 25:48Transforming Publishers
- 26:18Handling Branches
- 27:00Create Order Build
- 27:25Specify Attributes
- 27:59Let's Have A Deploy Template
- 28:12Write Transformation
- 28:32Pipeline Configuration
- 28:50Setting Up Integration
- 29:13Create Instances
- 29:26The Order Pipeline
- 30:15Create Folders
- 30:44Modify Build Template
- 31:02Environment From Folder Name
- 31:38Create Jobs in Folders
- 32:32Script It!
- 32:49Creating An Instance via REST
- 33:33Version Roll Off
- 35:27Error at Instantiation
- 35:59Silent Failures
- 36:57Conclusion
- 37:14Thank You!
related talks
52mContinuous Delivery of Microservices using Jenkins and Gradle
04mContinuous Delivery with Jenkins' New Declarative Pipeline & Artifactory
27mAutomation, Innovation and Continuous Delivery
34mContinuous Delivery with Jenkins Workflow
59mJenkins & continuous delivery pipeline
52mContinuous Delivery with Containers: The Good, the Bad, and the Ugly
37mImport Continuous Delivery
40mMicroservice Continuous Delivery
