Plugins update with Script

mchandr
Tera Contributor

Is there any way the plugins can be updated using background scripts, other than directly updating from UI or downloading it from store? 

9 REPLIES 9

Jeffrey Barton
Tera Contributor

bump - I have the same problem - I have over 177 to update on 3 environments after Utah.  I can't just sit here for days manually clicking through each one.  Is there any automation or scripts out there anywhere to help with this?

Frank47
Tera Contributor

Same here, I found ways to check whether a plugin is installed and a way to install a new plugin, but not a scripted way to update an existing plugin to a specific (or latest) version. This would be really useful because manually installing 150+ plugins on serveral instances after an upgrade is not my idea of fun 😉

HDLawrence
Tera Contributor

Bump - Anybody find anything about this?

Frank47
Tera Contributor

Yes. We have made a custom app that uses the platform CI/CD API to update all plugins. The idea was picked up by and developed into an app by one of our contractors. Last I heard they are planning to release it as a store app.

We did the Vancouver upgrade with this and although not very fast, it worked great.

 

You can find more info on the API here: CD/CI API if you want to have a go at it yourself.