CI/CD: Continuous Integration, Continuous Delivery, and Deployment

CI/CD: Continuous Integration, Continuous Delivery, and Deployment DevOps/DevSecOps is a revolutionary movement. Although today we take it for granted in many aspects (luckily), we must not fail to remember its importance, as it transforms

Source comparison and review notes
  • Automated pair-review warning (AI bilingual content review): Both sources consistently misspell the technical term "Continuous" as "Continous" in the title and multiple section labels.

DevOps/DevSecOps is a revolutionary movement. Although today we take it for granted in many aspects (luckily), we must not fail to remember its importance, as it transforms the organizational structure separates development and operations into silos.

The result of its implementation is a cultural shift where developers and operations professionals work together with shared goals and responsibility, embrace automation, increase the speed from deployment to production in a more flexible, consistent and secure way.

As part of the adoption of DevOps, DevSecOps or SRE, the practice of Continous Integration (CI) / Continous Delivery (CD) is a fundamental point.

What is Continous Integration (CI)?

Continuous integration (CI) is a fundamental practice in DevOps. It makes it easy for developers to continuously integrate code using a version control platform or software. CI enables automated integration of work from multiple developers.

This stage of CI involves consolidating the code into a central repository, running builds to confirm that the code is compiling correctly, and running automated tests to ensure that the code is high-quality and secure.

This practice is essential, especially when combined with version control repositories like Git, it allows teams to collaborate efficiently on the development of different features, modifications, or implementations in a common codebase.

What is Continous Delivery and Continous Deployment?

The main difference between the two is how far they go in DevOps Workflow. Basically, Continous Delivery deploys changes to pre-production, while Continous Deployment automatically extends the deployment of changes to Production.

Continous Delivery

  • It is the part of the CICD process that automatically deploys code changes to the Testing or Staging environments.
  • This stage of the process requires human intervention to deploy from Staging to Production.
  • Changes are not automatically deployed to production.

Continous Deployment

  • It is the part of the CICD process that automatically rolls code changes to production.
  • It does not require human intervention.
  • It integrates testing protocols very deeply into the code.
  • In this type of case, our process must be extremely accurate to ensure that our code is ready before going into production.

Summary of the differences:

Benefits of CICD in our DevOps Workflow

  • Improve collaboration and visibility.
  • Better feedback loops.
  • Reduces the risk of failure.
  • Increases recovery speed
  • Increased Time-to-Market Speed.
  • Improving the quality and reliability of our application.
  • Increase in the number of deployments to production.

These are just a few of the main benefits, but this can vary depending on the organization, needs, and context. Adopting CI/CD is a transformative step for organizations looking to optimize their DevOps workflows. Not only does it improve operational efficiency, but it also significantly improves the quality and reliability of software products, thereby contributing to better business outcomes.

Mateo Di Loreto

Thanks for reading. The learning continues in the next article.