官术网_书友最值得收藏!

  • Learning DevOps
  • Mikael Krief
  • 389字
  • 2021-06-24 12:32:01

Continuous deployment

Continuous deployment is an extension of CD, but this time, with a process that automates the entire CI/CD pipeline from the moment the developer commits their code to deployment in production through all of the verification steps.

This practice is rarely implemented in enterprises because it requires a wide coverage of tests (unit, functional, integration, performance, and so on) for the application, and the successful execution of these tests is sufficient to validate the proper functioning of the application with all of these dependencies, but also automated deployment to a production environment without any approval action.

The continuous deployment process must also take into account all of the steps to restore the application in the event of a production problem.

Continuous deployment can be implemented with the use and implementation of feature toggle techniques (or feature flags), which involves encapsulating the application's functionalities in features and activating its features on demand, directly in production, without having to redeploy the code of the application.

Another technique is to use a blue-green production infrastructure, which consists of two production environments, one blue and one green. We first deploy to the blue environment, then to the green; this will ensure that there is no downtime required:

We will look at the feature toggle and blue-green deployment usage in more detail  in Chapter 13 , Reducing Deployment Downtime .

The preceding diagram is almost the same as that of CD, but with the difference that it depicts automated end-to-end deployment.

CI/CD processes are therefore an essential part of DevOps culture, with CI allowing teams to integrate and test the coherence of its code and to obtain quick feedback very regularly. CD automatically deploys on one or more staging environments and hence offers the possibility to test the entire application until it is deployed in production.

Finally, continuous deployment automates the deployment of the application from commit to the production environment.

We will see how to implement all of these  processes in practice with Jenkins, Azure DevOps, and GitLab CI in Chapter 6Continuous Integration and Continuous Delivery.

In this section, we have discussed practices essential to DevOps culture, which are continuous integration, continuous delivery, and continuous deployment.

In the next section, we will go into detail about another DevOps practice, which is IaC.

主站蜘蛛池模板: 泌阳县| 秦安县| 桃源县| 西乌| 云南省| 毕节市| 苍山县| 浠水县| 郁南县| 泰顺县| 广西| 思南县| 桃源县| 全椒县| 南康市| 丹凤县| 虞城县| 曲阳县| 郁南县| 南岸区| 昔阳县| 菏泽市| 同心县| 天台县| 宣汉县| 黔东| 弋阳县| 延边| 兴化市| 泸水县| 绍兴县| 招远市| 麟游县| 彰化市| 四平市| 瑞安市| 弋阳县| 双城市| 乌兰浩特市| 革吉县| 闸北区|