Dev to Production Part -1
Sumit
Posted on April 28, 2019
The other day I was just lying down in my office chair and pretending to be super busy π, I was building a Jenkins release for one of our Spring-Boot application. My colleague was just passing from there and to spend some time I asked him, do you know what I am doing right now? he told you are making a plan to get Iron man to earth.
As you know this is not real. I asked him what will happen after you push your code?. I got to know that he was not aware of the process after pushing the code. I thought why not write a blog and explain to my innocent colleague, friends and the other people who just push the code and waiting to get the ticket for the end game. So folks just take a chair and grab a beer here is the start of the end game.
Soon I will update the source code at GitHub
The whole life cycle of developing something and get a release to a production environment is called CI/CD pipeline that stands for Continuous Integration and Continuous Delivery.
Continuous Integration (CI)
CI is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early.
Continuous Delivery (CD)
CD is the natural extension of Continuous Integration: an approach in which teams ensure that every change to the system is releasable and we can release any version at the push of a button. Continuous Delivery aims to make releases faster and boring, so we can deliver frequently and get fast feedback on what users care about.
A continuous integration and deployment (CI/CD) pipeline is such an important aspect of a software project that it saves a ton of manual, error-prone deployment work. It results in higher quality software for continuous integration, automated tests, and code metrics. Ultimately this facilitates better software that can be released more frequently.
There are a plethora of CI/CD products available out there, such as ones you can use in the cloud via software as a service (SaaS) or self-hosted ones. Some examples of hosted solutions are CodeShip.io and TravisCI, and self-hosted examples are TeamCity,Jenkins and Thoughtworks Go.
To get to know more about this topic you can read this article.
As this article will be huge, I will explain everything here in a series of the blogs where we will be configuring Jenkins in Windows and Ubuntu Operating Systems and create pipelines for Spring Boot and Angular Apps or maybe for React if you guys are interested.
We will discuss the whole process from scratch and discuss each step in detail so you will have a clear picture of the process.
Thatβs all folks!
Thanks to Mohana Krishna for the feedback.
I hope this article helped you with an overview of CI/CD Pipeline.
Stay tuned for the next article.
Posted on April 28, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.