{"componentChunkName":"component---src-templates-blog-post-js","path":"/development/what-are-cicd-and-devops/","webpackCompilationHash":"f92dbf25810602c1889e","result":{"data":{"site":{"siteMetadata":{"title":"Web Devlog","author":"RossenaHuh","siteUrl":"https://github.com/rossenahuh","comment":{"disqusShortName":"RossenaHuh","utterances":"rossenahuh/my-dev-blog.git"},"sponsor":{"buyMeACoffeeId":"rossena"}}},"markdownRemark":{"id":"08975ab5-cb5f-5592-8b23-b07142c2573f","excerpt":"AgileA process that provides customers with some part of the product or servie instead of making them wait until the product is fully featured which have many advantages:Both the company and the customer can get continuous feedbacks along the developing process.Companys can cope…","html":"<h2 id=\"agile\"><a href=\"#agile\" aria-label=\"agile permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Agile</h2>\n<p>A process that provides customers with some part of the product or servie instead of making them wait until the product is fully featured which have many advantages:</p>\n<ul>\n<li>Both the company and the customer can get continuous feedbacks along the developing process.</li>\n<li>Companys can cope with fast changing market.</li>\n</ul>\n<h2 id=\"devops\"><a href=\"#devops\" aria-label=\"devops permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>DevOps</h2>\n<p>Integrates developers and operations teams in order to improve collaboration and productivity by automating infrastructure, automating workflows and continuously measuring application performance.</p>\n<p><strong>Traditional Way</strong>: writing larage chunks of software over many weeks or months of testing.</p>\n<p><strong>DevOps Oriented</strong> : Write software in small chunks that are integrated, tested, monitored and deployed usually in hours.</p>\n<h2 id=\"cicd\"><a href=\"#cicd\" aria-label=\"cicd permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>CICD</h2>\n<p><strong>CI (Continuous Integration)</strong></p>\n<p>All the codes written by different developers have to be integrated somewhere at some point before go into production server. You don’t want to wait until all the codes integrated and go throught unit test at once because this could result in a bunch of bugs at the same time which makes it hard debug. Continuous Integration would help solving the problem.</p>\n<p>The idea of this is to integrate the modules as often as your commits. Let’s say you are doing five to six commits everyday. Every time the codes are working in your unit test, submit them on the central repository. It will receive the changes and will do the automated proccess of building, testing and providing reports for you.</p>\n<p>Commit —> Integration —> Automation Test —> Reports</p>\n<br>\n<p><strong>CD (Continuous Delivery and Continuous Deployment)</strong></p>\n<br>\n<p><strong>Continuous Delivery</strong></p>\n<p>Having the integrated code run on the mock server before it goes into production server to make sure the code is running properly and also you can measure the performance of the system in prior to the deployment.</p>\n<p><strong>Continuous Deployment</strong></p>\n<p>Having the integreated code getting tested and deployed onto production server automatically.</p>\n<h2 id=\"examples-of-cicd\"><a href=\"#examples-of-cicd\" aria-label=\"examples of cicd permalink\" class=\"anchor\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Examples of CICD</h2>\n<p><strong><a href=\"https://circleci.com/gh/facebook/react\">React JS</a></strong></p>\n<ul>\n<li>Has a robust and high visible CICE pipeline.</li>\n<li>The builds and tests run automatically against submitted pull request.</li>\n</ul>\n<br>\n<p><strong>Tools:</strong></p>\n<ul>\n<li>Jenkins</li>\n<li>CircleCI</li>\n<li>TravisCI</li>\n</ul>\n<br>\n<br>\n<p><em>References</em></p>\n<p><a href=\"https://www.synopsys.com/blogs/software-security/agile-cicd-devops-difference/\">https://www.synopsys.com/blogs/software-security/agile-cicd-devops-difference/</a>\n<a href=\"https://medium.com/@nirespire/what-is-cicd-concepts-in-continuous-integration-and-deployment-4fe3f6625007\">https://medium.com/@nirespire/what-is-cicd-concepts-in-continuous-integration-and-deployment-4fe3f6625007</a>\n<a href=\"https://www.youtube.com/watch?v=_I94-tJlovg\">https://www.youtube.com/watch?v=_I94-tJlovg</a></p>\n<br>\n<br>","frontmatter":{"title":"What are Agile, DevOps and CICD","date":"July 18, 2019"}}},"pageContext":{"isCreatedByStatefulCreatePages":false,"slug":"/development/what-are-cicd-and-devops/","previous":{"fields":{"slug":"/development/csr-and-ssr/"},"frontmatter":{"title":"Sever Side Rendering & Client Side Rendering","category":"Development"}},"next":{"fields":{"slug":"/development/sql-vs-nosql--which-one-you-might-want-to-use/"},"frontmatter":{"title":"SQL vs NoSQL- Which one you might want to use","category":"Development"}}}}}