Implementing DevOps best practices
While building a CI/CD pipeline, consider your need to create a project and add team members to it. The project dashboard provides visibility to the code flow through the deployment pipeline, monitors the build, triggers alerts, and tracks application activities. The following diagram illustrates a well-defined DevOps pipeline:
Figure 11.14: CI/CD workflow best practice
Consider the following points while designing the pipeline:
- The number of stages: Stages could be development, integration, system, user acceptance, and production. Some organizations also include dev, alpha, beta, and release stages.
- Types of tests in each stage: Each stage can have multiple types of tests, such as unit tests, integration tests, system tests, UATs, smoke tests, load tests, and A/B tests at the production stage.
- The sequence of a test: Test cases can be run in parallel or need to be in sequence.
- Monitoring and reporting: Monitor...