12
Automated IT Solutions DevOps 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

CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

  • Upload
    others

  • View
    12

  • Download
    1

Embed Size (px)

Citation preview

Page 1: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

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

Page 2: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

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

Page 3: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

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

Page 4: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

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

Page 5: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

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

Page 6: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

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

Page 7: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

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

Page 8: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

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

Page 9: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

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

Page 10: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

Automated IT SolutionsDevOps and Cloud Consultancy Services

CI/CD Pipelines with Jenkins and Docker

WiFi network: Hays_Recruitment_Guest - EustonRoad250

Build the Pipeline

Page 11: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

Automated IT SolutionsDevOps and Cloud Consultancy Services

CI/CD Pipelines with Jenkins and Docker

WiFi network: Hays_Recruitment_Guest - EustonRoad250

Examine the Dockerized App

Page 12: CI/CD Pipelines with Jenkins and Docker filePreviously, on CI/CD pipelines, Jenkins and Docker What will we learn today Hands on walk through material Q&A discussion Food & Drinks

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