Created
August 9, 2016 21:41
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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