What is CI/CD and a pipeline: meaning, stages and security in the delivery pipeline
A pipeline is the automatic sequence of stages that takes a code change to production, and CI/CD is the practice of integrating, testing and releasing that way. See what the acronym means, the stages, security in the pipeline (SAST, dependencies, secrets) and where AI helps.
Published on November 23, 2026. 9 min read
CI/CD is the practice of integrating, testing and releasing software changes automatically, every time the code changes. The path a change takes from commit to production is called a pipeline: a sequence of steps that runs on its own and only lets the new version move forward when each step passes.
This is a term from the UEEK glossary of technology, AI and security, in the Security area. Here is the short definition, what each letter in the acronym means, the stages of a pipeline, how security fits into it and where AI helps at each step.
What is a pipeline in software development?
A pipeline is the automatic sequence of steps a code change goes through before it reaches users. When someone on the team pushes a change to the repository, the pipeline starts: it builds the system, runs the tests, runs the security checks, deploys to a test environment and, if everything is fine, deploys to production.
The idea is the same as a production line: each station checks one thing, and anything defective stops there, before it reaches the customer.
The word pipeline also shows up in other contexts, such as a sales pipeline (the stages of a deal) and a data pipeline (the path data takes between systems). This term is about the software pipeline.
What does CI/CD mean?
The acronym combines two practices, and the second one has two possible meanings:
- CI, continuous integration: every code change is merged into the main project several times a day and goes through an automatic build and tests. An error shows up minutes after it was written, while it is still easy to fix.
- CD, continuous delivery: the version that passed every stage is ready to go live at any time, and the release to production depends on one click of approval.
- CD, continuous deployment: the version that passed every stage goes to production on its own, with no manual approval.
| Practice | What it automates | Who decides the release |
|---|---|---|
| Continuous integration | Build and tests on every change | There is no release yet |
| Continuous delivery | Everything up to a production-ready version | A person approves |
| Continuous deployment | Everything, including the release | The pipeline itself, under the defined rules |
Most companies start with continuous integration and continuous delivery. Continuous deployment makes sense when the tests and checks are reliable enough to skip a person's approval on every version.
What are the stages of a CI/CD pipeline?
Names vary from company to company, but the order is usually similar.
- Commit and review: The change enters the repository through a pull request and goes through code review.
- Build: The system is built from scratch, with the same library versions every time.
- Automated tests: Unit, integration and flow tests run on their own on every change.
- Security checks: Analysis of the code, dependencies, secrets and container images.
- Staging: The version goes to a test environment, separate from production, to be checked.
- Production: Release with approval or automatic, with a way back if something goes wrong.
- Monitoring: Logs, errors and alerts show how the new version behaves with real users.
Each stage checks one thing. If one fails, the version stops there and the team fixes it before moving on.
1. Commit and code review
The change reaches the repository through a pull request, which another team member reviews before it is merged into the main project. Repository rules prevent anyone from releasing directly, without review.
Where AI helps: doing a first read of the pull request, pointing out confusing sections, common mistakes and untested parts, so the reviewer goes straight to what matters. Approval stays with a person.
2. Build
The pipeline builds the system from scratch in a clean environment, always the same way. This avoids the classic "it works on my machine" and makes sure the released version is exactly the one that was tested.
Where AI helps: when the build breaks, reading the long error log and summarizing the likely cause, which saves time for whoever is investigating.
3. Automated tests
Unit, integration and flow software tests run on every change. A change that breaks something that already worked is stopped before it reaches the user.
Where AI helps: generating test cases from the requirements and the new code, including the error scenarios that tend to be left out. In the GTS project, AI took part in the whole development cycle: it structured requirements with acceptance criteria and test cases, generated code with continuous validation by the team and created unit tests. The requirements stage took up to 80% less time.
4. Security checks
This is where the automatic analysis of the code, third-party libraries, secrets and container images comes in. The next section covers each one, because this is the stage that matters most when the subject is security.
Where AI helps: explaining each finding in plain language, separating false positives from real risk and suggesting the fix, which the team reviews before applying.
5. Staging
The version goes to an environment separate from production, with test data, where the team and the client check that it does what was agreed. Separate environments avoid testing on top of real customers.
Where AI helps: putting together checklists from what changed in the version and generating realistic test data without using customers' personal data.
6. Production
Once everything is approved, the version goes live. A good pipeline releases without taking the system down and has a quick way back to the previous version if something goes wrong.
Where AI helps: writing release notes from the pull requests and checking whether the change touches sensitive areas, such as payments or personal data, so it can ask for an extra approval.
7. Monitoring
After the release, logs, errors and metrics show how the new version behaves. If something gets worse, the team finds out before the customer does.
Where AI helps: reading large volumes of logs, grouping similar errors and highlighting what changed after the last version.
How does security work in the pipeline?
The pipeline is the point every piece of code goes through before going live, so it is the most efficient place to check security. The practice of putting security inside the delivery cycle is called DevSecOps. The most common checks are these:
- Secrets: Passwords, tokens and keys left in the code or in the repository history.
- Dependencies: Third-party libraries with known vulnerabilities (SCA).
- Code: Known flaws in the code written by the team (SAST).
- Infra and containers: Images, permissions and cloud configuration reviewed before deploy.
- Running application: Tests of the running system, from the outside in (DAST).
Each layer answers one question. The first ones tend to find real problems with little effort.
- Secrets: an access key in the Git history is one of the most common leaks. The pipeline blocks the commit before it is released.
- Dependencies (SCA): most of a system is made of third-party libraries. The analysis points out the ones with known flaws and the version that fixes them.
- Code (SAST): looks in the team's code for patterns that open gaps, such as database queries built with text typed by the user.
- Infra and containers: checks images, permissions and cloud settings, so nothing goes live with more access than it needs.
- Running application (DAST): tests the system while it runs, the way an attacker would see it, usually in the staging environment.
Each check needs a clear rule: what blocks the release and what only raises an alert for the team to handle later. Without that rule, either the pipeline blocks everything or the alerts turn into noise and nobody looks at them.
On the Itaú Mulher Empreendedora platform, security was handled in three layers, in the code, the infrastructure and the delivery, with CI/CD including SAST, SCA and DAST analysis and external pentests, to banking-sector standards.
Which tools are used for CI/CD?
The best known ones live next to the code repository, such as GitHub Actions and GitLab CI. Cloud providers also have their own. The choice usually follows wherever the code already is. What weighs most on the result are the stages the pipeline has and the rules the team follows day to day.
In the Wellu case, the corporate platform was born in an AI tool and was moved to its own infrastructure. Part of the work was setting up deploys through GitHub to staging and production, with the application in a container, code review and separate environments.
Does the pipeline solve security on its own?
No. The pipeline reduces what reaches production with flaws, but it does not see what happens afterwards: a hijacked account, a strange login in the middle of the night, an attacked server. That is what monitoring of the running environment is for. UEEK does this with Urutau Sec, UEEK's 24x7 security monitoring, where AI analyzes logs and alerts and separates what needs a person to look at it.
After launch, software support and maintenance keeps the pipeline alive: dependencies up to date, new tests with every fix and the checks adjusted as the system grows.
Where to start if releases are manual today?
In many companies, putting the system live is still a manual process, done by one person who knows the sequence by heart. A lean way out:
- Map how releases happen today: where the code is, who has access, which steps are done by hand.
- Automate the build and the tests that already exist, even if there are only a few.
- Turn on the secrets and dependency checks, which usually find real problems on the first run.
- Separate staging from production and require review before releasing.
- Add the other checks gradually, with a clear rule about what blocks.
In legacy systems, with no tests or documentation, the first step is usually to write tests for the most critical parts before automating releases. Apps built with vibe coding go through the same path when they leave the prototype stage and gain users.
Frequently asked questions
What is a pipeline, in a few words?
It is the automatic sequence of stages a code change goes through before reaching users: build, tests, security checks, test environment and production. If a stage fails, the change stops there.
What is the difference between CI and CD?
CI, continuous integration, merges and tests every code change automatically. CD can mean continuous delivery, when the version is ready and a person approves the release, or continuous deployment, when the release is also automatic.
Are pipeline and DevSecOps the same thing?
No. The pipeline is the automated line that takes code to production. DevSecOps is the practice of putting security across the whole development cycle, and the pipeline is where many of those checks run.
Does a small company need CI/CD?
It needs a version sized for it. A pipeline with a build, basic tests and secrets and dependency checks already prevents a good share of release problems and can be set up quickly.
Can AI approve a release on its own?
AI helps review code, generate tests, explain security findings and read logs. The decision to release, especially for sensitive changes, stays with a person on the team, who is accountable for what goes live.
Does CI/CD replace manual testing?
Not entirely. Automated tests cover what repeats with every version. A person's check is still useful for new flows, screen changes and staging reviews with the client.
How UEEK can help
In the DevSecOps assessment, UEEK reviews the current pipeline, secrets, dependencies, infrastructure and monitoring, and delivers the weak points ranked by real risk. In the DevSecOps implementation, it builds the pipeline from repository to production, with CI/CD and security checks, and prepares the team to run it. With the system live, Urutau Sec watches the operation 24x7. That is 14 years in the market and more than 500 projects delivered for more than 200 clients in 6 countries.
Other terms and guides on systems, AI and security are in the UEEK glossary.
Topics
- CI/CD
- what is a pipeline
- delivery pipeline
- continuous integration
- DevSecOps
- glossary