Sarah's toolkit for maintenance work on sites running on Pantheon.
Check the code comment at the top of each script for specific usage directions, but most of the bash scripts utilize an environment variable, $SITES
, which is a list of Pantheon site names to run the script on.
export SITES=updog,hotdogcorp
./wp-core-updates
To run these in a container, you can use the Pantheon-Docker-Build-Tools-CI image.
To run these locally, you'll need Terminus, jq, and Shellcheck for testing.
Run ./test.sh
to run Shellcheck over everything in the scripts/bash
directory.