Secure CI/CD fleet deployment
An end-to-end pipeline that deploys 100+ plugins and 10 themes across 60 sites and 620 subsites, safely and with easy rollback.
- React
- PHP
- Express.js
- Webpack
- CI/CD
- Testing
ClientRedacted
Challenge
A large WordPress fleet needed standardised environments, shared dependencies, and a way to ship proprietary code without ever exposing to the public WordPress plugin and theme directories.
Solution
Designed and built a end-to-end CI/CD pipeline underpined by a robust middleware service that automates deployments and enforces quality control across the entire fleet.
Highlights
Automated testing & tooling
Custom Node.js CLI tooling (Gulp, Webpack) to unify builds, plus an automated pipeline for unit tests (wp-env, Vitest, PHPUnit), and regression snapshots (BackstopJS) to catch UI breaks before deploy.
Centralised dependencies
A distribution system for shared modules, including a central React component library and custom SCSS framework allowing every package to build from a single source of truth.
Secure delivery
A custom Express.js middleware service and companion WordPress plugin, wired into a GitHub App, that delivers themes and plugins without touching the public WordPress directory.
Impact
The new CI/CD pipeline means deployment is simplified for an enterprise WordPress fleet, with version history for easy rollbacks. CI/CD now covers over 100 plugins, 10 themes, 60 sites, 620 subsites.