About CI/CD
What is you want about CI/CD
- Safe
- Reversible
- Provide no down time
Deployment
- Rolling Deploymen(Phased Deployment)
- Blue-Green Deployment
- Canary Deployment
- A/B Deployment
Six continuous integration practices
High WIP(Work In Progess) leads to problems
Small change makes isolating failure easier
Trunk Diagram
- No long-running branches
- Developers make small changes
- Check them back in to the trunk multiple times a day
Pros
- Use a truck-based approach to keep WIP down
- Ensures code is reviewed and checked frequently
- reduces wasteful, error-prone work to merge branches
Five practices for continuous delivery
Build artifacts only once
Artifacts should be immutable
Deploy to a production-like environment
Stop deploys if a previous step fails
Deploys should be idempotent
Questions
Which task becomes easier when code is maintained in the cloud?
having similar preproduction and production environments
Artifacts should be
_____.built once and deployed as needed
Suppose some of your tests are slow. Which procedures should you select to handle a slow test?
Utilize time-scheduled testing.
Apply monitoring to complete some test objectives.
Employ a non-blocking test.
What is the goal for every phase of the continuous delivery process?
Provide early and rapid feedback
Which of the following explains the concept of blue-green deployment?
There are two identical production environments in which one is live (Blue) and the other is idle (Green).
If you are developing end user test scenarios before writing code, then you are engaged in which type of development?
test-driven development
Continuous delivery has all of these benefits except
_____.increasing fragile artifacts
Which belief has been disproven by organizations that utilize continuous delivery?
A high frequency of change leads to a decrease in quality.