part3 CICD Flashcards

1
Q

what is continuous integration ?

A

Continuous Integration (CI) is a practice in software development where developers frequently merge their code changes into a shared repository, like Git, several times a day.

(build your individual answers)

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

what is continuous delivery?

A

It involves using automated tools and techniques to ensure that code changes can be deployed to production quickly and safely, It involves human intervention
(build your individual answers)

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

what is continuous deployment?

A

Continuous deployment is a software development practice where code changes are automatically tested, built, and deployed to production environments frequently and consistently.

(build your individual answers)

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

what is the difference between C Delivery and C Deployment?

A

Continuous Delivery ensures that code is always ready for deployment, and it involves a manual intervention, while Continuous deployment automates the actual deployment to production with no human intervention.

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

what are some practices involved in continuous integration?

A

-Version Control System (VCS): Using tools like Git to manage and track changes in the source code.
- Automated Builds: Automatically compiling and building the code and generating artifacts.
- Automated Testing: Running tests automatically to check the new code for errors, bugs, and performance issues.
- Code Quality Analysis: Integrating tools to analyze the code quality and ensure it meets certain standards.
- Build Servers: Using CI servers like Jenkins, Travis CI, or CircleCI to automate the build and test process.

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

what are some practices involved in CD?

A
  • building docker images for an application
  • deploying the mage in a k8s cluster
  • Implement security best practices
  • Monitoring
  • Rollback and Recovery
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what are plugins in Jenkins?

A

Think of plugins as apps that you can install to make Jenkins do more things and integrate with other tools.

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

what is build periodically in jenkins?

A

Refers to scheduling jobs to run at specified intervals or times without needing manual intervention.

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

what is poll scm?

A

Poll SCM is a feature in Jenkins that allows Jenkins to periodically check the source code management (SCM) system for changes. If changes are detected, Jenkins will trigger a build. This is useful for ensuring that your builds are always up-to-date with the latest changes in the repository.

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

what are parameterized jobs in Jenkins?

A

In Jenkins, parameterized jobs are jobs where you can define parameters that users or scripts can input when triggering a build.

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

what are some common Jenkins parameters?

A

String Parameter: A simple text field where users can input any string value.

Boolean Parameter: A checkbox that can be either checked (true) or unchecked (false).

Choice Parameter: Provides a dropdown list of predefined options. Users select one option from the list.

Password Parameter: Similar to a string parameter but the value entered is masked (hidden with asterisks) in the Jenkins UI. It’s used for sensitive information like passwords or API keys.

File Parameter: Allows users to upload a file that can be used by the job during its execution. This could be configuration files, scripts, or any other file needed for the build.

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

what are the use of variables in Jenkins?

A

They are used to store information that we will use repeatedly.

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