Link Search Menu Expand Document

Continuous Integration & Continuous Deployment (CI/CD)

Simply put, CI/CD is a way of automating integration and deployment of source code changes, run various checks, and eventually deploy a newer version of the software, without requiring human interaction.


Table of contents


Introduction to CI/CD

Continuous integration and continuous delivery are best practices for software development. Continuous integration is the software development practice of merging code changes into the project early and often. Instead of building out features in isolation and then integrating them at the end of a development cycle, code integrates with the shared repository multiple times throughout the day.

Continuous Integration

Continuous Integration grew out of a need to have developers working on features in parallel and on separate branches without fear of conflict. CI pipelines include automatic tools and processes (i.e. unit tests, linting tools) that automatically verify the code changes before merging it into the repository. Developers are less likely to be blocked by another developer’s work. CI results in changes that are easier to test and to revert. New work is introduced quickly in smaller bites. This also creates easier to review pull requests. These practices lead to a reduction in the time it takes to review PRs, find bugs and QA changes, while also maintaining the integrity and stability of the project.

Source

Continuous Deployment

Continuous Deployment is a software release process that uses automated testing to validate if changes to a codebase are correct and stable for immediate autonomous deployment to a production environment. It ensures code changes are tested and ready for production deployment as soon as they are merged into the project. While the code does not have to be deployed to production, it should have been tested on a staging or a production environment. Our CI pipeline also includes automatic tools and processes (i.e. integration tests, end-to-end tests) that automatically test that the code is production-ready before releasing it to the repository.

Source

GitHub Actions vendor

We use GitHub Actions as our CI/CD tools, and all our deployments are automated.