Skip to content

Instantly share code, notes, and snippets.

@stevector
Created August 9, 2016 21:41
Show Gist options
  • Save stevector/d3cfcd0b8e449aaf93ca2bf7ac2dbf2c to your computer and use it in GitHub Desktop.
Save stevector/d3cfcd0b8e449aaf93ca2bf7ac2dbf2c to your computer and use it in GitHub Desktop.
Repeated installs of Drupal minimum profile to with PHP 5.6 and PHP 7
echo "php_version: 5.6" >> pantheon.yml
git add pantheon.yml
git commit -m 'Setting php 5.6'
git push
sleep 30
for i in $(seq 20); do
echo "Site install $i in PHP 5.6"
terminus drush "si minimal -y"
done
sleep 15
echo "php_version: 7.0" >> pantheon.yml
git add pantheon.yml
git commit -m 'Setting php 7.0'
git push
sleep 60
for i in $(seq 20); do
echo "Site install $i in PHP 7.0"
terminus drush "si minimal -y"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment