DevOps and CI/CD from the client's side: how code reaches production and why it matters to the business
DevOps is an approach in which development and operations work as a single process: code, servers, releases and product monitoring are organised so that changes ship often, predictably and safely. CI/CD is its technical foundation: every code change is automatically built and checked by tests (CI) and then released to the staging and production environments according to clear rules (CD). For the client this means fewer incidents after updates, fast rollback if something goes wrong, and independence from the one person who “knows how to deploy”. You can check how mature the process is with a few simple questions to the team.
Open the software development page
What DevOps is without jargon
In the past, developers wrote code and “threw it over the wall” to administrators, who deployed it to servers. Errors surfaced at the junction, and updates came rarely and painfully. DevOps removes this wall: one team is responsible for the path of a change from idea to working product and for how it behaves after release.
In practice it is a set of habits and tools: all code and settings are stored in a version control system, builds and checks run automatically, servers are described as code and recreated by instruction, and monitoring reports problems. The fewer manual steps, the fewer errors and the less dependence on a specific person.
For the business this is measured by simple indicators: how often updates ship, how much time passes from a finished task to its appearance for users, what share of releases causes failures and how quickly the service recovers after an incident. It is useful to track these figures to see whether the process is improving.
Git, branches and code review
The foundation of the whole process is Git, a version control system. It keeps the full history of changes: who changed each line, when and why. Work usually happens in separate branches: a developer does a task in their own branch, then opens a merge request (pull request or merge request), where a colleague reviews the code and automation runs the tests. Only after that does the change reach the main branch.
- the change history lets you find exactly which change caused an error;
- code review by a second person catches errors and vulnerabilities before release;
- the main branch is protected from direct changes that bypass review;
- passwords and keys are not stored in the repository — they live in a separate secrets store.
The repository must belong to the client — more on this in the guide who owns the code in custom development.
What CI and CD are
| Stage | What happens | What the client gets |
|---|---|---|
| CI — continuous integration | With every change, the code is automatically built and checked by a linter and tests | Errors are found minutes after a change, not right before a release |
| CD — continuous delivery | A verified build is automatically prepared for release and deployed to staging | Any verified version can be released at any moment |
| CD — continuous deployment | Verified changes go to production by themselves without a manual step | The most frequent and smallest updates; requires a mature test suite |
Most business projects are well served by continuous delivery with manual approval of the production release: everything is automated, but a person makes the “we ship” decision. How complete the automated test suite should be is covered in the guide automated tests: when they pay off.
Environments: development, staging and production
- development environment — developers' computers and their local copies of the system;
- staging environment — a copy of the production system with test data, where a release is checked before deployment and where the client can view changes;
- production environment (prod) — what customers use.
It is important that staging is set up the same way as production: the same software versions, the same settings, a similar amount of data. Otherwise “it worked on staging” will keep happening. Real customer personal data is not copied to staging — it is replaced with anonymised data. Environment settings, service addresses and keys are stored not in code but in environment variables and a secrets store, separate for each environment.
What a safe release looks like
- The change passes code review and automated tests.
- The build is deployed to staging, where key scenarios are checked.
- Before releasing changes that touch data, a fresh backup is made.
- The production release runs by script, not by hand, at an agreed time.
- After the release, the team watches monitoring: errors, speed, business metrics.
- If something goes wrong — rollback to the previous version using a procedure tested in advance.
For large changes, gradual rollout is used: the new version is first opened to some users, or a new feature is hidden behind a flag and switched on separately from the code release. That way a problem shows up on a small share of the audience, not on everyone at once. What to watch after a release is covered in the guide web application monitoring.
Rollback: plan B for every release
Rollback means returning to the previous working version. For code this is usually quick if builds are stored and deployment is automated. Data is harder: if a release changed the database structure, simply reverting the code may not work. That is why database changes are made backward compatible — first add the new, then switch over, and only then remove the old — and there is always a fresh backup.
Good practice is to test rollback and recovery on staging from time to time rather than trusting that they will work when needed.
It helps to accompany each release with a short description: what changed, which tasks were closed, whether there are data changes and how to roll back. Such a release log helps support answer customers and helps the team quickly understand after which update an error appeared.
Infrastructure as code and containers
Servers, databases, networks and settings can be described in files and stored in the same repository as the code. Then the infrastructure is reproducible: a new environment can be brought up from the description, and changes to settings go through the same review as code. Containers package the application together with the required software versions so that it works the same on a developer's computer, on staging and in production.
A small project does not need a complex platform: often a single server, a deployment script and backups are enough. Where to host a product and how to choose a server is covered in the guide cloud server, VPS or your own server.
What to ask the development team
- where the code is stored, who has administrator rights to the repository and whether the main branch is protected;
- which checks run automatically with every change;
- whether there is a staging environment and whether the client can view changes there before release;
- how a release is deployed: by script or by hand, how long it takes and who can do it;
- how to roll back a failed release and when this was last tested;
- where passwords and keys are stored and who has access to them;
- whether another team could release a new version from the documentation, without the author.
If the answer to most questions is “only our developer knows”, the process is worth putting in order before the product starts bringing in the main revenue.
How it works at JEEKSSHIRE 24
We keep the client's code in a repository with history, review changes before release, ship releases by script, maintain backups and failure monitoring, and make changes that delete or rewrite data as a separate step after a fresh backup. Together with the product we hand over a description of how it is built and released, so the project does not depend on one person.
We name the timeline and cost after analysing the task. More on the software support and improvement page; you can discuss a project on the custom software development page.
Frequently asked questions
What is DevOps in plain words?
It is an approach where one team is responsible for development, release and the product's operation after deployment. Manual steps are replaced with automation, so updates ship more often and more safely.
How is CI different from CD?
CI is the automatic build and check of every code change. CD is the automatic preparation and release of a verified version to staging and production. Together they form a pipeline from change to release.
Does a small project need CI/CD?
A basic one, yes: automatic checks on changes and scripted deployment pay off even for a small website. A complex platform with dozens of environments is usually not needed for a small project.
What is a pull request?
It is a request to add changes from a working branch to the main one. In it, colleagues review the code and discuss edits, and automation runs the tests. Only after approval does the change reach the main branch.
Why do you need staging if there are automated tests?
Automated tests check what they were written to check. On staging the release is checked as a whole, in conditions close to real ones, and the client can look at the changes before release.
How quickly can a failed update be rolled back?
If deployment is automated and previous builds are stored, rolling back code takes minutes. It takes longer if the release changed the data structure, which is why such changes are made backward compatible.
What is a feature flag?
It is a switch that turns a feature on or off without a new deployment. It is used to open a new feature to some users or to quickly switch it off if there is a problem.
Can updates be released without taking the website down?
Yes, with the right deployment scheme the new version starts next to the old one, and traffic is switched after a check. Database changes are made in stages and kept backward compatible.