9 - CI/CD Flashcards

1
Q

Continuous Integration

A

Practice of
- integrating all code changes into main of a shared repository early and often
- automatically testing each change when you commit or merge them
- and automatically kicking off a build

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Benefit of CI

A

Errors and security issues can be identified and fixed more easily and much earlier in the software dev cycle

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Continuous Delivery

A

Automate infrastructure provisioning and app release
Ensure software can be deployed as packaged with everything it needs at any time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Final stage of a mature CI/CD pipeline

A

Continuous Deployment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Continuous Deployment

A

Automates releasing an app to production
Relies on rigorous testing tools and a mature test culture

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

CI/CD Fundamentals (8 items)

A

Single Source repository
Frequent check-ins to main branch (avoid sub branches, merge frequently)
Automated Builds
Self testing builds
Frequent iterations (commits)
Stable test environments
Max visibility for developers
Predictable deployments anytime

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

GitHub Actions

A

Workflow triggered when event occurs in repo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does CI integrate with version control systems?

A

Automatically triggering builds and tests when changes are made. Changes are then validated early and often

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Benefits of version control

A

Change history
Collaboration
Change rolback

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How can Docker help in CI/CD?

A

Apps and dependencies can be packaged into a container to ensure consistency across environments

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What benefits do cloud platforms bring to CI/CD?

A

Scalability
Isolation
Ability to use managed services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly