The Wayback Machine - https://web.archive.org/web/20241127030232/https://www.geeksforgeeks.org/ci-cd-continuous-integration-and-continuous-delivery/
Open In App

CI/CD: Continuous Integration and Continuous Delivery

Last Updated : 21 Jan, 2021
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Developers follow a process/model known as a Software Development Life Cycle (SDLC) for developing Software Projects. A traditional SDLC has various stages of development

  1. Planning –Documenting and determining project structure and schedule.
  2. Analysis –Analyzing project requirements and collecting resources.
  3. Design –Designing software model with architecture and Interface designing. 
  4. Implementation –Developing an actual product by considering design and requirements.
  5. Testing –Testing the built, fixing errors & bugs, and refactoring the code.
  6. Deploying and Maintenance –The software is deployed and monitored for further enhancements.

Traditional Software Development Process

Features –

An overview of a Traditional SDLC shown in the above image works in the following manner.

  • Different Development teams maintain different code repositories.
  • Build and Integration team integrates the code.
  • Integrated code is compiled as a package.
  • A package with instructions is sent to the Operations team.
  • The Operations team pushes the package into a test environment, the package is tested by the Testing team.
  • The Test team informs the Development team about any possible issues else gives a green signal for Production Release.

However, it is not valuable in this fastly adapting world to practice the above process and models like the Waterfall Model wherein we have to wait till the end to receive a functional product, generally delivered at the end of a cycle. 

CI/CD Definition :

That’s where CI/CD comes to the rescue. It is more of a culture and practice than tools, but what is CI/CD? 

“CI/CD stands for Continuous Integration and Continuous Delivery (or Continuous Deployment), it is about how an Integrated code on a shared repository is used to release software to production multiple times a day with the help of automation.”

Continuous Integration : 

Continuous Integration is about how developers integrate code using a shared repository multiple times a day with the help of automation.

Continuous Delivery : 

Continuous Delivery is about automatically releasing software to the test or production environment.

Continuous Integration and Continuous Delivery Process

Features –

The above image shows Continuous Integration and Continuous Delivery process that differ from traditional SDLC due to the following reasons,

  • Developers manage code on a shared repository.
  • After compilation, Automated Unit and UI testing are performed.
  • The Operations Team needs to take care of Automated scripts that further go to the test environment.
  • Testing is performed and after approval, the software is sent to production.

Here Continuous Integration can be referred to as Build Pipeline and Continuous Delivery can be referred to as Release Pipeline.

Continuous Deployment :  

Continuous Deployment is about releasing software to production automatically without human intervention.

Continuous Integration and Continuous Deployment Process

Continuous Deployment is an advancement and it reduces manual work of the Operations and Testing team to deploy the software to production as it is automatically deployed to production after Automated Acceptance Testing.

Features –

CI/CD helps for rapid and reliable software development in the following manner.

  • Automated and quick code integration.
  • Error detection and response are fast due to the short cycle and iterations.
  • Less prone to human errors.
  • Faster than following manual instructions due to automated scripting.
  • Deployment can be done several times a day.

Moreover, CI/CD in DevOps is about unifying process and automation, it helps to act as a bridge between Development and Operations team to make the process more reliable and adaptive.


Previous Article
Next Article

Similar Reads

