Overview
A regional multi-channel retailer wanted to respond to the market faster than its release process allowed. Promotions, pricing changes and new checkout features were queued behind a monthly release cycle. Working with the retailer’s engineering and operations teams, we rebuilt the delivery platform around containers and automation, so that shipping a change became a routine, low-risk, same-day event.
The client
The client operates an e-commerce website, a mobile app and a set of store and warehouse systems, maintained by several delivery teams and a small operations group. Trading is seasonal, with peaks around holidays and sales events when stability matters most – and when the ability to react quickly matters most too.
The challenge
- Monthly release train. Changes were bundled into one release with a lengthy manual checklist and an evening deployment window.
- Painful rollbacks. When a release failed, restoring the previous version took hours and often required several people.
- Environment drift. Test and production were configured by hand, so problems appeared only after go-live.
- Release freezes. To protect peak trading, engineering froze changes for weeks, delaying campaigns and bug fixes.
- Limited visibility. There was no single view of release health, and issues were often reported by store staff before engineers saw them.
Goals we agreed
- Cut lead time from commit to production from weeks to hours.
- Make deployments safe enough to run during working hours.
- Make rollback fast, automatic and boring.
- Eliminate manual environment configuration.
- Give every team the same tooling so knowledge could be shared.
Our approach
Phase 1 – Assess and baseline (weeks 1–2)
We mapped the delivery flow end to end, measured lead time, deployment frequency and failure rate, and interviewed engineers and store operations staff. This gave us a baseline and a shared understanding of where time was actually lost – mostly in waiting, manual steps and rework after failed releases.
Phase 2 – Platform foundations (weeks 3–6)
- Containerised the main applications and moved them to a managed Kubernetes service.
- Defined all infrastructure as code, so every environment could be created and rebuilt from the repository.
- Set up secrets management, centralised logging and metrics from day one.
Phase 3 – The delivery pipeline (weeks 5–9)
- Built a standard pipeline: build, unit and integration tests, security and dependency scanning, container image signing and deployment.
- Introduced automated end-to-end tests for the most valuable customer journeys: browse, basket, checkout and order tracking.
- Moved to trunk-based development with short-lived branches and mandatory automated checks.
Phase 4 – Safe releases (weeks 8–11)
- Implemented blue/green deployments with automatic health checks and traffic shifting.
- Added automatic rollback when error rate or latency exceeded thresholds after a release.
- Introduced feature flags so risky changes could be deployed switched off and enabled gradually.
Phase 5 – Enablement and hand-over (weeks 10–12)
We paired with each team on their first releases, ran workshops on the new workflow, wrote concise runbooks and left a small internal platform team confident to operate and extend everything.
Solution at a glance
- One paved road. A template pipeline and deployment configuration that new services inherit automatically.
- Immutable artifacts. The same signed image moves from test to production, with configuration injected per environment.
- Progressive delivery. Small percentages of traffic see a new version first, with automated analysis before full roll-out.
- Observability by default. Release dashboards showing deployment events alongside error rates and checkout success.
Challenges along the way
- Legacy components. A few older services were hard to containerise. We wrapped them with a thin adapter and scheduled their replacement separately rather than blocking the programme.
- Test reliability. Early end-to-end tests were flaky. We invested time in stabilising them, because a pipeline that cries wolf is ignored.
- Cultural change. Some teams were nervous about deploying during the day. Showing fast, automatic rollback in a rehearsal built confidence more than any slide deck.
The results
- Release lead time reduced from weeks to hours.
- Deployments moved from one monthly evening event to several per week, during working hours.
- Rollbacks became a routine, minutes-long, largely automatic operation.
- Seasonal campaigns shipped without a release freeze.
- Environments are now reproducible from code, removing “works in test, fails in production” surprises.
- Engineers spend far less time on release coordination and more on customer-facing improvements.
Lessons learned
- Smaller, more frequent releases are both faster and safer than large, infrequent ones.
- Automation earns trust only when it is reliable – invest in test stability early.
- A paved road adopted by every team is worth more than a perfect design adopted by none.
- Rehearse failure. Confidence in rollback is what makes frequent releases possible.
What came next
With the platform in place, the retailer began running experiments on promotions and checkout, and started extending the same pipeline to its store and warehouse systems.
Technology
Kubernetes, Terraform, GitHub Actions, Argo CD, feature flags, Prometheus and Grafana.
Frequent, small releases turned out to be both faster and safer.