Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Building CI / CD pipeline | Workshop | AGILE GURUGRAM 2018 | 23 24 March

17 views

Published on

SESSION TITLE
Hands-on workshop on Building CI / CD pipeline

SESSION THEME
DevOps

SESSION OVERVIEW
The workshop will help participants to experience the process of BUILDING CI/CD PIPELINE using some of the tools such as Git, Maven, Jenkins, Java, jUnit, Cucumber, Docker etc.

SESSION AGENDA
Iteration 1: Use Git and clone demo app from github and build locally
Iteration 2: Create a job in Jenkins to build the app
Iteration 3: Create a job to execute unit test cases
Iteration 4: Create a job to execute functional test cases
Iteration 5: Create a job to deploy using docker
Iteration 6: Create pipeline by linking all jobs
SESSION TAKEAWAYS
Understanding CI/CD pipeline
How to Create Jenkins Job to build the app
Usage of Source control & Concept of trunk based development
Add automated tools for the app in the Jenkins
Setup CI to execute necessary tests as per the workflow in the Jenkins
Use container and integrate with CI.
DURATION
90 Mins

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Building CI / CD pipeline | Workshop | AGILE GURUGRAM 2018 | 23 24 March

  1. 1. Building CI / CD Pipeline Vinay Krishna
  2. 2. https://www.riverchasechurch.org/wp-content/uploads/2017/06/Why-am-I-here-400x400.jpeg
  3. 3. Quick Check • Raise your hands if you do Continuous Integration • Keep your hands up if everyone on your team commits and pushes to a shared mainline (usually shared master in git) at least daily • Keep your hands up if each such commit causes an automated build and test • Keep your hands up if the build fails, it’s usually back to green within ten minutes
  4. 4. CI / CD Pipeline What is it? http://myntology.com/wp-content/uploads/2012/01/whi-am-i-here-596x350.jpg
  5. 5. Discuss • What are the activities needed for Product Development? • List down the activities such as Coding, Testing etc.
  6. 6. Source Build Different Type of Test Production Continuous Integration Continuous Delivery Continuous Deployment Feedback UT
  7. 7. Show Demo
  8. 8. https://cdn.pixabay.com/photo/2014/10/30/23/04/pressure-water-line-509871_960_720.jpg http://www.blogandjournal.com/wp-content/uploads/2015/05/Brown-water- form-faucet.jpg Hurray Nothing Broken in pipeline!! But what about quality!!! – Why?
  9. 9. http://vertassets.blob.core.windows.net/image/e4153ada/e4153ada-2399-4d4f-afbd-b8c955c5e653/broken_water_pipe.jpg Broken Build pipeline – Who cares?
  10. 10. Group Activity
  11. 11. Let’s try out
  12. 12. App to be build Roman Number Converter
  13. 13. Feature: Convert decimal numbers to roman numerals As a Teacher I want to convert decimal number to roman symbol so that I can teach my students
  14. 14. Create Jobs • First Job to build the app • Second Job to execute only Unit Test • Third Job to execute only Integration Test • Fourth Job for Static Code Anaysis • Fifth Job to publish artifacts to repository
  15. 15. Create Build Pipeline
  16. 16. Strategy • Pre Checkin • Post Checkin • Nightly Build • On demand
  17. 17. Thank You! Vinay Krishna vinayk@pingalasoftware.com vinaykris http://linkedin.com/in/vinaykrishna

×