CI/CD
Introduction
Section titled “Introduction”CI and CD stand for continuous integration and continuous delivery/continuous deployment. In very simple terms, CI is a modern software development practice in which incremental code changes are made frequently and reliably.
CI/CD allows organizations to ship software quickly and efficiently. CI/CD facilitates an effective process for getting products to market faster than ever before, continuously delivering code into production, and ensuring an ongoing flow of new features and bug fixes via the most efficient delivery method.
Pipelines or Releases
Section titled “Pipelines or Releases”In Azure DevOps, Pipelines are used as a CI to build the code and test it. Furthermore, it checks for vulnerabilities.
On the other hand, Releases Pipelines are used as a CD to deploy the artifacts generated by CI.
For the scheduled dependency-scanning pipelines and guidance on how to interpret the resulting Teams messages, see Dependency Audit Pipelines.
Methodology
Section titled “Methodology”Since microservices are used as architecture for InMa, there is a need to easily build many services and reduce the time updating the pipelines in each service/repository. To accomplish this, the repository ci is used as the main repository that contains the YAML files that are responsible for CI. For example, dotnet9-dev YAML watches for changes for the repositories and branches specified in the file and in case of a change, the CI starts building and checking the code. After a successful building of the code, a release pipeline starts the deployment and updating other services such as APIM (API Management Gateway)
The following image shows the process when code change trigger the CI pipeline:
