continuous integration and delivery by rajesh kumar email · continuous delivery a logical step...
TRANSCRIPT
![Page 2: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/2.jpg)
Technology
www.scmGalaxy.com
![Page 3: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/3.jpg)
Source Code Management
www.scmGalaxy.com
![Page 4: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/4.jpg)
Build Tools
www.scmGalaxy.com
![Page 5: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/5.jpg)
Usually we don’t have
• Centralized Source Management Tools
• Centralized Build Server for all the JDA Products
• Common Build Script across the organization
• Configuration Management Tools such puppet or salt
• Standard Release and Deployment Process
• Automated Testing Just after build
• Code Review Setup
• Static Code Analysis
• Test Coverage
• Centralized Dashboard for all CI/CD reporting and Notification
• SCM Infrastructure Monitoring Setup
www.scmGalaxy.com
![Page 6: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/6.jpg)
Goals
• Faster Development Process across the JDA Solutions
• Reduces Costs and Burdon on People and Process
• Reduces Engineers options making SCM support easier
• Enforces Uniform Corporate Process
• Standard Version control and Builds
• Fast, Reliable and ready to QA/Deploy Build operation
• Streamline Release and Deployment Process
• Simplified Branching, Tagging, and Directory organization
• Strong Tools integration between CM, Build, QA and Deployment, Feedback etc
www.scmGalaxy.com
![Page 7: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/7.jpg)
• Unify the software delivery process across the JDA product line SDLC• Reduce duplication of effort
• Improve consistency
• Embrace change
• Remove known sources of error
www.scmGalaxy.com
![Page 8: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/8.jpg)
Business Benefits
• Developer productivity
• Smoother workflow within organization
• Supports many Development Models
• Open source, Profitability and Growth
• SCM team is focusing on developing CM technology and framework instead of support.
www.scmGalaxy.com
![Page 9: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/9.jpg)
Non-Functional Benefits
• Security
• Backups
• High Availability
• Upgradability
• Faster Development
• Monitoring and Notification
• Scale
www.scmGalaxy.com
![Page 10: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/10.jpg)
Continuous Integration
The process of automatically building and testing your
software on a regular basis.
www.scmGalaxy.com
![Page 11: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/11.jpg)
Continuous Delivery
Continuous Delivery doesn't mean every change is deployed to production ASAP. It means every change is proven to be deployable at any time
@ccaum
www.scmGalaxy.com
![Page 12: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/12.jpg)
Continuous Integration and Continuous Delivery workflow
www.scmGalaxy.com
![Page 13: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/13.jpg)
Continuous Delivery
A logical step forward from continuous integration. If your tests are run constantly, and you trust your tests to provide a guarantee of quality,
then it becomes possible to release your software at any point in time.
www.scmGalaxy.com
![Page 14: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/14.jpg)
Continuous Deployment
Are we doing it?The ultimate culmination of this process; it’s the actual delivery of
features and fixes to the customer as soon as they are ready..
www.scmGalaxy.com
![Page 15: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/15.jpg)
Delivery vs Deployment
www.scmGalaxy.com
![Page 16: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/16.jpg)
www.scmGalaxy.com
![Page 17: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/17.jpg)
Continuous Monitoring
So why would you bother?
www.scmGalaxy.com
![Page 18: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/18.jpg)
• Monitoring is for Feedback of• Code Quality poor | average | good | best
• Builds pass | fail
• Test Quality
• System Availability
• Performance of Tools and Products
• SCM Infrastructure Availability
• It save time of.• Developer
• Engineer
• Manager
• Director
• CEO
www.scmGalaxy.com
![Page 19: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/19.jpg)
We want…
•Continuous Integration is for immediate feedback
•Automated Testing based on Continuous Integration
•Continuous Delivery based on Automated Testing
•Automated Test Deployments ???????
•Useful Feedback on time
•Measurement!!! & Monitoring!!!
www.scmGalaxy.com
![Page 20: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/20.jpg)
DevOps is a Philosophy
• Agile & Lean applied to the whole software delivery chain, not just developers
• Driven by efficiency and consistencies• Building applications
• Building Environments
• Configuring Applications and environments
• Optimizing software Delivery to End to End
• Build
• Unit test
• Dev Deployment
Dev• Deploy to
Test Envs
• Functional and Perftest
QA• Deploy to
Staging
• Deploy to Production
Ops
www.scmGalaxy.com
![Page 21: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/21.jpg)
What is CI/CD
• no definition
• It certainly isn't a person
• No strict rules
• No strict tools
• It's not even new
• If you aren't doing it already ...
• ... you are doing it wrong
www.scmGalaxy.com
![Page 22: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/22.jpg)
What we have?
IDE - Eclipse, NetBeans, VSStudio
Repos - Clearcase, CVS, SVN, PVCS, Git
CI - Jenkins
ReposMgr - Artifactory
Test Suite
Junit
HP Mercury Quality Center
HP Mercury QuickTest Pro
NUnit
Selenium
Silk Central Test Manager
Bug Tracking - Jira
Code Analysis - Sonar
(PMD+Checkstyle+Findbugs)
Wiki - confluence wiki
Code Review - Code Collaborator
Code Search - Fisheye
Line of Code - CLOC, SLOCwww.scmGalaxy.com
![Page 23: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/23.jpg)
Coder Just Code, Everything in IDE
• Smoke Test
• Code Quality
• Code Review
• Build
. ,
,,
Just Code, Single Platform for all the task, Work faster and
avoid context-switching
www.scmGalaxy.com
![Page 24: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/24.jpg)
Coder Just Code
Dev Flow
Push the code into
SCM
Assign a JIRA ticket
based up on description
Code Review
would be enabled
Trigger a Continuous
Build
Know the Build Status
Via Chat, Email
Trigger for Sandbox
build before check-ins
www.scmGalaxy.com
![Page 25: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/25.jpg)
Continuous Build
www.scmGalaxy.com
![Page 26: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/26.jpg)
Continuous Build Cont…
www.scmGalaxy.com
![Page 27: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/27.jpg)
Build Type
• Sandbox Build • This Build is for developers code verification before check-ins
• Continuous Build• This Build is for code Integration and build quality post check-ins.
• Daily Build • This Build is for Unit test | Upload to Artifactory and testing Test server and
deployment to various stages.
www.scmGalaxy.com
![Page 28: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/28.jpg)
Continuous Delivery
• Each Daily Build should to be publish on Artifactory
• There could following kinds of Build Candidates would be saved in Artifactory?• Daily Build Candidates [Used for Smoke and Unit Test]
• Release Candidates [ Used only for Release and Production Deployment]
www.scmGalaxy.com
![Page 29: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/29.jpg)
Continuous Testing
www.scmGalaxy.com
![Page 30: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/30.jpg)
Continuous Monitoring
www.scmGalaxy.com
![Page 31: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/31.jpg)
Unify…
One Git, One Clearcase, No CVS, NO SVN, NO PVCS)
(I know migration from CVS/Clearcase is challenging but we should start creating buzz in PD for GIT and give them a choice)
5 Solutions 5 CIs Server
(100s of node distributed all around the world)
5 Months == each Phase
One artifactory
www.scmGalaxy.com
![Page 32: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/32.jpg)
We need to have
•Dashboard Solution • Jenkins Dashboard View Plugins• OpenStack Dashboard• Jenkins Dashboard View Plugins• Sonar Dashboard• Configuration Manager 2007 Dashboard
www.scmGalaxy.com
![Page 33: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/33.jpg)
Configuration Management Tools
Puppet
www.scmGalaxy.com
![Page 34: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/34.jpg)
SCM Infrastructure Monitoring
Nagios
www.scmGalaxy.com
![Page 35: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/35.jpg)
Code Search and Visualize changes
FishEye
www.scmGalaxy.com
![Page 36: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/36.jpg)
Code Review Tools
Code Collaborator
Need to Evaluate Crucible as well)
www.scmGalaxy.com
![Page 37: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/37.jpg)
3rd Party Components
• Track via Nexus Community version
www.scmGalaxy.com
![Page 38: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/38.jpg)
We need to have(Future)
•Log Management• Splunk
• Graylog2 + Elasticsearch + MongoDB
• Fluentd + Elasticsearch + Kibana
• Logstash + Elasticsearch + Kibana
• OpenTSDB
www.scmGalaxy.com
![Page 39: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/39.jpg)
We need to have(Future)
• Application Performance Monitoring Tools• New Relic
• AppDynamics
• CopperEgg
• Datadog
• BigPanda
• LogicMonitor
• Stackify
• Site 24 x 7
www.scmGalaxy.com
![Page 40: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/40.jpg)
Some Board Work….Found on Google
www.scmGalaxy.com
![Page 41: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/41.jpg)
www.scmGalaxy.com
![Page 42: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/42.jpg)
www.scmGalaxy.com
![Page 43: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/43.jpg)
www.scmGalaxy.com
![Page 44: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/44.jpg)
www.scmGalaxy.com
![Page 45: Continuous Integration and Delivery by Rajesh Kumar email · Continuous Delivery A logical step forward from continuous integration. If your tests are run constantly, and you trust](https://reader036.vdocuments.us/reader036/viewer/2022070220/6133ec79dfd10f4dd73b6706/html5/thumbnails/45.jpg)
Thanks