CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What...
Transcript of CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What...
Automated IT SolutionsDevOps and Cloud Consultancy Services
CI/CD Pipelines with Jenkins and Docker
John Pikoulas [email protected]
Donald Simpson [email protected]
Raju Uppalapati [email protected]
Adam Cheney [email protected]
http://www.AutomatedITSolutions.com
Automated IT SolutionsDevOps and Cloud Consultancy Services
● Introductions and Recap
● Introductions● Previously, on CI/CD pipelines, Jenkins and Docker● What will we learn today
● Hands on walk through material● Q&A discussion● Food & Drinks
CI/CD Pipelines with Jenkins and Docker
WiFi network: Hays_Recruitment_Guest - EustonRoad250
Inspect Jenkins GitHub and DockerHub
Build & run Dockerized Jenkins
Inspect Results Run SpringBoot build Pipeline Inspect Results Alter code and
observe CI/CD
Automated IT SolutionsDevOps and Cloud Consultancy Services
CI/CD Pipelines with Jenkins and Docker
WiFi network: Hays_Recruitment_Guest - EustonRoad250
Automated build in GitHub and DockerHub
2) Dockerfile is a script, composed of various commands (instructions) and arguments listed successively to automatically perform actions on a base image in order to create (or form) a new one.
3) Jenkins.sh is the start up script for Jenkins war
4) tini, a tiny init process
1) Resources, in our case, Jenkins pipelines and Jenkins plugins
Automated IT SolutionsDevOps and Cloud Consultancy Services
CI/CD Pipelines with Jenkins and Docker
WiFi network: Hays_Recruitment_Guest - EustonRoad250
Automated build in GitHub and DockerHub
Base Image to be used
Running configuration steps for the new image
Jenkins specific VM configuration
Automated IT SolutionsDevOps and Cloud Consultancy Services
CI/CD Pipelines with Jenkins and Docker
WiFi network: Hays_Recruitment_Guest - EustonRoad250
Automated build in GitHub and DockerHub
1. Project Description 2. Docker basic run command 3. Link to GitHub configuration files
Automated IT SolutionsDevOps and Cloud Consultancy Services
CI/CD Pipelines with Jenkins and Docker
WiFi network: Hays_Recruitment_Guest - EustonRoad250
Examine the build results
Jenkins docker in downloaded and run
Automated IT SolutionsDevOps and Cloud Consultancy Services
CI/CD Pipelines with Jenkins and Docker
WiFi network: Hays_Recruitment_Guest - EustonRoad250
Examine the build results
docker run -d -p 8088:8080 -p 8089:80 automatedit/demojenkins (1) (2) (3)
1. Bound internal port 8080 to external port 8088 for Jenkins app 2. Bound internal port 80 to external port 8089 for demo app 3. DockerHub project that will be pulled and run
Automated IT SolutionsDevOps and Cloud Consultancy Services
CI/CD Pipelines with Jenkins and Docker
WiFi network: Hays_Recruitment_Guest - EustonRoad250
Jenkins build Jobs
Jenkins main page
Automated IT SolutionsDevOps and Cloud Consultancy Services
CI/CD Pipelines with Jenkins and Docker
WiFi network: Hays_Recruitment_Guest - EustonRoad250
Pipeline in detail
Pipeline configuration that points to GitHub SpringBoot application
Automated IT SolutionsDevOps and Cloud Consultancy Services
CI/CD Pipelines with Jenkins and Docker
WiFi network: Hays_Recruitment_Guest - EustonRoad250
Build the Pipeline
Automated IT SolutionsDevOps and Cloud Consultancy Services
CI/CD Pipelines with Jenkins and Docker
WiFi network: Hays_Recruitment_Guest - EustonRoad250
Examine the Dockerized App
Automated IT SolutionsDevOps and Cloud Consultancy Services
● Discuss our future vision
• Based on the current demo • More Pipelines • Prometheus • Grafana • Vault • Testing • EFK • JMeter - Selenium • Hashicorp Vault
CI/CD Pipelines with Jenkins and Docker
WiFi network: Hays_Recruitment_Guest - EustonRoad250