Difference between Continuous Integration and Continuous Delivery
Introduction :In this, you will see the overview of Continuous Integration and Continuous Delivery. And mainly our focus on the Difference between Continuous Integration and Continuous Delivery. Let's discuss it one by one. Continuous Integration (CI) : CI, as the name suggests, is an approach that happens before one builds as they are testing code
3 min read
Continuous Integration and Continuous Development(CI/CD)
Continuous Integration and Continuous Development(CI/CD) is a new methodology, which is gaining huge space in the software industry and got popularity in less time due to its features. However, there are many companies that already have started the software development process using this methodology and others are on this way. There are many advant
9 min read
Difference between Project Management and Delivery Management
In any organization, two critical roles ensure the smooth operation and successful completion of tasks: project and delivery management. While project management deals with coordinating and scheduling work activities to produce particular results, delivery management guarantees products or services at the right time and in the right quality as requ
6 min read
Disciplined Agile Delivery (DAD) in Software Engineering
Disciplined Agile Delivery (DAD) is an extensive process framework used in software engineering to fulfill its purpose of addressing an organization’s need for a disciplined approach to its agile solution delivery. It expands portfolio solutions like Scrum in combination with Lean, Kanban, or DevOps practices. While DAD aims to cater for the whole
8 min read
Differences between Interface and Integration Testing
Interface Testing: Interface Testing is a type of software testing type that checks the proper communication between two different software systems. Interface is the connection that integrates two components. The interface could be anything like APIs, web services etc. Testing of these connecting interfaces is defined as Interface Testing. An inter
2 min read
Difference between Unit Testing and Integration Testing
Unit Testing: Unit Testing is a type of software testing where individual software components are tested. Unit Testing of the software product is carried out during the development of an application. An individual component may be either an individual function or a procedure. Unit Testing is typically performed by the developer. It is a testing met
2 min read
Difference between System Testing and Integration Testing
Introduction : System testing and integration testing are two critical types of software testing that are used to ensure the quality and reliability of software products. Integration testing is a type of testing that focuses on verifying the interfaces and interactions between software components or modules. It is conducted after unit testing and e
4 min read
Difference between Integration Testing and Sandwich Testing
1. Integration Testing : Integration Testing is the type of software testing where software modules are integrated logically and tested as a group. Integration Testing major focuses on verifying data communication among these modules. It is the collection of the modules of the software, where the relationship and the interfaces between the differen
2 min read
Difference between Top Down and Bottom Up Integration Testing
Prerequisite - Integration Testing 1. Top Down Integration Testing : Top Down Integration testing which is also known as Incremental integration testing. In this Top Down approach the higher level modules are tested first after higher level modules the lower level modules are tested. Then these modules undergo for integration accordingly. Here the
4 min read
Difference between System Integration Testing (SIT) and User Acceptance Testing (UAT)
System Integration Testing (SIT) and User Acceptance Testing (UAT) have different purposes in the software testing process. System Integration Testing (SIT) ensures that different modules or systems work together correctly, focusing on the interactions between them. User Acceptance Testing (UAT) checks if the software meets user needs and business
5 min read
System Integration (Software) Testing (SIT)
System Integration Testing (SIT) is the type of software testing that is carried out to perform the overall testing of a complete system that consists of many integrated components. The system on which SIT is performed may have different hardware parts, different software parts or both hardware and software. SIT is the process of fabricating the co
5 min read
Steps in Top Down Integration Testing
Top-down testing is a type of incremental integration testing approach in which testing is done by integrating or joining two or more modules by moving down from top to bottom through the control flow of the architecture structure. In these, high-level modules are tested first, and then low-level modules are tested. Then, finally, integration is do
3 min read
Steps in Bottom Up Integration Testing
Bottom-up Testing is a type of incremental integration testing approach in which testing is done by integrating or joining two or more modules by moving upward from bottom to top through the control flow of the architecture structure. In these, low-level modules are tested first, and then high-level modules are tested. This type of testing or appro
2 min read
Capability Maturity Model Integration (CMMI)
The Capability Maturity Model Integration (CMMI) is an advanced framework designed to improve and integrate processes across various disciplines such as software engineering, systems engineering, and people management. It builds on the principles of the original CMM, enabling organizations to enhance their processes systematically. CMMI helps organ
5 min read
Integration Testing - Software Engineering
Integration testing is the process of testing the interface between two software units or modules. It focuses on determining the correctness of the interface. The purpose of integration testing is to expose faults in the interaction between integrated units. Once all the modules have been unit-tested, integration testing is performed. Table of Cont
11 min read
Overview of Continuous Deployment
Introduction :Continuous Deployment is a software engineering process in which product performance is transferred using automated submissions. It helps testers to verify that codebase changes are correct and stable or not. The team can achieve continuous deployment by relying on infrastructure using a variety of testing steps. When each integration
4 min read
Continuous Testing in Software Testing
Prerequisite: Software Testing In this article, we will discuss what is continuous testing, how it is performed, why it is performed, and finally the benefits that we get by implementing this testing. So, let's go inside the article to know more about it. Testing in Software DevelopmentSoftware testing is a part of the Software Development Life Cyc
6 min read
Risk Based Testing and Failure Mode and Effects Analysis
Risk is the probability of a negative or undesirable outcome or event. Risk is any problem that might occur that would decrease customer, user, stakeholder perception of quality and/or project success. Types of risks:There are 2 types of risks- Product Risk and Quality Risk. Product risk-When the Primary effect of a potential problem is on product
9 min read
Test Tools and Automation- Strategies , Costs, Risks and Benefits
Test tools can be very useful. Some tools are essential. For example- An incident tracking system. Generally, tools are meant to improve the efficiency and accuracy of testing. Hence, it is very important that we carefully select tools and properly implement them as well. Many times, it has been observed that a good tool also does not get properly
7 min read
Difference between Black Box and White and Grey Box Testing
1. Black Box Testing : Black box testing is a type of software testing in which the functionality of the software is not known. The testing is done without the internal knowledge of the products. It is also called Functional testing. Black-box testing focuses on software’s external attributes and behavior. This type of testing looks at an applicati
4 min read
Difference between Time Tracking and Time and Attendance Software
Time tracking and time and attendance software are tools that help businesses track the time that employees spend on tasks and their attendance records. These tools can help businesses automate their time tracking processes, reduce errors and inaccuracies, and ensure that employees are paid accurately for the time they work. What is Time Tracking S
6 min read
Polling and Streaming - Concept & Scenarios
In systems, clients and servers communicate together in which client requests and server responds back to the respective client with requested data. Now there can be choices on at what frequency do I need to update the data? Well, it all depends on your purpose and your system. Here we are going to discuss two basic concepts Polling and Streaming.
4 min read
Difference between Agile and Kanban
1. Agile : Agile software development is a newer approach of software development. It is based on continuous iterative development approach throughout SDLC (Software Development Life Cycle) so that continuous changes are made according to immediate feedback/requirements and at last it results a good and effective software product which gives more s
3 min read
Difference between End-to-end Testing and Unit Testing
1. End-to-end Testing: End-to-end testing is the type of software testing used to test entire software from starting to the end along with its integration with the external interfaces. The main purpose of end-to-end testing is to identify the system dependencies and to make sure that the data integrity and communication with other systems, interfac
5 min read
Module Coupling and Its Types
Prerequisite - Coupling and Cohesion Coupling simply means to connect two or more things together. It means the pairing of two things. It actually measures the degree of independence between two things and how closely two things are connected or represent the strength of the relationship between them. Module coupling means to couple two to more mod
4 min read
Difference between FPGA and ASIC
Integrated circuits are the combination of microprocessors, diodes, resistors, and transistors and are also known as chips or microchips. Each of the components in the chip has its own specific functions. Both, ASICs and FPGAs are types of integrated circuits. Though, they are similar in their circuit design but differ in lots of ways such as their
3 min read
Difference between Software and Data
1. Software : Software, as name suggest, is simply a type of software systems or application in any program or group of programs that is especially designed for customer or end user and runs on computer system. 2. Data : Data, as name suggests, is simply a representation of facts, concepts, information, or instruction that is processed or stored by
2 min read
Advantages and Disadvantages of Emergency Maintenance (EM)
Emergency, I think all of you are familiar with this word. As name suggests, it is a serious and unexpected situation that is required to be immediately solved. One can say that emergency is a dangerous situation that requires immediate and quick action. Emergencies always occur without any warning. Similarly, in software engineering, there are cer
3 min read
Difference between SFA and CRM
1. Sales-Force Automation (SFA) : Sales-Force Automation technique helps to keep a track of sales person performance, as they plays major role in driving sales and contact information of probable customers and hence affecting revenues of business. This was reason that SFA came into existence for question- how and when customer requirement changes,
2 min read
Advantages and disadvantages of Test Driven Development (TDD)
Test Driven Development(TDD) : Test-Driven Development (TDD) is additionally called test-driven design. TDD may be a method of software development during which ASCII text file is tested over and once again (unit testing). Test-driven development may be a balanced approach for the programming perfectly blended with tightly interwoven three activiti
4 min read
three90RightbarBannerImg