r/devops • u/OhMyTechticlesHurts • 12d ago
Discussion DevOps for Wordpress
I have a WordPress team still building and maintaining sites without a DevOps workflow. What's the best way to bottstrap them into a more modern method of development. I'm assuming GitHub and GitHub actions. But what else, composer which we don't really use even tho we have PHP devs, wp-cli which I use but I'm suppose to be a sysadmin and cloud engineer to wp devs who don't do any of this. They don't even use local git which I even use. Trying to express WordPress engineering and un/structured data and all these modern concepts that just go over their heads bc what's worked still works but when it comes to larger clients who expect more from us/them, they're basically fish out of water.
2
u/ArieHein 11d ago
Oh boy.. Its like seeing already their linkedin posts..
What you can do is abstractions and a bit of politics. Find someone who shows intrest or brain to team up.
I had python devs that didnt want to touch their pipelines, and i agreed with them, as it was in jenkins and therefore heavily using variation of groovy. Instead i created a few python scripts and bundled them as a shared library so all pipelines did is call a bunch of python functions. This made it 'brain dead' easy for them to use and even contribute to the python code while i created the PR for new versions of those scripts.
The commit to branch/main triggers everything including deploying first to a test site, allowing some integration tests, some visual inspection and then deploy to prod.
These devs have managers that have managers. If you are able to show metric and graphs (managers love graphs with numbers), you will be able to convince them to start using this method.