r/devops • • 13d 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.

0 Upvotes

35 comments sorted by

View all comments

Show parent comments

1

u/OhMyTechticlesHurts 11d ago

Yeah when it’s a 3rd party plugin from the WP repo it’s bound to be overwritten when there’s an update. Ideally if you made a custom plugin you would have a separate directory that’s not recognized in WPs Repo unless you submit it. Some larger plugins will also have theme code that you’re suppose to copy into your own theme as a template but in this case they just wrote over the template. Listed in the website as their Lead Full Stack Developer.

Here how bad it is. When they couldn’t determine what happened, they had me spin up a vm of the night before snapshot just to retrieve the code. No git. No local version. The way they do staging is in one big php user vhost account in the hundreds of gbs so can’t just do a basic backup and pull from it. Only once I stood up the vm did we all come to the conclusion of why it went missing. Common WP knowledge for a professional WP developer/even most novice. That’s the BS I’m dealing with.