Skip to content

Continuous Integration Continuous Deployment For Weatherpedia Microservices.

Vikrant Deshpande edited this page Apr 7, 2022 · 1 revision

CI/CD Pipeline used for Weatherpedia:

We have used Circle CI for all of our microservices.

What is continuous integration?

  • Continuous integration is a practice that encourages developers to integrate their code into a main branch of a shared repository early and often.

  • Instead of building out features in isolation and integrating them at the end of a development cycle, code is integrated with the shared repository by each developer multiple times throughout the day.

  • Continuous integration is a key step to digital transformation.

  • Every developer commits daily to a shared mainline. Every commit triggers automated tests and builds. If these fail, they can be repaired quickly - within minutes.

  • Continuous integration improves team productivity, efficiency, confidence, and happiness. Find problems and solve them quickly. Release higher quality, more stable products.

Working and Implementation:

  • We have configured our microservices to build and create a docker image of that microservices and then push it to docker hub. We are using this image in our docker-compose.yml files to pull these images in our local and start their respective containers to launch our application.

  • For every commit, a build will be triggered in Circle CI which will push the the updated docker image to docker hub.

CICD in action:

CICD in action