Skip to content

uazgraduatecollege/pantheon-tools

Repository files navigation

Pantheon Tools for QS2 Site Maintenance

About

A few little tools to help simplify site maintainance on pantheon.io

  • terminus-create-site: Quickly spin up a Quickstart 2 site in Pantheon
  • terminus-update-dev: Uses terminus + drush to apply Arizona Quickstart 2 upstream & Config Distro updates
  • terminus-update-test: Uses terminus to pull updates from dev, apply Config Distro updates, and clone database and files from live
  • terminus-update-live: Uses terminus to pull updates from test and apply Config Distro updates

Requirements

  • bash, zsh, or other shell environment
  • A working installation of terminus

Usage

Update a single site

# Update a dev site
$ SITE_NAME=azgrad-mysite terminus-update-dev

# Update a test site
$ SITE_NAME=azgrad-mysite terminus-update-test

# Update a live site
$ SITE_NAME=azgrad-mysite terminus-update-live

Update all sites

Execute any one of these scripts against all sites from the command-line:

# Update all dev sites
$ terminus site:list --field=name | sort | xargs -I % sh -c 'SITE_NAME=% terminus-update-dev'

# Update all test sites
$ terminus site:list --field=name | sort | xargs -I % sh -c 'SITE_NAME=% terminus-update-test'

# Update all live sites
$ terminus site:list --field=name | sort | xargs -I % sh -c 'SITE_NAME=% terminus-update-live'

About

Scripts for managing Pantheon websites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages