Vijay
2 min readNov 17, 2019

--

CI/CD Pipeline And DevOps Setup

DevOps is …

Devops is a trending technology which used to connecting the development and infrastructure teams together for the faster deployment.

The keywords which is mostly used in these process are Continuous Development, Continuous Testing, Continuous Integration and Continuous Monitoring. This process is having 4 stages to explains further.

Stages Of DevOps

There are four stages are included in this Dev Ops process.

  1. Version Control:- This is a reference of remote repository to manage the development codes and managing the branches over there.
  2. Continuous Integration:- Once the code is developed, then it will move into the compilation, validation, code review, unit & integration testing takes place in this step.
  3. Continuous Delivery:- The pre-live development code will be pushed to the UAT or Staging servers and then the testing process of the codes will running continously whether it has changes.
  4. Continuous Deployment:- In this stage, the tested code will be deployed to the production servers for release. As a Server Administrator, we can use the docker containers to deploy the website into live to reduce the cost of the resources.

In small and medium organizations, mostly considering the cost of the production servers. So we can use docker technologies for the production websites. We will see about Docker in another page.

LifeCycle Of CI/CD:

For instance, we are going to build a web application in a production servers.We can work the development part and commit our codes to the remote repositories.

LifeCycle Of CI/CD
  1. Version Control:Once we developed the code from the local then we should commit the codes to the version control systems like Git, SVN and etc. This is a first phase of this life cycle.
  2. Build: Once the code moved to the version control, then it will automatically assign to the build phase.
  3. Testing Phase: The testing phase will be start once the build process is successfully done.
  4. Deploy Phase: The code will move into the staging or UAT servers after the testing is finished.
  5. Auto Test: Another sanity test will be run once the deployment is finished on the production servers.
  6. DeployToProduction: The updated code will be moved the production server once the auto-test phase is finished.

We can use the Jenkins, Kubernates , Bamboo and etc to achieve the auto-deployment with the automation.

I will keep you posted with the hand-on in another article.

--

--